1 // SPDX-License-Identifier: GPL-2.0
5 #include "pxa300-raumfeld-common.dtsi"
8 model = "Raumfeld Speaker One (PXA3xx)";
9 compatible = "raumfeld,raumfeld-speaker-one-pxa303", "marvell,pxa300";
12 compatible = "wm8782";
13 #sound-dai-cells = <0>;
14 Vdd-supply = <®_3v3>;
15 Vdda-supply = <®_va_5v0>;
18 xo_11mhz: oscillator-11mhz {
19 compatible = "fixed-clock";
21 clock-frequency = <11289600>;
22 clock-accuracy = <100>;
25 xo_audio: clock-gate {
26 compatible = "gpio-gate-clock";
27 pinctrlnames = "default";
28 pinctrl-0 = <&xo_audio_pins>;
31 enable-gpios = <&gpio 111 GPIO_ACTIVE_HIGH>;
34 reg_va_30v0: regulator-va-30v0 {
35 compatible = "regulator-fixed";
36 regulator-name = "va-30v0-fixed-supply";
37 regulator-min-microvolt = <30000000>;
38 regulator-max-microvolt = <30000000>;
42 compatible = "simple-audio-card";
43 simple-audio-card,name = "Raumfeld Speaker";
47 simple-audio-card,dai-link@0 {
50 bitclock-master = <&dailink_master_analog_out>;
51 frame-master = <&dailink_master_analog_out>;
54 dailink_master_analog_out: cpu {
55 sound-dai = <&ssp_dai0>;
59 sound-dai = <&sta320>;
63 simple-audio-card,dai-link@1 {
66 bitclock-master = <&dailink_master_analog_in>;
67 frame-master = <&dailink_master_analog_in>;
70 dailink_master_analog_in: cpu {
71 sound-dai = <&ssp_dai0>;
75 sound-dai = <&wm8782>;
87 compatible = "ti,dac7512";
89 spi-max-frequency = <1000000>;
90 vcc-supply = <®_3v3>;
100 compatible = "st,sta32x";
102 pinctrl-names = "default";
103 pinctrl-0 = <&sta320_pins>;
104 clocks = <&xo_audio>;
106 reset-gpios = <&gpio 120 GPIO_ACTIVE_HIGH>;
107 Vdda-supply = <®_3v3>;
108 Vdd3-supply = <®_3v3>;
109 Vcc-supply = <®_va_30v0>;
110 #sound-dai-cells = <0>;
111 st,thermal-warning-adjustment;
112 st,thermal-warning-recovery;
113 st,fault-detect-recovery;
114 st,drop-compensation-ns = <80>;
115 st,max-power-use-mpcc;
116 st,invalid-input-detect-mute;
117 /* 2 (half-bridge) and 1 (full-bridge) on-board power */
118 st,output-conf = /bits/ 8 <0x1>;
119 st,needs_esd_watchdog;
124 xo_audio_pins: xo-audio-pins {
125 pinctrl-single,pins = <
126 MFP_PIN_PXA300(111) MFP_AF0 /* ENABLE */
128 pinctrl-single,low-power-mode = MFP_LPM(MFP_LPM_PULL_LOW);
131 sta320_pins: sta320-pins {
132 pinctrl-single,pins = <
133 MFP_PIN_PXA300(120) MFP_AF0 /* CODEC_RESET */
135 pinctrl-single,low-power-mode = MFP_LPM(MFP_LPM_FLOAT);