Lines Matching +full:codec +full:- +full:gpio3
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/soc/rockchip,vop2.h>
9 #include "rk3588-tiger.dtsi"
12 model = "Theobroma Systems RK3588-Q7 SoM on Haikou devkit";
13 compatible = "tsd,rk3588-tiger-haikou", "tsd,rk3588-tiger", "rockchip,rk3588";
21 stdout-path = "serial2:115200n8";
24 dc_12v: regulator-dc-12v {
25 compatible = "regulator-fixed";
26 regulator-name = "dc_12v";
27 regulator-always-on;
28 regulator-boot-on;
29 regulator-min-microvolt = <12000000>;
30 regulator-max-microvolt = <12000000>;
33 gpio-keys {
34 compatible = "gpio-keys";
35 pinctrl-names = "default";
36 pinctrl-0 = <&haikou_keys_pin>;
38 button-batlow-n {
41 gpios = <&gpio3 RK_PB5 GPIO_ACTIVE_LOW>;
44 button-slp-btn-n {
50 button-wake-n {
53 gpios = <&gpio3 RK_PC6 GPIO_ACTIVE_LOW>;
54 wakeup-source;
57 switch-lid-btn-n {
60 linux,input-type = <EV_SW>;
61 gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_LOW>;
65 hdmi-con {
66 compatible = "hdmi-connector";
71 remote-endpoint = <&hdmi0_out_con>;
76 i2s3-sound {
77 compatible = "simple-audio-card";
78 simple-audio-card,format = "i2s";
79 simple-audio-card,name = "Haikou,I2S-codec";
80 simple-audio-card,mclk-fs = <512>;
81 simple-audio-card,frame-master = <&sgtl5000_codec>;
82 simple-audio-card,bitclock-master = <&sgtl5000_codec>;
84 sgtl5000_codec: simple-audio-card,codec {
85 sound-dai = <&sgtl5000>;
88 simple-audio-card,cpu {
89 sound-dai = <&i2s3_2ch>;
93 sgtl5000_clk: sgtl5000-oscillator {
94 compatible = "fixed-clock";
95 #clock-cells = <0>;
96 clock-frequency = <24576000>;
99 vcc3v3_baseboard: regulator-vcc3v3-baseboard {
100 compatible = "regulator-fixed";
101 regulator-name = "vcc3v3_baseboard";
102 regulator-always-on;
103 regulator-boot-on;
104 regulator-min-microvolt = <3300000>;
105 regulator-max-microvolt = <3300000>;
106 vin-supply = <&dc_12v>;
109 vcc3v3_low_noise: regulator-vcc3v3-low-noise {
110 compatible = "regulator-fixed";
111 regulator-name = "vcc3v3_low_noise";
112 regulator-boot-on;
113 regulator-min-microvolt = <3300000>;
114 regulator-max-microvolt = <3300000>;
115 vin-supply = <&vcc5v0_usb>;
118 vcc5v0_baseboard: regulator-vcc5v0-baseboard {
119 compatible = "regulator-fixed";
120 regulator-name = "vcc5v0_baseboard";
121 regulator-always-on;
122 regulator-boot-on;
123 regulator-min-microvolt = <5000000>;
124 regulator-max-microvolt = <5000000>;
125 vin-supply = <&dc_12v>;
128 vcc5v0_otg: regulator-vcc5v0-otg {
129 compatible = "regulator-fixed";
130 enable-active-high;
132 pinctrl-names = "default";
133 pinctrl-0 = <&otg_vbus_drv>;
134 regulator-name = "vcc5v0_otg";
135 regulator-always-on;
138 vcc5v0_usb: regulator-vcc5v0-usb {
139 compatible = "regulator-fixed";
140 regulator-name = "vcc5v0_usb";
141 regulator-always-on;
142 regulator-boot-on;
143 regulator-min-microvolt = <5000000>;
144 regulator-max-microvolt = <5000000>;
145 vin-supply = <&dc_12v>;
148 vddd_audio_1v6: regulator-vddd-audio-1v6 {
149 compatible = "regulator-fixed";
150 regulator-name = "vddd_audio_1v6";
151 regulator-boot-on;
152 regulator-min-microvolt = <1600000>;
153 regulator-max-microvolt = <1600000>;
154 vin-supply = <&vcc5v0_usb>;
172 * While HDMI-CEC is present on the Q7 connector, it is not
175 pinctrl-names = "default";
176 pinctrl-0 = <&hdmim0_tx0_hpd &hdmim1_tx0_scl &hdmim1_tx0_sda>;
182 remote-endpoint = <&vp0_out_hdmi0>;
188 remote-endpoint = <&hdmi_con_in>;
204 vcc-supply = <&vcc3v3_baseboard>;
209 clock-frequency = <400000>;
212 sgtl5000: codec@a {
216 #sound-dai-cells = <0>;
217 VDDA-supply = <&vcc3v3_low_noise>;
218 VDDIO-supply = <&vcc3v3_baseboard>;
219 VDDD-supply = <&vddd_audio_1v6>;
236 vpcie3v3-supply = <&vcc3v3_baseboard>;
242 haikou_keys_pin: haikou-keys-pin {
256 otg_vbus_drv: otg-vbus-drv {
265 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
266 disable-wp;
267 pinctrl-0 = <&sdmmc_bus4 &sdmmc_cmd &sdmmc_clk>;
268 sd-uhs-sdr12;
269 sd-uhs-sdr25;
270 sd-uhs-sdr50;
271 sd-uhs-sdr104;
272 vmmc-supply = <&vcc3v3_baseboard>;
281 phy-supply = <&vcc5v0_otg>;
314 rts-gpios = <&gpio3 RK_PB3 GPIO_ACTIVE_HIGH>;
335 /* host0_xhci on Q7_USB_P1, usb3-otg port */
374 remote-endpoint = <&hdmi0_in_vp0>;