]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/hwspinlock.git/blob - arch/arm/boot/dts/at91-kizboxmini.dts
ARM: dts: am43xx: Add scale data fw to wkup_m3_ipc node
[rpmsg/hwspinlock.git] / arch / arm / boot / dts / at91-kizboxmini.dts
1 /*
2  * at91-kizboxmini.dts - Device Tree file for Overkiz Kizbox mini board
3  *
4  * Copyright (C) 2014 GaĆ«l PORTAY <g.portay@overkiz.com>
5  *
6  * Licensed under GPLv2 or later.
7  */
8 /dts-v1/;
9 #include "at91sam9g25.dtsi"
10 #include <dt-bindings/pwm/pwm.h>
12 / {
13         model = "Overkiz Kizbox mini";
14         compatible = "overkiz,kizboxmini", "atmel,at91sam9g25", "atmel,at91sam9x5", "atmel,at91sam9";
16         chosen {
17                 bootargs = "ubi.mtd=ubi";
18                 stdout-path = &dbgu;
19         };
21         memory {
22                 reg = <0x20000000 0x8000000>;
23         };
25         clocks {
26                 slow_xtal {
27                         clock-frequency = <32768>;
28                 };
30                 main_xtal {
31                         clock-frequency = <12000000>;
32                 };
33         };
35         ahb {
36                 apb {
37                         tcb0: timer@f8008000 {
38                                 timer@0 {
39                                         compatible = "atmel,tcb-timer";
40                                         reg = <0>;
41                                 };
43                                 timer@1 {
44                                         compatible = "atmel,tcb-timer";
45                                         reg = <1>;
46                                 };
47                         };
49                         usart0: serial@f801c000 {
50                                 status = "okay";
51                         };
53                         macb0: ethernet@f802c000 {
54                                 phy-mode = "rmii";
55                                 status = "okay";
56                         };
58                         pwm0: pwm@f8034000 {
59                                 pinctrl-names = "default";
60                                 pinctrl-0 = <&pinctrl_pwm0_pwm0_1
61                                              &pinctrl_pwm0_pwm1_1>;
62                                 status = "okay";
63                         };
65                         dbgu: serial@fffff200 {
66                                 status = "okay";
67                         };
69                         watchdog@fffffe40 {
70                                 status = "okay";
71                         };
72                 };
74                 usb0: ohci@600000 {
75                         num-ports = <1>;
76                         status = "okay";
77                 };
79                 usb1: ehci@700000 {
80                         status = "okay";
81                 };
83                 ebi: ebi@10000000 {
84                         pinctrl-0 = <&pinctrl_ebi_addr_nand
85                                      &pinctrl_ebi_data_0_7>;
86                         pinctrl-names = "default";
87                         status = "okay";
89                         nand_controller: nand-controller {
90                                 status = "okay";
91                                 pinctrl-0 = <&pinctrl_nand_oe_we
92                                              &pinctrl_nand_cs
93                                              &pinctrl_nand_rb>;
94                                 pinctrl-names = "default";
96                                 nand@3 {
97                                         reg = <0x3 0x0 0x800000>;
98                                         rb-gpios = <&pioD 5 GPIO_ACTIVE_HIGH>;
99                                         cs-gpios = <&pioD 4 GPIO_ACTIVE_HIGH>;
100                                         nand-bus-width = <8>;
101                                         nand-ecc-mode = "hw";
102                                         nand-ecc-strength = <4>;
103                                         nand-ecc-step-size = <512>;
104                                         nand-on-flash-bbt;
105                                         label = "atmel_nand";
107                                         partitions {
108                                                 compatible = "fixed-partitions";
109                                                 #address-cells = <1>;
110                                                 #size-cells = <1>;
112                                                 bootstrap@0 {
113                                                         label = "bootstrap";
114                                                         reg = <0x0 0x20000>;
115                                                 };
117                                                 ubi@20000 {
118                                                         label = "ubi";
119                                                         reg = <0x20000 0x7fe0000>;
120                                                 };
121                                         };
122                                 };
123                         };
124                 };
126                 nand0: nand@40000000 {
127                         nand-bus-width = <8>;
128                         nand-ecc-mode = "hw";
129                         atmel,has-pmecc;
130                         atmel,pmecc-cap = <4>;
131                         atmel,pmecc-sector-size = <512>;
132                         nand-on-flash-bbt;
133                         status = "okay";
135                 };
136         };
138         gpio_keys {
139                 compatible = "gpio-keys";
140                 #address-cells = <1>;
141                 #size-cells = <0>;
143                 prog {
144                         label = "PB_PROG";
145                         gpios = <&pioC 17 GPIO_ACTIVE_LOW>;
146                         linux,code = <0x102>;
147                         wakeup-source;
148                 };
150                 reset {
151                         label = "PB_RST";
152                         gpios = <&pioC 16 GPIO_ACTIVE_LOW>;
153                         linux,code = <0x100>;
154                         wakeup-source;
155                 };
156         };
158         pwm_leds {
159                 compatible = "pwm-leds";
161                 green {
162                         label = "pwm:green:user";
163                         pwms = <&pwm0 0 10000000 0>;
164                         max-brightness = <255>;
165                         linux,default-trigger = "default-on";
166                 };
168                 red {
169                         label = "pwm:red:user";
170                         pwms = <&pwm0 1 10000000 0>;
171                         max-brightness = <255>;
172                         linux,default-trigger = "default-on";
173                 };
174         };
175 };