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";
23 pinctrl_usba_vbus: usba-vbus {
27 AT91_PINCTRL_DEGLITCH>;
39 compatible = "fixed-clock";
42 clock-frequency = <16000000>;
43 clock-output-names = "sck";
47 compatible = "regulator-fixed";
49 regulator-name = "3v3-supply";
50 regulator-min-microvolt = <3300000>;
51 regulator-max-microvolt = <3300000>;
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>;
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>;
82 compatible = "dpot-dac";
83 vref-supply = <®_3v3>;
84 io-channels = <&dpot 0>;
85 io-channel-names = "dpot";
86 #io-channel-cells = <1>;
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";
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>;
110 envelope-detector-mux {
111 compatible = "io-channel-mux";
112 io-channels = <&env_det 0>;
113 io-channel-names = "parent";
115 mux-controls = <&mux>;
127 compatible = "gpio-leds";
131 gpios = <&pioA 23 GPIO_ACTIVE_LOW>;
134 label = "ch-1:green";
135 gpios = <&pioA 22 GPIO_ACTIVE_LOW>;
139 gpios = <&pioA 21 GPIO_ACTIVE_LOW>;
142 label = "ch-2:green";
143 gpios = <&pioA 20 GPIO_ACTIVE_LOW>;
147 gpios = <&pioA 19 GPIO_ACTIVE_LOW>;
150 label = "data:green";
151 gpios = <&pioA 18 GPIO_ACTIVE_LOW>;
155 gpios = <&pioA 17 GPIO_ACTIVE_LOW>;
158 label = "alarm:green";
159 gpios = <&pioA 16 GPIO_ACTIVE_LOW>;
166 compatible = "fixed-partitions";
167 #address-cells = <1>;
171 label = "at91bootstrap";
176 label = "bootloader";
177 reg = <0x40000 0x60000>;
181 label = "bareboxenv";
182 reg = <0xc0000 0x40000>;
186 label = "bareboxenv2";
187 reg = <0x100000 0x40000>;
192 reg = <0x180000 0x20000>;
197 reg = <0x200000 0x500000>;
202 reg = <0x800000 0x0f800000>;
207 reg = <0x10000000 0x10000000>;
213 #sound-dai-cells = <0>;
222 compatible = "nxp,se97b", "jedec,jc-42.4-temp";
224 smbus-timeout-disable;
227 dpot: mcp4651-104@28 {
228 compatible = "microchip,mcp4651-104";
230 #io-channel-cells = <1>;
233 pcm5142: pcm5142@4c {
234 compatible = "ti,pcm5142";
237 #sound-dai-cells = <0>;
239 AVDD-supply = <®_3v3>;
240 DVDD-supply = <®_3v3>;
241 CPVDD-supply = <®_3v3>;
250 compatible = "nxp,se97b", "atmel,24c02";
265 pinctrl-0 = <&pinctrl_pwm0_pwml2_1>;
266 pinctrl-names = "default";
274 #address-cells = <1>;
277 phy0: ethernet-phy@3 {
280 interrupt-parent = <&pioE>;
281 interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
288 pinctrl-names = "default";
289 pinctrl-0 = <&pinctrl_usba_vbus>;
290 atmel,vbus-gpio = <&pioC 31 GPIO_ACTIVE_HIGH>;
297 atmel,vbus-gpio = <&pioD 29 GPIO_ACTIVE_HIGH>;
298 atmel,oc-gpio = <&pioC 15 GPIO_ACTIVE_LOW>;
308 dmas = <0>, <0>; /* Do not use DMA for dbgu */