Lines Matching +full:hw +full:- +full:tshut +full:- +full:mode
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/linux-event-codes.h>
7 #include <dt-bindings/leds/common.h>
8 #include <dt-bindings/pinctrl/rockchip.h>
9 #include <dt-bindings/soc/rockchip,vop2.h>
13 chassis-type = "handset";
16 stdout-path = "serial2:1500000n8";
19 adc_keys: adc-keys {
20 compatible = "adc-keys";
21 io-channels = <&saradc 0>;
22 io-channel-names = "buttons";
23 keyup-threshold-microvolt = <1800000>;
24 poll-interval = <60>;
28 * according to input guidelines it should be mode.
30 button-mode {
31 label = "MODE";
33 press-threshold-microvolt = <1750>;
37 gpio_keys_control: gpio-keys-control {
38 compatible = "gpio-keys";
39 pinctrl-0 = <&btn_pins_ctrl>;
40 pinctrl-names = "default";
42 button-b {
48 button-down {
50 label = "DPAD-DOWN";
54 button-l1 {
60 button-l2 {
66 button-select {
72 button-start {
78 button-up {
80 label = "DPAD-UP";
84 button-x {
91 gpio_keys_vol: gpio-keys-vol {
92 compatible = "gpio-keys";
94 pinctrl-0 = <&btn_pins_vol>;
95 pinctrl-names = "default";
97 button-vol-down {
103 button-vol-up {
110 hdmi-con {
111 compatible = "hdmi-connector";
112 ddc-i2c-bus = <&i2c5>;
117 remote-endpoint = <&hdmi_out_con>;
122 leds: pwm-leds {
123 compatible = "pwm-leds";
125 green_led: led-0 {
127 default-state = "on";
129 max-brightness = <255>;
133 amber_led: led-1 {
136 max-brightness = <255>;
140 red_led: led-2 {
142 default-state = "off";
144 max-brightness = <255>;
149 sdio_pwrseq: sdio-pwrseq {
150 compatible = "mmc-pwrseq-simple";
152 clock-names = "ext_clock";
153 pinctrl-0 = <&wifi_enable_h>;
154 pinctrl-names = "default";
155 post-power-on-delay-ms = <200>;
156 reset-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_LOW>;
159 vcc3v3_lcd0_n: regulator-vcc3v3-lcd0 {
160 compatible = "regulator-fixed";
162 enable-active-high;
163 pinctrl-0 = <&vcc_lcd_h>;
164 pinctrl-names = "default";
165 regulator-boot-on;
166 regulator-min-microvolt = <3300000>;
167 regulator-max-microvolt = <3300000>;
168 regulator-name = "vcc3v3_lcd0_n";
169 vin-supply = <&vcc_3v3>;
170 regulator-state-mem {
171 regulator-off-in-suspend;
175 vcc_sys: regulator-vcc-sys {
176 compatible = "regulator-fixed";
177 regulator-always-on;
178 regulator-boot-on;
179 regulator-min-microvolt = <3800000>;
180 regulator-max-microvolt = <3800000>;
181 regulator-name = "vcc_sys";
184 vcc_wifi: regulator-vcc-wifi {
185 compatible = "regulator-fixed";
186 enable-active-high;
188 pinctrl-0 = <&vcc_wifi_h>;
189 pinctrl-names = "default";
190 regulator-always-on;
191 regulator-boot-on;
192 regulator-min-microvolt = <3300000>;
193 regulator-max-microvolt = <3300000>;
194 regulator-name = "vcc_wifi";
197 vibrator: pwm-vibrator {
198 compatible = "pwm-vibrator";
199 pwm-names = "enable";
209 cpu-supply = <&vdd_cpu>;
213 cpu-supply = <&vdd_cpu>;
217 cpu-supply = <&vdd_cpu>;
221 cpu-supply = <&vdd_cpu>;
225 mali-supply = <&vdd_gpu>;
230 ddc-i2c-bus = <&i2c5>;
231 pinctrl-0 = <&hdmitxm0_cec>;
232 pinctrl-names = "default";
238 remote-endpoint = <&vp0_out_hdmi>;
244 remote-endpoint = <&hdmi_con_in>;
258 interrupt-parent = <&gpio0>;
260 clock-output-names = "rk808-clkout1", "rk808-clkout2";
261 clock-names = "mclk";
263 assigned-clocks = <&cru I2S1_MCLKOUT_TX>;
264 assigned-clock-parents = <&cru CLK_I2S1_8CH_TX>;
265 #clock-cells = <1>;
266 #sound-dai-cells = <0>;
267 pinctrl-names = "default";
268 pinctrl-0 = <&i2s1m0_mclk>, <&pmic_int_l>;
269 wakeup-source;
271 vcc1-supply = <&vcc_sys>;
272 vcc2-supply = <&vcc_sys>;
273 vcc3-supply = <&vcc_sys>;
274 vcc4-supply = <&vcc_sys>;
275 vcc5-supply = <&vcc_sys>;
276 vcc6-supply = <&vcc_sys>;
277 vcc7-supply = <&vcc_sys>;
278 vcc8-supply = <&vcc_sys>;
279 vcc9-supply = <&dcdc_boost>;
283 regulator-always-on;
284 regulator-boot-on;
285 regulator-min-microvolt = <500000>;
286 regulator-max-microvolt = <1350000>;
287 regulator-ramp-delay = <6001>;
288 regulator-initial-mode = <0x2>;
289 regulator-name = "vdd_logic";
290 regulator-state-mem {
291 regulator-off-in-suspend;
292 regulator-suspend-microvolt = <900000>;
297 regulator-always-on;
298 regulator-boot-on;
299 regulator-min-microvolt = <500000>;
300 regulator-max-microvolt = <1350000>;
301 regulator-ramp-delay = <6001>;
302 regulator-initial-mode = <0x2>;
303 regulator-name = "vdd_gpu";
304 regulator-state-mem {
305 regulator-off-in-suspend;
310 regulator-always-on;
311 regulator-boot-on;
312 regulator-initial-mode = <0x2>;
313 regulator-name = "vcc_ddr";
314 regulator-state-mem {
315 regulator-on-in-suspend;
320 regulator-always-on;
321 regulator-boot-on;
322 regulator-min-microvolt = <3300000>;
323 regulator-max-microvolt = <3300000>;
324 regulator-initial-mode = <0x2>;
325 regulator-name = "vcc_3v3";
326 regulator-state-mem {
327 regulator-on-in-suspend;
328 regulator-suspend-microvolt = <3300000>;
333 regulator-always-on;
334 regulator-boot-on;
335 regulator-min-microvolt = <1800000>;
336 regulator-max-microvolt = <1800000>;
337 regulator-name = "vcca1v8_pmu";
338 regulator-state-mem {
339 regulator-on-in-suspend;
340 regulator-suspend-microvolt = <1800000>;
345 regulator-always-on;
346 regulator-boot-on;
347 regulator-min-microvolt = <900000>;
348 regulator-max-microvolt = <900000>;
349 regulator-name = "vdda_0v9";
350 regulator-state-mem {
351 regulator-off-in-suspend;
356 regulator-always-on;
357 regulator-boot-on;
358 regulator-min-microvolt = <900000>;
359 regulator-max-microvolt = <900000>;
360 regulator-name = "vdda0v9_pmu";
361 regulator-state-mem {
362 regulator-on-in-suspend;
363 regulator-suspend-microvolt = <900000>;
368 regulator-always-on;
369 regulator-boot-on;
370 regulator-min-microvolt = <3300000>;
371 regulator-max-microvolt = <3300000>;
372 regulator-name = "vccio_acodec";
373 regulator-state-mem {
374 regulator-off-in-suspend;
379 regulator-always-on;
380 regulator-boot-on;
381 regulator-min-microvolt = <1800000>;
382 regulator-max-microvolt = <3300000>;
383 regulator-name = "vccio_sd";
384 regulator-state-mem {
385 regulator-off-in-suspend;
390 regulator-always-on;
391 regulator-boot-on;
392 regulator-min-microvolt = <3300000>;
393 regulator-max-microvolt = <3300000>;
394 regulator-name = "vcc3v3_pmu";
395 regulator-state-mem {
396 regulator-on-in-suspend;
397 regulator-suspend-microvolt = <3300000>;
402 regulator-always-on;
403 regulator-boot-on;
404 regulator-min-microvolt = <1800000>;
405 regulator-max-microvolt = <1800000>;
406 regulator-name = "vcc_1v8";
407 regulator-state-mem {
408 regulator-off-in-suspend;
413 regulator-always-on;
414 regulator-boot-on;
415 regulator-min-microvolt = <1800000>;
416 regulator-max-microvolt = <3300000>;
417 regulator-name = "vcc1v8_dvp";
418 regulator-state-mem {
419 regulator-off-in-suspend;
424 regulator-always-on;
425 regulator-boot-on;
426 regulator-min-microvolt = <2800000>;
427 regulator-max-microvolt = <2800000>;
428 regulator-name = "vcc2v8_dvp";
429 regulator-state-mem {
430 regulator-off-in-suspend;
435 regulator-always-on;
436 regulator-boot-on;
437 regulator-min-microvolt = <4700000>;
438 regulator-max-microvolt = <5400000>;
439 regulator-name = "boost";
440 regulator-state-mem {
441 regulator-off-in-suspend;
446 regulator-name = "otg_switch";
447 regulator-state-mem {
448 regulator-off-in-suspend;
457 fcs,suspend-voltage-selector = <1>;
458 regulator-always-on;
459 regulator-boot-on;
460 regulator-min-microvolt = <712500>;
461 regulator-max-microvolt = <1390000>;
462 regulator-name = "vdd_cpu";
463 regulator-ramp-delay = <2300>;
464 vin-supply = <&vcc_sys>;
465 regulator-state-mem {
466 regulator-off-in-suspend;
477 pinctrl-0 = <&i2c5m1_xfer>;
478 pinctrl-names = "default";
487 pinctrl-0 = <&i2s1m0_sclktx
491 pinctrl-names = "default";
492 rockchip,trcm-sync-tx-only;
497 gpio-btns {
498 btn_pins_ctrl: btn-pins-ctrl {
518 btn_pins_vol: btn-pins-vol {
525 joy-mux {
526 joy_mux_en: joy-mux-en {
533 pmic_int_l: pmic-int-l {
539 sdio-pwrseq {
540 wifi_enable_h: wifi-enable-h {
546 vcc3v3-lcd {
547 vcc_lcd_h: vcc-lcd-h {
553 vcc-wifi {
554 vcc_wifi_h: vcc-wifi-h {
563 pmuio1-supply = <&vcc3v3_pmu>;
564 pmuio2-supply = <&vcc3v3_pmu>;
565 vccio1-supply = <&vccio_acodec>;
566 vccio3-supply = <&vccio_sd>;
567 vccio4-supply = <&vcc_1v8>;
568 vccio5-supply = <&vcc_3v3>;
569 vccio6-supply = <&vcc1v8_dvp>;
570 vccio7-supply = <&vcc_3v3>;
574 pinctrl-0 = <&pwm0m1_pins>;
575 pinctrl-names = "default";
592 vref-supply = <&vcc_1v8>;
597 bus-width = <4>;
598 cap-sd-highspeed;
599 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
600 disable-wp;
601 pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
602 pinctrl-names = "default";
603 sd-uhs-sdr104;
604 vmmc-supply = <&vcc_3v3>;
605 vqmmc-supply = <&vccio_sd>;
610 bus-width = <4>;
611 cap-sd-highspeed;
612 cd-gpios = <&gpio2 RK_PB2 GPIO_ACTIVE_LOW>;
613 disable-wp;
614 pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk &sdmmc1_det>;
615 pinctrl-names = "default";
616 sd-uhs-sdr104;
617 vmmc-supply = <&vcc_3v3>;
618 vqmmc-supply = <&vcc1v8_dvp>;
623 bus-width = <4>;
624 cap-sd-highspeed;
625 cap-sdio-irq;
626 keep-power-in-suspend;
627 mmc-pwrseq = <&sdio_pwrseq>;
628 no-mmc;
629 no-sd;
630 non-removable;
631 pinctrl-0 = <&sdmmc2m0_bus4 &sdmmc2m0_cmd &sdmmc2m0_clk>;
632 pinctrl-names = "default";
633 sd-uhs-sdr50;
634 vmmc-supply = <&vcc_wifi>;
635 vqmmc-supply = <&vcca1v8_pmu>;
640 rockchip,hw-tshut-mode = <1>;
641 rockchip,hw-tshut-polarity = <0>;
646 pinctrl-0 = <&uart1m1_xfer &uart1m1_ctsn &uart1m1_rtsn>;
647 pinctrl-names = "default";
648 uart-has-rtscts;
652 compatible = "realtek,rtl8821cs-bt", "realtek,rtl8723bs-bt";
653 device-wake-gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>;
654 enable-gpios = <&gpio4 3 GPIO_ACTIVE_HIGH>;
655 host-wake-gpios = <&gpio4 5 GPIO_ACTIVE_HIGH>;
670 phy-names = "usb2-phy";
683 phy-names = "usb2-phy", "usb3-phy";
705 assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
706 assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
717 remote-endpoint = <&hdmi_in_vp0>;