]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blob - arch/arm/boot/dts/at91-kizbox2.dts
Merge branch 'pcmcia' of git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia
[mirror_ubuntu-eoan-kernel.git] / arch / arm / boot / dts / at91-kizbox2.dts
1 /*
2 * at91-kizbox2.dts - Device Tree file for Overkiz Kizbox 2 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 "sama5d31.dtsi"
10 #include <dt-bindings/pwm/pwm.h>
11
12 / {
13 model = "Overkiz Kizbox 2";
14 compatible = "overkiz,kizbox2", "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5";
15
16 chosen {
17 bootargs = "ubi.mtd=ubi";
18 stdout-path = &dbgu;
19 };
20
21 memory {
22 reg = <0x20000000 0x10000000>;
23 };
24
25 clocks {
26 slow_xtal {
27 clock-frequency = <32768>;
28 };
29
30 main_xtal {
31 clock-frequency = <12000000>;
32 };
33 };
34
35 ahb {
36 apb {
37 i2c1: i2c@f0018000 {
38 status = "okay";
39
40 pmic: act8865@5b {
41 compatible = "active-semi,act8865";
42 reg = <0x5b>;
43 status = "okay";
44
45 regulators {
46 vcc_1v8_reg: DCDC_REG1 {
47 regulator-name = "VCC_1V8";
48 regulator-min-microvolt = <1800000>;
49 regulator-max-microvolt = <1800000>;
50 regulator-always-on;
51 };
52
53 vcc_1v2_reg: DCDC_REG2 {
54 regulator-name = "VCC_1V2";
55 regulator-min-microvolt = <1200000>;
56 regulator-max-microvolt = <1200000>;
57 regulator-always-on;
58 };
59
60 vcc_3v3_reg: DCDC_REG3 {
61 regulator-name = "VCC_3V3";
62 regulator-min-microvolt = <3300000>;
63 regulator-max-microvolt = <3300000>;
64 regulator-always-on;
65 };
66
67 vddfuse_reg: LDO_REG1 {
68 regulator-name = "FUSE_2V5";
69 regulator-min-microvolt = <2500000>;
70 regulator-max-microvolt = <2500000>;
71 };
72
73 vddana_reg: LDO_REG2 {
74 regulator-name = "VDDANA";
75 regulator-min-microvolt = <3300000>;
76 regulator-max-microvolt = <3300000>;
77 regulator-always-on;
78 };
79
80 vled_reg: LDO_REG3 {
81 regulator-name = "VLED";
82 regulator-min-microvolt = <3300000>;
83 regulator-max-microvolt = <3300000>;
84 regulator-always-on;
85 };
86
87 v3v8_rf_reg: LDO_REG4 {
88 regulator-name = "V3V8_RF";
89 regulator-min-microvolt = <3800000>;
90 regulator-max-microvolt = <3800000>;
91 regulator-always-on;
92 };
93 };
94 };
95 };
96
97 tcb0: timer@f0010000 {
98 timer@0 {
99 compatible = "atmel,tcb-timer";
100 reg = <0>;
101 };
102
103 timer@1 {
104 compatible = "atmel,tcb-timer";
105 reg = <1>;
106 };
107 };
108
109 usart0: serial@f001c000 {
110 status = "okay";
111 };
112
113 usart1: serial@f0020000 {
114 status = "okay";
115 };
116
117 pwm0: pwm@f002c000 {
118 pinctrl-names = "default";
119 pinctrl-0 = <&pinctrl_pwm0_pwmh0_1
120 &pinctrl_pwm0_pwmh1_1
121 &pinctrl_pwm0_pwmh2_0>;
122 status = "okay";
123 };
124
125 adc0: adc@f8018000 {
126 atmel,adc-vref = <3333>;
127 status = "okay";
128 };
129
130 usart2: serial@f8020000 {
131 status = "okay";
132 };
133
134 macb1: ethernet@f802c000 {
135 phy-mode = "rmii";
136 status = "okay";
137 };
138
139 dbgu: serial@ffffee00 {
140 status = "okay";
141 };
142
143 watchdog@fffffe40 {
144 status = "okay";
145 };
146 };
147
148 usb1: ohci@600000 {
149 status = "okay";
150 };
151
152 usb2: ehci@700000 {
153 status = "okay";
154 };
155
156 ebi: ebi@10000000 {
157 pinctrl-0 = <&pinctrl_ebi_nand_addr>;
158 pinctrl-names = "default";
159 status = "okay";
160
161 nand_controller: nand-controller {
162 status = "okay";
163
164 nand@3 {
165 reg = <0x3 0x0 0x2>;
166 atmel,rb = <0>;
167 nand-bus-width = <8>;
168 nand-ecc-mode = "hw";
169 nand-ecc-strength = <4>;
170 nand-ecc-step-size = <512>;
171 nand-on-flash-bbt;
172 label = "atmel_nand";
173
174 partitions {
175 compatible = "fixed-partitions";
176 #address-cells = <1>;
177 #size-cells = <1>;
178
179 bootstrap@0 {
180 label = "bootstrap";
181 reg = <0x0 0x20000>;
182 };
183
184 ubi@20000 {
185 label = "ubi";
186 reg = <0x20000 0x7fe0000>;
187 };
188 };
189 };
190 };
191 };
192 };
193
194 gpio_keys {
195 compatible = "gpio-keys";
196 #address-cells = <1>;
197 #size-cells = <0>;
198
199 prog {
200 label = "PB_PROG";
201 gpios = <&pioE 27 GPIO_ACTIVE_LOW>;
202 linux,code = <0x102>;
203 wakeup-source;
204 };
205
206 reset {
207 label = "PB_RST";
208 gpios = <&pioE 29 GPIO_ACTIVE_LOW>;
209 linux,code = <0x100>;
210 wakeup-source;
211 };
212
213 user {
214 label = "PB_USER";
215 gpios = <&pioE 31 GPIO_ACTIVE_HIGH>;
216 linux,code = <0x101>;
217 wakeup-source;
218 };
219 };
220
221 pwm_leds {
222 compatible = "pwm-leds";
223
224 blue {
225 label = "pwm:blue:user";
226 pwms = <&pwm0 2 10000000 0>;
227 max-brightness = <255>;
228 linux,default-trigger = "default-on";
229 };
230
231 green {
232 label = "pwm:green:user";
233 pwms = <&pwm0 1 10000000 0>;
234 max-brightness = <255>;
235 linux,default-trigger = "default-on";
236 };
237
238 red {
239 label = "pwm:red:user";
240 pwms = <&pwm0 0 10000000 0>;
241 max-brightness = <255>;
242 linux,default-trigger = "default-on";
243 };
244 };
245 };