mtd: nand: omap: Fix comment in platform data using wrong Kconfig symbol
[linux/fpc-iii.git] / arch / arm / boot / dts / pxa300-raumfeld-speaker-one.dts
blob5f9e37585a28c7e4dcd0449d1a9cf601b21ea608
1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
5 #include "pxa300-raumfeld-common.dtsi"
7 / {
8         model = "Raumfeld Speaker One (PXA3xx)";
9         compatible = "raumfeld,raumfeld-speaker-one-pxa303", "marvell,pxa300";
11         wm8782: wm8782 {
12                 compatible = "wm8782";
13                 #sound-dai-cells = <0>;
14                 Vdd-supply = <&reg_3v3>;
15                 Vdda-supply = <&reg_va_5v0>;
16         };
18         xo_11mhz: oscillator-11mhz {
19                 compatible = "fixed-clock";
20                 #clock-cells = <0>;
21                 clock-frequency = <11289600>;
22                 clock-accuracy = <100>;
23         };
25         xo_audio: clock-gate {
26                 compatible = "gpio-gate-clock";
27                 pinctrlnames = "default";
28                 pinctrl-0 = <&xo_audio_pins>;
29                 clocks = <&xo_11mhz>;
30                 #clock-cells = <0>;
31                 enable-gpios = <&gpio 111 GPIO_ACTIVE_HIGH>;
32         };
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>;
39         };
41         sound {
42                 compatible = "simple-audio-card";
43                 simple-audio-card,name = "Raumfeld Speaker";
44                 #address-cells = <1>;
45                 #size-cells = <0>;
47                 simple-audio-card,dai-link@0 {
48                         reg = <0>;
49                         format = "i2s";
50                         bitclock-master = <&dailink_master_analog_out>;
51                         frame-master = <&dailink_master_analog_out>;
52                         mclk-fs = <256>;
54                         dailink_master_analog_out: cpu {
55                                 sound-dai = <&ssp_dai0>;
56                         };
58                         codec {
59                                 sound-dai = <&sta320>;
60                         };
61                 };
63                 simple-audio-card,dai-link@1 {
64                         reg = <1>;
65                         format = "i2s";
66                         bitclock-master = <&dailink_master_analog_in>;
67                         frame-master = <&dailink_master_analog_in>;
68                         mclk-fs = <256>;
70                         dailink_master_analog_in: cpu {
71                                 sound-dai = <&ssp_dai0>;
72                         };
74                         codec {
75                                 sound-dai = <&wm8782>;
76                         };
77                 };
78         };
81 &ssp_dai0 {
82         clocks = <&xo_audio>;
85 &spi {
86         dac@2 {
87                 compatible = "ti,dac7512";
88                 reg = <2>;
89                 spi-max-frequency = <1000000>;
90                 vcc-supply = <&reg_3v3>;
91         };
94 &rotary {
95         status = "okay";
98 &pxai2c1 {
99         sta320: codec@1a {
100                 compatible = "st,sta32x";
101                 reg = <0x1a>;
102                 pinctrl-names = "default";
103                 pinctrl-0 = <&sta320_pins>;
104                 clocks = <&xo_audio>;
105                 clock-names = "xti";
106                 reset-gpios = <&gpio 120 GPIO_ACTIVE_HIGH>;
107                 Vdda-supply = <&reg_3v3>;
108                 Vdd3-supply = <&reg_3v3>;
109                 Vcc-supply = <&reg_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;
120         };
123 &pinctrl {
124         xo_audio_pins: xo-audio-pins {
125                 pinctrl-single,pins = <
126                         MFP_PIN_PXA300(111) MFP_AF0     /* ENABLE */
127                 >;
128                 pinctrl-single,low-power-mode = MFP_LPM(MFP_LPM_PULL_LOW);
129         };
131         sta320_pins: sta320-pins {
132                 pinctrl-single,pins = <
133                         MFP_PIN_PXA300(120) MFP_AF0     /* CODEC_RESET  */
134                 >;
135                 pinctrl-single,low-power-mode = MFP_LPM(MFP_LPM_FLOAT);
136         };