]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/at91-tse850-3.dts
scsi: cxgb4i: libcxgbi: in error case RST tcp conn
[karo-tx-linux.git] / arch / arm / boot / dts / at91-tse850-3.dts
1 /*
2  * at91-tse850-3.dts - Device Tree file for the Axentia TSE-850 3.0 board
3  *
4  * Copyright (C) 2017 Axentia Technologies AB
5  *
6  * Author: Peter Rosin <peda@axentia.se>
7  *
8  * Licensed under GPLv2 or later.
9  */
10 /dts-v1/;
11 #include <dt-bindings/pwm/pwm.h>
12 #include "at91-linea.dtsi"
13
14 / {
15         model = "Axentia TSE-850 3.0";
16         compatible = "axentia,tse850v3", "axentia,linea",
17                      "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5";
18
19         ahb {
20                 apb {
21                         pinctrl@fffff200 {
22                                 tse850 {
23                                         pinctrl_usba_vbus: usba-vbus {
24                                                 atmel,pins =
25                                                         <AT91_PIOC 31
26                                                          AT91_PERIPH_GPIO
27                                                          AT91_PINCTRL_DEGLITCH>;
28                                         };
29                                 };
30                         };
31
32                         watchdog@fffffe40 {
33                                 status = "okay";
34                         };
35                 };
36         };
37
38         sck: oscillator {
39                 compatible = "fixed-clock";
40
41                 #clock-cells = <0>;
42                 clock-frequency = <16000000>;
43                 clock-output-names = "sck";
44         };
45
46         reg_3v3: regulator {
47                 compatible = "regulator-fixed";
48
49                 regulator-name = "3v3-supply";
50                 regulator-min-microvolt = <3300000>;
51                 regulator-max-microvolt = <3300000>;
52         };
53
54         ana: reg-ana {
55                 compatible = "pwm-regulator";
56
57                 regulator-name = "ANA";
58
59                 pwms = <&pwm0 2 1000 PWM_POLARITY_INVERTED>;
60                 pwm-dutycycle-unit = <1000>;
61                 pwm-dutycycle-range = <100 1000>;
62
63                 regulator-min-microvolt = <2000000>;
64                 regulator-max-microvolt = <20000000>;
65                 regulator-ramp-delay = <1000>;
66         };
67
68         sound {
69                 compatible = "axentia,tse850-pcm5142";
70
71                 axentia,cpu-dai = <&ssc0>;
72                 axentia,audio-codec = <&pcm5142>;
73
74                 axentia,add-gpios = <&pioA 8 GPIO_ACTIVE_LOW>;
75                 axentia,loop1-gpios = <&pioA 10 GPIO_ACTIVE_LOW>;
76                 axentia,loop2-gpios = <&pioA 11 GPIO_ACTIVE_LOW>;
77
78                 axentia,ana-supply = <&ana>;
79         };
80
81         dac: dpot-dac {
82                 compatible = "dpot-dac";
83                 vref-supply = <&reg_3v3>;
84                 io-channels = <&dpot 0>;
85                 io-channel-names = "dpot";
86                 #io-channel-cells = <1>;
87         };
88
89         envelope-detector {
90                 compatible = "axentia,tse850-envelope-detector";
91                 io-channels = <&dac 0>;
92                 io-channel-names = "dac";
93
94                 interrupt-parent = <&pioA>;
95                 interrupts = <3 IRQ_TYPE_EDGE_RISING>;
96                 interrupt-names = "comp";
97         };
98
99         leds {
100                 compatible = "gpio-leds";
101
102                 ch1-red {
103                         label = "ch-1:red";
104                         gpios = <&pioA 23 GPIO_ACTIVE_LOW>;
105                 };
106                 ch1-green {
107                         label = "ch-1:green";
108                         gpios = <&pioA 22 GPIO_ACTIVE_LOW>;
109                 };
110                 ch2-red {
111                         label = "ch-2:red";
112                         gpios = <&pioA 21 GPIO_ACTIVE_LOW>;
113                 };
114                 ch2-green {
115                         label = "ch-2:green";
116                         gpios = <&pioA 20 GPIO_ACTIVE_LOW>;
117                 };
118                 data-red {
119                         label = "data:red";
120                         gpios = <&pioA 19 GPIO_ACTIVE_LOW>;
121                 };
122                 data-green {
123                         label = "data:green";
124                         gpios = <&pioA 18 GPIO_ACTIVE_LOW>;
125                 };
126                 alarm-red {
127                         label = "alarm:red";
128                         gpios = <&pioA 17 GPIO_ACTIVE_LOW>;
129                 };
130                 alarm-green {
131                         label = "alarm:green";
132                         gpios = <&pioA 16 GPIO_ACTIVE_LOW>;
133                 };
134         };
135 };
136
137 &nand0 {
138         at91bootstrap@0 {
139                 label = "at91bootstrap";
140                 reg = <0x0 0x40000>;
141         };
142
143         barebox@40000 {
144                 label = "bootloader";
145                 reg = <0x40000 0x60000>;
146         };
147
148         bareboxenv@c0000 {
149                 label = "bareboxenv";
150                 reg = <0xc0000 0x40000>;
151         };
152
153         bareboxenv2@100000 {
154                 label = "bareboxenv2";
155                 reg = <0x100000 0x40000>;
156         };
157
158         oftree@180000 {
159                 label = "oftree";
160                 reg = <0x180000 0x20000>;
161         };
162
163         kernel@200000 {
164                 label = "kernel";
165                 reg = <0x200000 0x500000>;
166         };
167
168         rootfs@800000 {
169                 label = "rootfs";
170                 reg = <0x800000 0x0f800000>;
171         };
172
173         ovlfs@10000000 {
174                 label = "ovlfs";
175                 reg = <0x10000000 0x10000000>;
176         };
177 };
178
179 &ssc0 {
180         #sound-dai-cells = <0>;
181
182         status = "okay";
183 };
184
185 &i2c0 {
186         status = "okay";
187
188         jc42@18 {
189                 compatible = "nxp,se97b", "jedec,jc-42.4-temp";
190                 reg = <0x18>;
191         };
192
193         dpot: mcp4651-104@28 {
194                 compatible = "microchip,mcp4651-104";
195                 reg = <0x28>;
196                 #io-channel-cells = <1>;
197         };
198
199         pcm5142: pcm5142@4c {
200                 compatible = "ti,pcm5142";
201
202                 reg = <0x4c>;
203
204                 AVDD-supply = <&reg_3v3>;
205                 DVDD-supply = <&reg_3v3>;
206                 CPVDD-supply = <&reg_3v3>;
207
208                 clocks = <&sck>;
209
210                 pll-in = <3>;
211                 pll-out = <6>;
212         };
213
214         eeprom@50 {
215                 compatible = "nxp,24c02";
216                 reg = <0x50>;
217                 pagesize = <16>;
218         };
219 };
220
221 &usart0 {
222         status = "okay";
223
224         atmel,use-dma-rx;
225 };
226
227 &pwm0 {
228         status = "okay";
229
230         pinctrl-0 = <&pinctrl_pwm0_pwml2_1>;
231         pinctrl-names = "default";
232 };
233
234 &macb1 {
235         status = "okay";
236
237         phy-mode = "rgmii";
238
239         #address-cells = <1>;
240         #size-cells = <0>;
241
242         phy0: ethernet-phy@3 {
243                 reg = <3>;
244
245                 interrupt-parent = <&pioE>;
246                 interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
247         };
248 };
249
250 &usb0 {
251         status = "okay";
252
253         pinctrl-names = "default";
254         pinctrl-0 = <&pinctrl_usba_vbus>;
255         atmel,vbus-gpio = <&pioC 31 GPIO_ACTIVE_HIGH>;
256 };
257
258 &usb1 {
259         status = "okay";
260
261         num-ports = <1>;
262         atmel,vbus-gpio = <&pioD 29 GPIO_ACTIVE_HIGH>;
263         atmel,oc-gpio = <&pioC 15 GPIO_ACTIVE_LOW>;
264 };
265
266 &usb2 {
267         status = "okay";
268 };
269
270 &dbgu {
271         status = "okay";
272
273         dmas = <0>, <0>;        /*  Do not use DMA for dbgu */
274 };