Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[deliverable/linux.git] / arch / arm / boot / dts / kizbox.dts
CommitLineData
df826748
BB
1/*
2 * kizbox.dts - Device Tree file for Overkiz Kizbox board
3 *
4 * Copyright (C) 2012 Boris BREZILLON <linux-arm@overkiz.com>
5 *
6 * Licensed under GPLv2.
7 */
8/dts-v1/;
6db64d29 9#include "at91sam9g20.dtsi"
df826748
BB
10
11/ {
12
13 model = "Overkiz kizbox";
14 compatible = "overkiz,kizbox", "atmel,at91sam9g20", "atmel,at91sam9";
15
16 chosen {
17 bootargs = "panic=5 ubi.mtd=1 rootfstype=ubifs root=ubi0:root";
18 };
19
20 memory {
21 reg = <0x20000000 0x2000000>;
22 };
23
24 clocks {
25 #address-cells = <1>;
26 #size-cells = <1>;
27 ranges;
28
29 main_clock: clock@0 {
30 compatible = "atmel,osc", "fixed-clock";
31 clock-frequency = <18432000>;
32 };
d738989f
AB
33
34 main_xtal {
35 clock-frequency = <18432000>;
36 };
df826748
BB
37 };
38
39 ahb {
40 apb {
41 dbgu: serial@fffff200 {
42 status = "okay";
43 };
44
45 usart0: serial@fffb0000 {
46 status = "okay";
47 };
48
49 usart1: serial@fffb4000 {
50 status = "okay";
51 };
52
53 macb0: ethernet@fffc4000 {
54 phy-mode = "mii";
b45c998e
BB
55 pinctrl-0 = <&pinctrl_macb_rmii
56 &pinctrl_macb_rmii_mii_alt>;
df826748
BB
57 status = "okay";
58 };
59
705b675d
BB
60 watchdog@fffffd40 {
61 timeout-sec = <15>;
62 atmel,max-heartbeat-sec = <16>;
63 atmel,min-heartbeat-sec = <0>;
64 status = "okay";
65 };
df826748
BB
66 };
67
68 nand0: nand@40000000 {
69 nand-bus-width = <8>;
70 nand-ecc-mode = "soft";
71 status = "okay";
72
73 bootloaderkernel@0 {
74 label = "bootloader-kernel";
75 reg = <0x0 0xc0000>;
76 };
77
78 ubi@c0000 {
79 label = "ubi";
80 reg = <0xc0000 0x7f40000>;
81 };
82
83 };
84
85 usb0: ohci@00500000 {
86 num-ports = <1>;
87 status = "okay";
88 };
89 };
90
91 i2c@0 {
92 status = "okay";
93
94 pcf8563@51 {
95 /* nxp pcf8563 rtc */
96 compatible = "nxp,pcf8563";
97 reg = <0x51>;
98 };
99
100 };
101
102 leds {
103 compatible = "gpio-leds";
104
105 led1g {
106 label = "led1:green";
92f8629b 107 gpios = <&pioB 0 GPIO_ACTIVE_LOW>;
df826748
BB
108 linux,default-trigger = "none";
109 };
110
111 led1r {
112 label = "led1:red";
92f8629b 113 gpios = <&pioB 1 GPIO_ACTIVE_LOW>;
df826748
BB
114 linux,default-trigger = "none";
115 };
116
117 led2g {
118 label = "led2:green";
92f8629b 119 gpios = <&pioB 2 GPIO_ACTIVE_LOW>;
df826748
BB
120 linux,default-trigger = "none";
121 default-state = "on";
122 };
123
124 led2r {
125 label = "led2:red";
92f8629b 126 gpios = <&pioB 3 GPIO_ACTIVE_LOW>;
df826748
BB
127 linux,default-trigger = "none";
128 };
129 };
130
131 gpio_keys {
132 compatible = "gpio-keys";
133 #address-cells = <1>;
134 #size-cells = <0>;
135
136 reset {
137 label = "reset";
92f8629b 138 gpios = <&pioB 30 GPIO_ACTIVE_LOW>;
df826748
BB
139 linux,code = <0x100>;
140 gpio-key,wakeup;
141 };
142
143 mode {
144 label = "mode";
92f8629b 145 gpios = <&pioB 31 GPIO_ACTIVE_LOW>;
df826748
BB
146 linux,code = <0x101>;
147 gpio-key,wakeup;
148 };
149 };
6db64d29 150};
This page took 0.162887 seconds and 5 git commands to generate.