1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * at91-tse850-3.dts - Device Tree file for the Axentia TSE-850 3.0 board
5 * Copyright (C) 2017 Axentia Technologies AB
7 * Author: Peter Rosin <peda@axentia.se>
10 #include <dt-bindings/pwm/pwm.h>
11 #include "at91-linea.dtsi"
14 model = "Axentia TSE-850 3.0";
15 compatible = "axentia,tse850v3", "axentia,linea",
16 "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5";
19 compatible = "fixed-clock";
22 clock-frequency = <16000000>;
23 clock-output-names = "sck";
27 compatible = "regulator-fixed";
29 regulator-name = "3v3-supply";
30 regulator-min-microvolt = <3300000>;
31 regulator-max-microvolt = <3300000>;
35 compatible = "pwm-regulator";
37 regulator-name = "ANA";
39 pwms = <&pwm0 2 1000 PWM_POLARITY_INVERTED>;
40 pwm-dutycycle-unit = <1000>;
41 pwm-dutycycle-range = <100 1000>;
43 regulator-min-microvolt = <2000000>;
44 regulator-max-microvolt = <20000000>;
45 regulator-ramp-delay = <1000>;
49 compatible = "axentia,tse850-pcm5142";
51 axentia,cpu-dai = <&ssc0>;
52 axentia,audio-codec = <&pcm5142>;
54 axentia,add-gpios = <&pioA 8 GPIO_ACTIVE_LOW>;
55 axentia,loop1-gpios = <&pioA 10 GPIO_ACTIVE_LOW>;
56 axentia,loop2-gpios = <&pioA 11 GPIO_ACTIVE_LOW>;
58 axentia,ana-supply = <&ana>;
62 compatible = "dpot-dac";
63 vref-supply = <®_3v3>;
64 io-channels = <&dpot 0>;
65 io-channel-names = "dpot";
66 #io-channel-cells = <1>;
69 env_det: envelope-detector {
70 compatible = "axentia,tse850-envelope-detector";
71 io-channels = <&dac 0>;
72 io-channel-names = "dac";
73 #io-channel-cells = <1>;
75 interrupt-parent = <&pioA>;
76 interrupts = <3 IRQ_TYPE_EDGE_RISING>;
77 interrupt-names = "comp";
81 compatible = "gpio-mux";
82 #mux-control-cells = <0>;
84 mux-gpios = <&pioA 0 GPIO_ACTIVE_HIGH>,
85 <&pioA 1 GPIO_ACTIVE_HIGH>,
86 <&pioA 2 GPIO_ACTIVE_HIGH>;
90 envelope-detector-mux {
91 compatible = "io-channel-mux";
92 io-channels = <&env_det 0>;
93 io-channel-names = "parent";
95 mux-controls = <&mux>;
107 compatible = "gpio-leds";
111 gpios = <&pioA 23 GPIO_ACTIVE_LOW>;
114 label = "ch-1:green";
115 gpios = <&pioA 22 GPIO_ACTIVE_LOW>;
119 gpios = <&pioA 21 GPIO_ACTIVE_LOW>;
122 label = "ch-2:green";
123 gpios = <&pioA 20 GPIO_ACTIVE_LOW>;
127 gpios = <&pioA 19 GPIO_ACTIVE_LOW>;
130 label = "data:green";
131 gpios = <&pioA 18 GPIO_ACTIVE_LOW>;
135 gpios = <&pioA 17 GPIO_ACTIVE_LOW>;
138 label = "alarm:green";
139 gpios = <&pioA 16 GPIO_ACTIVE_LOW>;
146 compatible = "fixed-partitions";
147 #address-cells = <1>;
151 label = "at91bootstrap";
156 label = "bootloader";
157 reg = <0x40000 0x60000>;
161 label = "bareboxenv";
162 reg = <0xc0000 0x40000>;
166 label = "bareboxenv2";
167 reg = <0x100000 0x40000>;
172 reg = <0x180000 0x20000>;
177 reg = <0x200000 0x500000>;
182 reg = <0x800000 0x0f800000>;
187 reg = <0x10000000 0x10000000>;
193 #sound-dai-cells = <0>;
202 compatible = "nxp,se97b", "jedec,jc-42.4-temp";
204 smbus-timeout-disable;
207 dpot: mcp4651-104@28 {
208 compatible = "microchip,mcp4651-104";
210 #io-channel-cells = <1>;
213 pcm5142: pcm5142@4c {
214 compatible = "ti,pcm5142";
217 #sound-dai-cells = <0>;
219 AVDD-supply = <®_3v3>;
220 DVDD-supply = <®_3v3>;
221 CPVDD-supply = <®_3v3>;
230 compatible = "nxp,se97b", "atmel,24c02";
238 pinctrl_usba_vbus: usba-vbus {
239 atmel,pins = <AT91_PIOC 31 AT91_PERIPH_GPIO
240 AT91_PINCTRL_DEGLITCH>;
258 pinctrl-0 = <&pinctrl_pwm0_pwml2_1>;
259 pinctrl-names = "default";
267 #address-cells = <1>;
270 phy0: ethernet-phy@3 {
273 interrupt-parent = <&pioE>;
274 interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
281 pinctrl-names = "default";
282 pinctrl-0 = <&pinctrl_usba_vbus>;
283 atmel,vbus-gpio = <&pioC 31 GPIO_ACTIVE_HIGH>;
290 atmel,vbus-gpio = <&pioD 29 GPIO_ACTIVE_HIGH>;
291 atmel,oc-gpio = <&pioC 15 GPIO_ACTIVE_LOW>;
301 dmas = <0>, <0>; /* Do not use DMA for dbgu */