Lines Matching +full:codec +full:- +full:gpio3
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include "rk3229-cpu-opp.dtsi"
8 #include "rk322x-android.dtsi"
9 #include <dt-bindings/input/input.h>
13 compatible = "gpio-keys";
14 #address-cells = <1>;
15 #size-cells = <0>;
18 pinctrl-names = "default";
19 pinctrl-0 = <&pwr_key>;
21 power_key: power-key {
23 gpios = <&gpio3 23 GPIO_ACTIVE_LOW>;
25 debounce-interval = <100>;
26 wakeup-source;
31 compatible = "simple-audio-card";
32 simple-audio-card,format = "i2s";
33 simple-audio-card,mclk-fs = <256>;
34 simple-audio-card,name = "rockchip,rk3229";
35 simple-audio-card,cpu {
36 sound-dai = <&i2s1>;
38 simple-audio-card,codec {
39 sound-dai = <&codec>;
43 hdmi_sound: hdmi-sound {
45 compatible = "simple-audio-card";
46 simple-audio-card,format = "i2s";
47 simple-audio-card,mclk-fs = <128>;
48 simple-audio-card,name = "rockchip,hdmi";
49 simple-audio-card,cpu {
50 sound-dai = <&i2s0>;
52 simple-audio-card,codec {
53 sound-dai = <&hdmi>;
58 compatible = "simple-bus";
59 #address-cells = <1>;
60 #size-cells = <0>;
63 compatible = "regulator-fixed";
64 regulator-name = "vccio_1v8";
65 regulator-min-microvolt = <1800000>;
66 regulator-max-microvolt = <1800000>;
67 regulator-always-on;
71 compatible = "regulator-fixed";
72 regulator-name = "vccio_3v3";
73 regulator-min-microvolt = <3300000>;
74 regulator-max-microvolt = <3300000>;
75 regulator-always-on;
79 sdio_pwrseq: sdio-pwrseq {
80 compatible = "mmc-pwrseq-simple";
82 clock-names = "ext_clock";
83 pinctrl-names = "default";
84 pinctrl-0 = <&wifi_enable_h>;
89 * - SDIO_RESET_L_WL_REG_ON
90 * - PDN (power down when low)
92 reset-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>; /* GPIO2_D2 */
95 spdif_out: spdif-out {
97 compatible = "linux,spdif-dit";
98 #sound-dai-cells = <0>;
101 spdif-sound {
103 compatible = "simple-audio-card";
104 simple-audio-card,name = "ROCKCHIP,SPDIF";
105 simple-audio-card,mclk-fs = <128>;
106 simple-audio-card,cpu {
107 sound-dai = <&spdif>;
109 simple-audio-card,codec {
110 sound-dai = <&spdif_out>;
114 vcc_host: vcc-host-regulator {
115 compatible = "regulator-fixed";
116 enable-active-high;
117 gpio = <&gpio3 20 GPIO_ACTIVE_HIGH>;
118 pinctrl-names = "default";
119 pinctrl-0 = <&host_vbus_drv>;
120 regulator-name = "vcc_host";
121 regulator-always-on;
122 regulator-boot-on;
125 vcc_otg_vbus: otg-vbus-regulator {
126 compatible = "regulator-fixed";
127 gpio = <&gpio3 RK_PC6 GPIO_ACTIVE_HIGH>;
128 pinctrl-names = "default";
129 pinctrl-0 = <&otg_vbus_drv>;
130 regulator-name = "vcc_otg_vbus";
131 regulator-min-microvolt = <5000000>;
132 regulator-max-microvolt = <5000000>;
133 enable-active-high;
136 vcc_phy: vcc-phy-regulator {
137 compatible = "regulator-fixed";
138 enable-active-high;
139 regulator-name = "vcc_phy";
140 regulator-min-microvolt = <1800000>;
141 regulator-max-microvolt = <1800000>;
142 regulator-always-on;
143 regulator-boot-on;
146 vdd_arm: vdd-arm-regulator {
147 compatible = "pwm-regulator";
151 regulator-name = "vdd_arm";
152 regulator-min-microvolt = <950000>;
153 regulator-max-microvolt = <1400000>;
154 regulator-settling-time-up-us = <250>;
155 regulator-always-on;
156 regulator-boot-on;
159 vdd_log: vdd-log-regulator {
160 compatible = "pwm-regulator";
164 regulator-name = "vdd_log";
165 regulator-min-microvolt = <1000000>;
166 regulator-max-microvolt = <1300000>;
167 regulator-settling-time-up-us = <250>;
168 regulator-always-on;
169 regulator-boot-on;
172 wireless-bluetooth {
173 compatible = "bluetooth-platdata";
175 clock-names = "ext_clock";
176 uart_rts_gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
177 pinctrl-names = "default", "rts_gpio";
178 pinctrl-0 = <&uart11_rts>;
179 pinctrl-1 = <&uart11_rts_gpio>;
181 BT,wake_host_irq = <&gpio3 26 GPIO_ACTIVE_HIGH>;
185 wireless-wlan {
186 compatible = "wlan-platdata";
195 &codec {
196 #sound-dai-cells = <0>;
201 cpu-supply = <&vdd_arm>;
205 logo-memory-region = <&drm_logo>;
207 secure-memory-region = <&secure_memory>;
209 route_hdmi: route-hdmi {
218 route_tve: route-tve {
230 center-supply = <&vdd_log>;
235 assigned-clocks = <&cru SCLK_MAC_SRC>;
236 assigned-clock-rates = <50000000>;
238 phy-supply = <&vcc_phy>;
239 phy-mode = "rmii";
240 phy-handle = <&phy>;
244 compatible = "snps,dwmac-mdio";
245 #address-cells = <1>;
246 #size-cells = <0>;
249 compatible = "ethernet-phy-id1234.d400", "ethernet-phy-ieee802.3-c22";
253 phy-is-integrated;
260 mali-supply = <&vdd_log>;
265 #sound-dai-cells = <0>;
266 ddc-i2c-scl-high-time-ns = <9625>;
267 ddc-i2c-scl-low-time-ns = <10000>;
273 vccio1-supply = <&vccio_3v3_reg>;
274 vccio2-supply = <&vccio_1v8_reg>;
275 vccio4-supply = <&vccio_3v3_reg>;
292 #clock-cells = <0>;
293 clock-frequency = <32768>;
294 clock-output-names = "xin32k";
300 rockchip,bclk-fs = <128>;
301 #sound-dai-cells = <0>;
305 #sound-dai-cells = <0>;
327 pwr_key: pwr-key {
333 sdmmc_pwr: sdmmc-pwr {
338 sdio-pwrseq {
339 wifi_enable_h: wifi-enable-h {
345 host_vbus_drv: host-vbus-drv {
349 otg_vbus_drv: otg-vbus-drv {
357 pinctrl-names = "active";
358 pinctrl-0 = <&pwm1_pin_pull_down>;
363 pinctrl-names = "active";
364 pinctrl-0 = <&pwm2_pin_pull_up>;
369 pinctrl-names = "default";
370 pinctrl-0 = <&pwm3_pin>;
371 compatible = "rockchip,remotectl-pwm";
474 rockchip,virtual-poweroff = <1>;
475 rockchip,sleep-mode-config = <
486 mmc-pwrseq = <&sdio_pwrseq>;
491 pinctrl-names = "default";
492 pinctrl-0 = <&sdmmc_pwr &sdmmc_clk &sdmmc_cmd &sdmmc_bus4>;
497 #sound-dai-cells = <0>;
513 rockchip,hw-tshut-temp = <120000>;
522 pinctrl-names = "default";
523 pinctrl-0 = <&uart11_xfer &uart11_cts>;
528 phy-supply = <&vcc_host>;
532 phy-supply = <&vcc_host>;
536 vbus-supply = <&vcc_otg_vbus>;
576 vcodec-supply = <&vdd_log>;