Lines Matching +full:codec +full:- +full:gpio4
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/input/input.h>
12 model = "Rockchip RK3308 Dot Rk816-3 V10 (AArch32)";
13 compatible = "rockchip,rk3308-dot-rk816-v10-aarch32", "rockchip,rk3308";
16 …bootargs = "earlycon=uart8250,mmio32,0xff0c0000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfs…
19 acodec_sound: acodec-sound {
20 compatible = "rockchip,multicodecs-card";
21 rockchip,card-name = "rockchip,rk3308-acodec";
22 rockchip,codec-hp-det;
23 rockchip,mclk-fs = <256>;
25 rockchip,codec = <&acodec>;
29 adc-keys {
30 compatible = "adc-keys";
31 io-channels = <&saradc 1>;
32 io-channel-names = "buttons";
33 poll-interval = <100>;
34 keyup-threshold-microvolt = <1800000>;
36 esc-key {
39 press-threshold-microvolt = <1130000>;
42 menu-key {
45 press-threshold-microvolt = <624000>;
48 vol-down-key {
51 press-threshold-microvolt = <300000>;
54 vol-up-key {
57 press-threshold-microvolt = <18000>;
61 charge-animation {
62 compatible = "rockchip,uboot-charge";
63 rockchip,uboot-charge-on = <1>;
64 rockchip,uboot-low-power-voltage = <3500>;
68 dummy_codec: dummy-codec {
69 compatible = "rockchip,dummy-codec";
70 #sound-dai-cells = <0>;
75 compatible = "gpio-leds";
77 blue-led {
80 default-state = "off";
81 linux,default-trigger = "battery-full";
84 green-led {
87 default-state = "off";
88 linux,default-trigger = "default-off";
91 red-led {
94 default-state = "off";
95 linux,default-trigger = "battery-charging";
99 pcm_codec: pcm-codec {
101 #sound-dai-cells = <0>;
104 sdio_pwrseq: sdio-pwrseq {
105 compatible = "mmc-pwrseq-simple";
106 pinctrl-names = "default";
107 pinctrl-0 = <&wifi_enable_h>;
112 * - SDIO_RESET_L_WL_REG_ON
113 * - PDN (power down when low)
115 reset-gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>;
119 compatible = "simple-audio-card";
120 simple-audio-card,format = "dsp_b";
121 simple-audio-card,name = "rockchip,rk3308-pcm";
122 simple-audio-card,mclk-fs = <256>;
123 simple-audio-card,cpu {
124 sound-dai = <&i2s_2ch_0>;
126 simple-audio-card,codec {
127 sound-dai = <&pcm_codec>;
131 vad-sound {
133 compatible = "rockchip,multicodecs-card";
134 rockchip,card-name = "rockchip,rk3308-vad";
135 rockchip,codec-hp-det;
137 rockchip,codec = <&acodec>, <&vad>;
140 vcc_sys: vcc-sys {
141 compatible = "regulator-fixed";
142 regulator-name = "vcc_sys";
143 regulator-min-microvolt = <4000000>;
144 regulator-max-microvolt = <4000000>;
145 regulator-always-on;
148 wireless-bluetooth {
149 compatible = "bluetooth-platdata";
150 uart_rts_gpios = <&gpio4 RK_PA7 GPIO_ACTIVE_LOW>;
151 pinctrl-names = "default", "rts_gpio";
152 pinctrl-0 = <&uart4_rts>;
153 pinctrl-1 = <&uart4_rts_gpio>;
154 BT,power_gpio = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>;
155 BT,wake_host_irq = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>;
159 wireless-wlan {
160 compatible = "wlan-platdata";
163 clock-names = "clk_wifi";
164 ref-clock-frequency = <24000000>;
165 pinctrl-names = "default";
166 pinctrl-0 = <&wifi_wake_host>, <&rtc_32k>;
175 clock-frequency = <400000>;
181 interrupt-parent = <&gpio0>;
183 pinctrl-names = "default";
184 pinctrl-0 = <&pmic_int_l>;
185 rockchip,system-power-controller;
186 wakeup-source;
187 gpio-controller;
188 #gpio-cells = <2>;
189 #clock-cells = <1>;
190 clock-output-names = "rk816-clkout1", "rk816-clkout2";
193 vcc1-supply = <&vcc_sys>;
194 vcc2-supply = <&vcc_sys>;
195 vcc3-supply = <&vcc_sys>;
196 vcc4-supply = <&vcc_sys>;
197 vcc5-supply = <&vcc_io>;
198 vcc6-supply = <&vcc_sys>;
213 compatible = "rk816-battery";
237 regulator-name = "vdd_core";
238 regulator-min-microvolt = <750000>;
239 regulator-max-microvolt = <1500000>;
240 regulator-ramp-delay = <6001>;
241 regulator-initial-mode = <1>;
242 regulator-always-on;
243 regulator-boot-on;
244 regulator-state-mem {
245 regulator-off-in-suspend;
250 regulator-name = "vdd_logic";
251 regulator-min-microvolt = <750000>;
252 regulator-max-microvolt = <1500000>;
253 regulator-ramp-delay = <6001>;
254 regulator-initial-mode = <1>;
255 regulator-always-on;
256 regulator-boot-on;
257 regulator-state-mem {
258 regulator-on-in-suspend;
259 regulator-suspend-microvolt = <1000000>;
264 regulator-name = "vcc_ddr";
265 regulator-always-on;
266 regulator-boot-on;
270 regulator-name = "vcc_io";
271 regulator-min-microvolt = <3300000>;
272 regulator-max-microvolt = <3300000>;
273 regulator-initial-mode = <1>;
274 regulator-always-on;
275 regulator-boot-on;
276 regulator-state-mem {
277 regulator-on-in-suspend;
278 regulator-suspend-microvolt = <3000000>;
283 regulator-name = "vcc_1v8_codec";
284 regulator-min-microvolt = <1800000>;
285 regulator-max-microvolt = <1800000>;
286 regulator-always-on;
287 regulator-boot-on;
288 regulator-state-mem {
289 regulator-on-in-suspend;
290 regulator-suspend-microvolt = <1800000>;
295 regulator-name = "vcc_1v8";
296 regulator-min-microvolt = <1800000>;
297 regulator-max-microvolt = <1800000>;
298 regulator-always-on;
299 regulator-boot-on;
300 regulator-state-mem {
301 regulator-on-in-suspend;
302 regulator-suspend-microvolt = <1800000>;
307 regulator-name = "vdd_10";
308 regulator-min-microvolt = <1000000>;
309 regulator-max-microvolt = <1800000>;
310 regulator-state-mem {
311 regulator-off-in-suspend;
316 regulator-name = "ldo4";
317 regulator-min-microvolt = <1800000>;
318 regulator-max-microvolt = <3300000>;
319 regulator-state-mem {
320 regulator-off-in-suspend;
325 regulator-name = "vccio_3v3";
326 regulator-min-microvolt = <1800000>;
327 regulator-max-microvolt = <3300000>;
328 regulator-state-mem {
329 regulator-off-in-suspend;
334 regulator-name = "ldo6";
335 regulator-min-microvolt = <1800000>;
336 regulator-max-microvolt = <3300000>;
337 regulator-state-mem {
338 regulator-off-in-suspend;
349 rockchip,no-deep-low-power;
350 rockchip,no-hp-det;
351 rockchip,loopback-grp = <1>;
352 pa-drv-gpios = <&gpio0 RK_PC0 GPIO_ACTIVE_HIGH>;
353 rockchip,delay-pa-drv-ms = <5>;
354 spk-ctl-gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
355 /* ADC5-8 for 4ch capture, loopback to ADC3-4 */
356 rockchip,adc-grps-route = <2 3 1 0>;
360 cpu-supply = <&vdd_core>;
364 opp-1200000000 {
370 center-supply = <&vdd_log>;
380 #sound-dai-cells = <0>;
390 vccio0-supply = <&vcc_io>;
391 vccio1-supply = <&vcc_io>;
392 vccio2-supply = <&vcc_io>;
393 vccio3-supply = <&vcc_io>;
394 vccio4-supply = <&vccio_sdio>;
395 vccio5-supply = <&vcc_io>;
403 sdio-pwrseq {
404 wifi_enable_h: wifi-enable-h {
409 wireless-wlan {
410 wifi_wake_host: wifi-wake-host {
416 pmic_int_l: pmic-int-l {
425 record-size = <0x00000>;
426 console-size = <0x20000>;
430 rockchip,sleep-mode-config = <
442 vref-supply = <&vcc_1v8>;
446 max-frequency = <110000000>;
447 bus-width = <4>;
448 cap-sd-highspeed;
449 no-sd;
450 no-mmc;
451 ignore-pm-notify;
452 keep-power-in-suspend;
453 non-removable;
454 mmc-pwrseq = <&sdio_pwrseq>;
455 sd-uhs-sdr104;
464 rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
465 rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
471 u2phy_otg: otg-port {
477 pinctrl-names = "default";
478 pinctrl-0 = <&uart4_xfer &uart4_cts>;
488 rockchip,audio-src = <&i2s_8ch_2>;
489 rockchip,det-channel = <0>;
491 rockchip,buffer-time-ms = <500>;
492 #sound-dai-cells = <0>;