rtnetlink: check DO_SETLINK_NOTIFY correctly in do_setlink
[linux/fpc-iii.git] / arch / arm / boot / dts / at91-tse850-3.dts
blob5f29010cdbd8129d57bd2141164f4fdd4e58cc5b
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"
14 / {
15         model = "Axentia TSE-850 3.0";
16         compatible = "axentia,tse850v3", "axentia,linea",
17                      "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5";
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                         };
32                         watchdog@fffffe40 {
33                                 status = "okay";
34                         };
35                 };
36         };
38         sck: oscillator {
39                 compatible = "fixed-clock";
41                 #clock-cells = <0>;
42                 clock-frequency = <16000000>;
43                 clock-output-names = "sck";
44         };
46         reg_3v3: regulator {
47                 compatible = "regulator-fixed";
49                 regulator-name = "3v3-supply";
50                 regulator-min-microvolt = <3300000>;
51                 regulator-max-microvolt = <3300000>;
52         };
54         ana: reg-ana {
55                 compatible = "pwm-regulator";
57                 regulator-name = "ANA";
59                 pwms = <&pwm0 2 1000 PWM_POLARITY_INVERTED>;
60                 pwm-dutycycle-unit = <1000>;
61                 pwm-dutycycle-range = <100 1000>;
63                 regulator-min-microvolt = <2000000>;
64                 regulator-max-microvolt = <20000000>;
65                 regulator-ramp-delay = <1000>;
66         };
68         sound {
69                 compatible = "axentia,tse850-pcm5142";
71                 axentia,cpu-dai = <&ssc0>;
72                 axentia,audio-codec = <&pcm5142>;
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>;
78                 axentia,ana-supply = <&ana>;
79         };
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         };
89         env_det: envelope-detector {
90                 compatible = "axentia,tse850-envelope-detector";
91                 io-channels = <&dac 0>;
92                 io-channel-names = "dac";
93                 #io-channel-cells = <1>;
95                 interrupt-parent = <&pioA>;
96                 interrupts = <3 IRQ_TYPE_EDGE_RISING>;
97                 interrupt-names = "comp";
98         };
100         mux: mux-controller {
101                 compatible = "gpio-mux";
102                 #mux-control-cells = <0>;
104                 mux-gpios = <&pioA 0 GPIO_ACTIVE_HIGH>,
105                             <&pioA 1 GPIO_ACTIVE_HIGH>,
106                             <&pioA 2 GPIO_ACTIVE_HIGH>;
107                 idle-state = <0>;
108         };
110         envelope-detector-mux {
111                 compatible = "io-channel-mux";
112                 io-channels = <&env_det 0>;
113                 io-channel-names = "parent";
115                 mux-controls = <&mux>;
117                 channels = "", "",
118                          "sync-1",
119                          "in",
120                          "out",
121                          "sync-2",
122                          "sys-reg",
123                          "ana-reg";
124         };
126         leds {
127                 compatible = "gpio-leds";
129                 ch1-red {
130                         label = "ch-1:red";
131                         gpios = <&pioA 23 GPIO_ACTIVE_LOW>;
132                 };
133                 ch1-green {
134                         label = "ch-1:green";
135                         gpios = <&pioA 22 GPIO_ACTIVE_LOW>;
136                 };
137                 ch2-red {
138                         label = "ch-2:red";
139                         gpios = <&pioA 21 GPIO_ACTIVE_LOW>;
140                 };
141                 ch2-green {
142                         label = "ch-2:green";
143                         gpios = <&pioA 20 GPIO_ACTIVE_LOW>;
144                 };
145                 data-red {
146                         label = "data:red";
147                         gpios = <&pioA 19 GPIO_ACTIVE_LOW>;
148                 };
149                 data-green {
150                         label = "data:green";
151                         gpios = <&pioA 18 GPIO_ACTIVE_LOW>;
152                 };
153                 alarm-red {
154                         label = "alarm:red";
155                         gpios = <&pioA 17 GPIO_ACTIVE_LOW>;
156                 };
157                 alarm-green {
158                         label = "alarm:green";
159                         gpios = <&pioA 16 GPIO_ACTIVE_LOW>;
160                 };
161         };
164 &nand {
165         partitions {
166                 compatible = "fixed-partitions";
167                 #address-cells = <1>;
168                 #size-cells = <1>;
170                 at91bootstrap@0 {
171                         label = "at91bootstrap";
172                         reg = <0x0 0x40000>;
173                 };
175                 barebox@40000 {
176                         label = "bootloader";
177                         reg = <0x40000 0x60000>;
178                 };
180                 bareboxenv@c0000 {
181                         label = "bareboxenv";
182                         reg = <0xc0000 0x40000>;
183                 };
185                 bareboxenv2@100000 {
186                         label = "bareboxenv2";
187                         reg = <0x100000 0x40000>;
188                 };
190                 oftree@180000 {
191                         label = "oftree";
192                         reg = <0x180000 0x20000>;
193                 };
195                 kernel@200000 {
196                         label = "kernel";
197                         reg = <0x200000 0x500000>;
198                 };
200                 rootfs@800000 {
201                         label = "rootfs";
202                         reg = <0x800000 0x0f800000>;
203                 };
205                 ovlfs@10000000 {
206                         label = "ovlfs";
207                         reg = <0x10000000 0x10000000>;
208                 };
209         };
212 &ssc0 {
213         #sound-dai-cells = <0>;
215         status = "okay";
218 &i2c0 {
219         status = "okay";
221         jc42@18 {
222                 compatible = "nxp,se97b", "jedec,jc-42.4-temp";
223                 reg = <0x18>;
224         };
226         dpot: mcp4651-104@28 {
227                 compatible = "microchip,mcp4651-104";
228                 reg = <0x28>;
229                 #io-channel-cells = <1>;
230         };
232         pcm5142: pcm5142@4c {
233                 compatible = "ti,pcm5142";
235                 reg = <0x4c>;
237                 AVDD-supply = <&reg_3v3>;
238                 DVDD-supply = <&reg_3v3>;
239                 CPVDD-supply = <&reg_3v3>;
241                 clocks = <&sck>;
243                 pll-in = <3>;
244                 pll-out = <6>;
245         };
247         eeprom@50 {
248                 compatible = "nxp,24c02", "atmel,24c02";
249                 reg = <0x50>;
250                 pagesize = <16>;
251         };
254 &usart0 {
255         status = "okay";
257         atmel,use-dma-rx;
260 &pwm0 {
261         status = "okay";
263         pinctrl-0 = <&pinctrl_pwm0_pwml2_1>;
264         pinctrl-names = "default";
267 &macb1 {
268         status = "okay";
270         phy-mode = "rgmii";
272         #address-cells = <1>;
273         #size-cells = <0>;
275         phy0: ethernet-phy@3 {
276                 reg = <3>;
278                 interrupt-parent = <&pioE>;
279                 interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
280         };
283 &usb0 {
284         status = "okay";
286         pinctrl-names = "default";
287         pinctrl-0 = <&pinctrl_usba_vbus>;
288         atmel,vbus-gpio = <&pioC 31 GPIO_ACTIVE_HIGH>;
291 &usb1 {
292         status = "okay";
294         num-ports = <1>;
295         atmel,vbus-gpio = <&pioD 29 GPIO_ACTIVE_HIGH>;
296         atmel,oc-gpio = <&pioC 15 GPIO_ACTIVE_LOW>;
299 &usb2 {
300         status = "okay";
303 &dbgu {
304         status = "okay";
306         dmas = <0>, <0>;        /*  Do not use DMA for dbgu */