~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/intel/pxa/pxa300-raumfeld-speaker-one.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 
  3 /dts-v1/;
  4 
  5 #include "pxa300-raumfeld-common.dtsi"
  6 
  7 / {
  8         model = "Raumfeld Speaker One (PXA3xx)";
  9         compatible = "raumfeld,raumfeld-speaker-one-pxa303", "marvell,pxa300";
 10 
 11         wm8782: wm8782 {
 12                 compatible = "wm8782";
 13                 #sound-dai-cells = <0>;
 14                 Vdd-supply = <&reg_3v3>;
 15                 Vdda-supply = <&reg_va_5v0>;
 16         };
 17 
 18         xo_11mhz: oscillator-11mhz {
 19                 compatible = "fixed-clock";
 20                 #clock-cells = <0>;
 21                 clock-frequency = <11289600>;
 22                 clock-accuracy = <100>;
 23         };
 24 
 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         };
 33 
 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         };
 40 
 41         sound {
 42                 compatible = "simple-audio-card";
 43                 simple-audio-card,name = "Raumfeld Speaker";
 44                 #address-cells = <1>;
 45                 #size-cells = <0>;
 46 
 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>;
 53 
 54                         dailink_master_analog_out: cpu {
 55                                 sound-dai = <&ssp_dai0>;
 56                         };
 57 
 58                         codec {
 59                                 sound-dai = <&sta320>;
 60                         };
 61                 };
 62 
 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>;
 69 
 70                         dailink_master_analog_in: cpu {
 71                                 sound-dai = <&ssp_dai0>;
 72                         };
 73 
 74                         codec {
 75                                 sound-dai = <&wm8782>;
 76                         };
 77                 };
 78         };
 79 };
 80 
 81 &ssp_dai0 {
 82         clocks = <&xo_audio>;
 83 };
 84 
 85 &spi {
 86         dac@2 {
 87                 compatible = "ti,dac7512";
 88                 reg = <2>;
 89                 spi-max-frequency = <1000000>;
 90                 vcc-supply = <&reg_3v3>;
 91         };
 92 };
 93 
 94 &rotary {
 95         status = "okay";
 96 };
 97 
 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,ch1-output-mapping = /bits/ 8 <0>;
120                 st,ch2-output-mapping = /bits/ 8 <1>;
121                 st,ch3-output-mapping = /bits/ 8 <2>;
122                 st,needs_esd_watchdog;
123         };
124 };
125 
126 &pinctrl {
127         xo_audio_pins: xo-audio-pins {
128                 pinctrl-single,pins = <
129                         MFP_PIN_PXA300(111) MFP_AF0     /* ENABLE */
130                 >;
131                 pinctrl-single,low-power-mode = MFP_LPM(MFP_LPM_PULL_LOW);
132         };
133 
134         sta320_pins: sta320-pins {
135                 pinctrl-single,pins = <
136                         MFP_PIN_PXA300(120) MFP_AF0     /* CODEC_RESET  */
137                 >;
138                 pinctrl-single,low-power-mode = MFP_LPM(MFP_LPM_FLOAT);
139         };
140 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php