]> CyberLeo.Net >> Repos - FreeBSD/releng/10.1.git/blob - sys/contrib/dts/arm/kizbox.dts
Copy stable/10@r272459 to releng/10.1 as part of
[FreeBSD/releng/10.1.git] / sys / contrib / dts / arm / kizbox.dts
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"
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                 };
33         };
34
35         ahb {
36                 apb {
37                         dbgu: serial@fffff200 {
38                                 status = "okay";
39                         };
40
41                         usart0: serial@fffb0000 {
42                                 status = "okay";
43                         };
44
45                         usart1: serial@fffb4000 {
46                                 status = "okay";
47                         };
48
49                         macb0: ethernet@fffc4000 {
50                                 phy-mode = "mii";
51                                 pinctrl-0 = <&pinctrl_macb_rmii
52                                              &pinctrl_macb_rmii_mii_alt>;
53                                 status = "okay";
54                         };
55
56                         watchdog@fffffd40 {
57                                 timeout-sec = <15>;
58                                 atmel,max-heartbeat-sec = <16>;
59                                 atmel,min-heartbeat-sec = <0>;
60                                 status = "okay";
61                         };
62                 };
63
64                 nand0: nand@40000000 {
65                         nand-bus-width = <8>;
66                         nand-ecc-mode = "soft";
67                         status = "okay";
68
69                         bootloaderkernel@0 {
70                                 label = "bootloader-kernel";
71                                 reg = <0x0 0xc0000>;
72                         };
73
74                         ubi@c0000 {
75                                 label = "ubi";
76                                 reg = <0xc0000 0x7f40000>;
77                         };
78
79                 };
80
81                 usb0: ohci@00500000 {
82                         num-ports = <1>;
83                         status = "okay";
84                 };
85         };
86
87         i2c@0 {
88                 status = "okay";
89
90                 pcf8563@51 {
91                         /* nxp pcf8563 rtc */
92                         compatible = "nxp,pcf8563";
93                         reg = <0x51>;
94                 };
95
96         };
97
98         leds {
99                 compatible = "gpio-leds";
100
101                 led1g {
102                         label = "led1:green";
103                         gpios = <&pioB 0 GPIO_ACTIVE_LOW>;
104                         linux,default-trigger = "none";
105                 };
106
107                 led1r {
108                         label = "led1:red";
109                         gpios = <&pioB 1 GPIO_ACTIVE_LOW>;
110                         linux,default-trigger = "none";
111                 };
112
113                 led2g {
114                         label = "led2:green";
115                         gpios = <&pioB 2 GPIO_ACTIVE_LOW>;
116                         linux,default-trigger = "none";
117                         default-state = "on";
118                 };
119
120                 led2r {
121                         label = "led2:red";
122                         gpios = <&pioB 3 GPIO_ACTIVE_LOW>;
123                         linux,default-trigger = "none";
124                 };
125         };
126
127         gpio_keys {
128                 compatible = "gpio-keys";
129                 #address-cells = <1>;
130                 #size-cells = <0>;
131
132                 reset {
133                         label = "reset";
134                         gpios = <&pioB 30 GPIO_ACTIVE_LOW>;
135                         linux,code = <0x100>;
136                         gpio-key,wakeup;
137                 };
138
139                 mode {
140                         label = "mode";
141                         gpios = <&pioB 31 GPIO_ACTIVE_LOW>;
142                         linux,code = <0x101>;
143                         gpio-key,wakeup;
144                 };
145         };
146 };