2 * at91-tse850-3.dts - Device Tree file for the Axentia TSE-850 3.0 board
4 * Copyright (C) 2017 Axentia Technologies AB
6 * Author: Peter Rosin <peda@axentia.se>
8 * Licensed under GPLv2 or later.
11 #include <dt-bindings/pwm/pwm.h>
12 #include "at91-linea.dtsi"
15 model = "Axentia TSE-850 3.0";
16 compatible = "axentia,tse850v3", "axentia,linea",
17 "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5";
20 compatible = "fixed-clock";
23 clock-frequency = <16000000>;
24 clock-output-names = "sck";
28 compatible = "regulator-fixed";
30 regulator-name = "3v3-supply";
31 regulator-min-microvolt = <3300000>;
32 regulator-max-microvolt = <3300000>;
36 compatible = "pwm-regulator";
38 regulator-name = "ANA";
40 pwms = <&pwm0 2 1000 PWM_POLARITY_INVERTED>;
41 pwm-dutycycle-unit = <1000>;
42 pwm-dutycycle-range = <100 1000>;
44 regulator-min-microvolt = <2000000>;
45 regulator-max-microvolt = <20000000>;
46 regulator-ramp-delay = <1000>;
50 compatible = "axentia,tse850-pcm5142";
52 axentia,cpu-dai = <&ssc0>;
53 axentia,audio-codec = <&pcm5142>;
55 axentia,add-gpios = <&pioA 8 GPIO_ACTIVE_LOW>;
56 axentia,loop1-gpios = <&pioA 10 GPIO_ACTIVE_LOW>;
57 axentia,loop2-gpios = <&pioA 11 GPIO_ACTIVE_LOW>;
59 axentia,ana-supply = <&ana>;
63 compatible = "dpot-dac";
64 vref-supply = <®_3v3>;
65 io-channels = <&dpot 0>;
66 io-channel-names = "dpot";
67 #io-channel-cells = <1>;
70 env_det: envelope-detector {
71 compatible = "axentia,tse850-envelope-detector";
72 io-channels = <&dac 0>;
73 io-channel-names = "dac";
74 #io-channel-cells = <1>;
76 interrupt-parent = <&pioA>;
77 interrupts = <3 IRQ_TYPE_EDGE_RISING>;
78 interrupt-names = "comp";
82 compatible = "gpio-mux";
83 #mux-control-cells = <0>;
85 mux-gpios = <&pioA 0 GPIO_ACTIVE_HIGH>,
86 <&pioA 1 GPIO_ACTIVE_HIGH>,
87 <&pioA 2 GPIO_ACTIVE_HIGH>;
91 envelope-detector-mux {
92 compatible = "io-channel-mux";
93 io-channels = <&env_det 0>;
94 io-channel-names = "parent";
96 mux-controls = <&mux>;
108 compatible = "gpio-leds";
112 gpios = <&pioA 23 GPIO_ACTIVE_LOW>;
115 label = "ch-1:green";
116 gpios = <&pioA 22 GPIO_ACTIVE_LOW>;
120 gpios = <&pioA 21 GPIO_ACTIVE_LOW>;
123 label = "ch-2:green";
124 gpios = <&pioA 20 GPIO_ACTIVE_LOW>;
128 gpios = <&pioA 19 GPIO_ACTIVE_LOW>;
131 label = "data:green";
132 gpios = <&pioA 18 GPIO_ACTIVE_LOW>;
136 gpios = <&pioA 17 GPIO_ACTIVE_LOW>;
139 label = "alarm:green";
140 gpios = <&pioA 16 GPIO_ACTIVE_LOW>;
147 compatible = "fixed-partitions";
148 #address-cells = <1>;
152 label = "at91bootstrap";
157 label = "bootloader";
158 reg = <0x40000 0x60000>;
162 label = "bareboxenv";
163 reg = <0xc0000 0x40000>;
167 label = "bareboxenv2";
168 reg = <0x100000 0x40000>;
173 reg = <0x180000 0x20000>;
178 reg = <0x200000 0x500000>;
183 reg = <0x800000 0x0f800000>;
188 reg = <0x10000000 0x10000000>;
194 #sound-dai-cells = <0>;
203 compatible = "nxp,se97b", "jedec,jc-42.4-temp";
205 smbus-timeout-disable;
208 dpot: mcp4651-104@28 {
209 compatible = "microchip,mcp4651-104";
211 #io-channel-cells = <1>;
214 pcm5142: pcm5142@4c {
215 compatible = "ti,pcm5142";
218 #sound-dai-cells = <0>;
220 AVDD-supply = <®_3v3>;
221 DVDD-supply = <®_3v3>;
222 CPVDD-supply = <®_3v3>;
231 compatible = "nxp,se97b", "atmel,24c02";
239 pinctrl_usba_vbus: usba-vbus {
240 atmel,pins = <AT91_PIOC 31 AT91_PERIPH_GPIO
241 AT91_PINCTRL_DEGLITCH>;
259 pinctrl-0 = <&pinctrl_pwm0_pwml2_1>;
260 pinctrl-names = "default";
268 #address-cells = <1>;
271 phy0: ethernet-phy@3 {
274 interrupt-parent = <&pioE>;
275 interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
282 pinctrl-names = "default";
283 pinctrl-0 = <&pinctrl_usba_vbus>;
284 atmel,vbus-gpio = <&pioC 31 GPIO_ACTIVE_HIGH>;
291 atmel,vbus-gpio = <&pioD 29 GPIO_ACTIVE_HIGH>;
292 atmel,oc-gpio = <&pioC 15 GPIO_ACTIVE_LOW>;
302 dmas = <0>, <0>; /* Do not use DMA for dbgu */