ARM: at91: dt: use #include for all device trees
[linux-2.6.git] / arch / arm / boot / dts / kizbox.dts
blob8328fedcb15525d4d46c2305ef912914fe7e66a1
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/;
9 #include "at91sam9g20.dtsi"
11 / {
13         model = "Overkiz kizbox";
14         compatible = "overkiz,kizbox", "atmel,at91sam9g20", "atmel,at91sam9";
16         chosen {
17                 bootargs = "panic=5 ubi.mtd=1 rootfstype=ubifs root=ubi0:root";
18         };
20         memory {
21                 reg = <0x20000000 0x2000000>;
22         };
24         clocks {
25                 #address-cells = <1>;
26                 #size-cells = <1>;
27                 ranges;
29                 main_clock: clock@0 {
30                         compatible = "atmel,osc", "fixed-clock";
31                         clock-frequency = <18432000>;
32                 };
33         };
35         ahb {
36                 apb {
37                         dbgu: serial@fffff200 {
38                                 status = "okay";
39                         };
41                         usart0: serial@fffb0000 {
42                                 status = "okay";
43                         };
45                         usart1: serial@fffb4000 {
46                                 status = "okay";
47                         };
49                         macb0: ethernet@fffc4000 {
50                                 phy-mode = "mii";
51                                 pinctrl-0 = <&pinctrl_macb_rmii
52                                              &pinctrl_macb_rmii_mii_alt>;
53                                 status = "okay";
54                         };
56                 };
58                 nand0: nand@40000000 {
59                         nand-bus-width = <8>;
60                         nand-ecc-mode = "soft";
61                         status = "okay";
63                         bootloaderkernel@0 {
64                                 label = "bootloader-kernel";
65                                 reg = <0x0 0xc0000>;
66                         };
68                         ubi@c0000 {
69                                 label = "ubi";
70                                 reg = <0xc0000 0x7f40000>;
71                         };
73                 };
75                 usb0: ohci@00500000 {
76                         num-ports = <1>;
77                         status = "okay";
78                 };
79         };
81         i2c@0 {
82                 status = "okay";
84                 pcf8563@51 {
85                         /* nxp pcf8563 rtc */
86                         compatible = "nxp,pcf8563";
87                         reg = <0x51>;
88                 };
90         };
92         leds {
93                 compatible = "gpio-leds";
95                 led1g {
96                         label = "led1:green";
97                         gpios = <&pioB 0 1>;
98                         linux,default-trigger = "none";
99                 };
101                 led1r {
102                         label = "led1:red";
103                         gpios = <&pioB 1 1>;
104                         linux,default-trigger = "none";
105                 };
107                 led2g {
108                         label = "led2:green";
109                         gpios = <&pioB 2 1>;
110                         linux,default-trigger = "none";
111                         default-state = "on";
112                 };
114                 led2r {
115                         label = "led2:red";
116                         gpios = <&pioB 3 1>;
117                         linux,default-trigger = "none";
118                 };
119         };
121         gpio_keys {
122                 compatible = "gpio-keys";
123                 #address-cells = <1>;
124                 #size-cells = <0>;
126                 reset {
127                         label = "reset";
128                         gpios = <&pioB 30 1>;
129                         linux,code = <0x100>;
130                         gpio-key,wakeup;
131                 };
133                 mode {
134                         label = "mode";
135                         gpios = <&pioB 31 1>;
136                         linux,code = <0x101>;
137                         gpio-key,wakeup;
138                 };
139         };