Lines Matching +full:b +full:- +full:facing

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/display/drm_mipi_dsi.h>
7 #include <dt-bindings/input/input.h>
10 adc-keys {
11 compatible = "adc-keys";
12 io-channels = <&saradc 0>;
13 io-channel-names = "buttons";
14 poll-interval = <100>;
15 keyup-threshold-microvolt = <1800000>;
17 esc-key {
20 press-threshold-microvolt = <0>;
23 right-key {
26 press-threshold-microvolt = <400781>;
29 left-key {
32 press-threshold-microvolt = <801562>;
35 menu-key {
38 press-threshold-microvolt = <1198828>;
43 compatible = "pwm-backlight";
45 brightness-levels = <
78 default-brightness-level = <200>;
84 ircut-open-gpios = <&gpio2 RK_PA7 GPIO_ACTIVE_HIGH>;
85 ircut-close-gpios = <&gpio2 RK_PA6 GPIO_ACTIVE_HIGH>;
86 rockchip,camera-module-index = <1>;
87 rockchip,camera-module-facing = "front";
90 dummy_codec: dummy-codec {
91 compatible = "rockchip,dummy-codec";
92 #sound-dai-cells = <0>;
95 pdm_mic_array: pdm-mic_array {
97 compatible = "simple-audio-card";
98 simple-audio-card,name = "rockchip,pdm-mic-array";
99 simple-audio-card,cpu {
100 sound-dai = <&pdm>;
102 simple-audio-card,codec {
103 sound-dai = <&dummy_codec>;
107 rk809_sound: rk809-sound {
108 compatible = "simple-audio-card";
109 simple-audio-card,format = "i2s";
110 simple-audio-card,name = "rockchip,rk809-codec";
111 simple-audio-card,mclk-fs = <256>;
112 simple-audio-card,cpu {
113 sound-dai = <&i2s0_8ch>;
115 simple-audio-card,codec {
116 sound-dai = <&rk809_codec>;
120 sdio_pwrseq: sdio-pwrseq {
121 compatible = "mmc-pwrseq-simple";
122 pinctrl-names = "default";
123 pinctrl-0 = <&wifi_enable_h>;
128 * - SDIO_RESET_L_WL_REG_ON
129 * - PDN (power down when low)
131 reset-gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_LOW>;
134 vcc18_lcd_n: vcc18-lcd-n {
135 compatible = "regulator-fixed";
136 regulator-name = "vcc18_lcd_n";
138 enable-active-high;
139 regulator-boot-on;
143 compatible = "regulator-fixed";
144 regulator-name = "vcc5v0_sys";
145 regulator-always-on;
146 regulator-boot-on;
147 regulator-min-microvolt = <5000000>;
148 regulator-max-microvolt = <5000000>;
151 vdd_npu: vdd-npu {
152 compatible = "pwm-regulator";
154 regulator-name = "vdd_npu";
155 regulator-min-microvolt = <650000>;
156 regulator-max-microvolt = <950000>;
157 regulator-init-microvolt = <800000>;
158 regulator-always-on;
159 regulator-boot-on;
160 regulator-settling-time-up-us = <250>;
161 pwm-supply = <&vcc5v0_sys>;
165 vdd_vepu: vdd-vepu {
166 compatible = "pwm-regulator";
168 regulator-name = "vdd_vepu";
169 regulator-min-microvolt = <650000>;
170 regulator-max-microvolt = <950000>;
171 regulator-init-microvolt = <800000>;
172 regulator-always-on;
173 regulator-boot-on;
174 regulator-settling-time-up-us = <250>;
175 pwm-supply = <&vcc5v0_sys>;
179 wireless-bluetooth {
180 compatible = "bluetooth-platdata";
182 pinctrl-names = "default", "rts_gpio";
183 pinctrl-0 = <&uart0_rtsn>;
184 pinctrl-1 = <&uart0_rtsn_gpio>;
190 wireless_wlan: wireless-wlan {
191 compatible = "wlan-platdata";
194 clock-names = "clk_wifi";
195 pinctrl-names = "default";
196 pinctrl-0 = <&wifi_wake_host>;
205 cpu-supply = <&vdd_arm>;
219 rockchip,lane-rate = <480>;
221 compatible = "ilitek,ili9881d", "simple-panel-dsi";
224 power-supply = <&vcc18_lcd_n>;
225 prepare-delay-ms = <5>;
226 reset-delay-ms = <1>;
227 init-delay-ms = <80>;
228 disable-delay-ms = <10>;
229 unprepare-delay-ms = <5>;
231 width-mm = <68>;
232 height-mm = <121>;
239 panel-init-sequence = [
251 15 00 02 0b 00
267 15 00 02 1b 00
283 15 00 02 2b 00
299 15 00 02 3b 40
320 15 00 02 5b ab
336 15 00 02 6b 02
352 15 00 02 7b 11
385 15 00 02 55 7b
401 15 00 02 ab 5b
423 15 00 02 cb 5b
437 display-timings {
438 native-mode = <&timing0>;
441 clock-frequency = <65000000>;
444 hfront-porch = <48>;
445 hsync-len = <8>;
446 hback-porch = <52>;
447 vfront-porch = <16>;
448 vsync-len = <6>;
449 vback-porch = <15>;
450 hsync-active = <0>;
451 vsync-active = <0>;
452 de-active = <0>;
453 pixelclk-active = <0>;
458 #address-cells = <1>;
459 #size-cells = <0>;
464 remote-endpoint = <&dsi_out_panel>;
471 #address-cells = <1>;
472 #size-cells = <0>;
477 remote-endpoint = <&panel_in_dsi>;
487 #address-cells = <1>;
488 #size-cells = <0>;
491 #address-cells = <1>;
492 #size-cells = <0>;
496 remote-endpoint = <&ucam_out0>;
497 data-lanes = <1 2 3 4>;
502 #address-cells = <1>;
503 #size-cells = <0>;
507 remote-endpoint = <&mipi_csi2_input>;
517 #address-cells = <1>;
518 #size-cells = <0>;
522 #address-cells = <1>;
523 #size-cells = <0>;
527 remote-endpoint = <&ucam_out1>;
528 data-lanes = <1 2 3 4>;
534 #address-cells = <1>;
535 #size-cells = <0>;
539 /*remote-endpoint = <&mipi_csi2_input>;*/
540 data-lanes = <1 2 3 4>;
547 bus-width = <8>;
548 cap-mmc-highspeed;
549 non-removable;
550 mmc-hs200-1_8v;
551 rockchip,default-sample-phase = <90>;
552 no-sdio;
553 no-sd;
554 /delete-property/ pinctrl-names;
555 /delete-property/ pinctrl-0;
564 phy-mode = "rgmii";
567 snps,reset-gpio = <&gpio3 RK_PA0 GPIO_ACTIVE_LOW>;
568 snps,reset-active-low;
570 snps,reset-delays-us = <0 20000 100000>;
572 assigned-clocks = <&cru CLK_GMAC_SRC>, <&cru CLK_GMAC_TX_RX>, <&cru CLK_GMAC_ETHERNET_OUT>;
573 assigned-clock-parents = <&cru CLK_GMAC_SRC_M1>, <&cru RGMII_MODE_CLK>;
574 assigned-clock-rates = <125000000>, <0>, <25000000>;
576 pinctrl-names = "default";
577 pinctrl-0 = <&rgmiim1_miim &rgmiim1_bus2 &rgmiim1_bus4 &clkm1_out_ethernet>;
582 phy-handle = <&phy>;
588 clock-frequency = <400000>;
593 interrupt-parent = <&gpio0>;
595 pinctrl-names = "default", "pmic-sleep",
596 "pmic-power-off", "pmic-reset";
597 pinctrl-0 = <&pmic_int>;
598 pinctrl-1 = <&soc_slppin_gpio>, <&rk817_slppin_slp>;
599 pinctrl-2 = <&soc_slppin_gpio>, <&rk817_slppin_pwrdn>;
600 pinctrl-3 = <&soc_slppin_slp>, <&rk817_slppin_rst>;
601 rockchip,system-power-controller;
602 wakeup-source;
603 #clock-cells = <1>;
604 clock-output-names = "rk808-clkout1", "rk808-clkout2";
606 pmic-reset-func = <0>;
608 vcc1-supply = <&vcc5v0_sys>;
609 vcc2-supply = <&vcc5v0_sys>;
610 vcc3-supply = <&vcc5v0_sys>;
611 vcc4-supply = <&vcc5v0_sys>;
612 vcc5-supply = <&vcc_buck5>;
613 vcc6-supply = <&vcc_buck5>;
614 vcc7-supply = <&vcc5v0_sys>;
615 vcc8-supply = <&vcc3v3_sys>;
616 vcc9-supply = <&vcc5v0_sys>;
623 gpio-controller;
624 #gpio-cells = <2>;
626 /omit-if-no-ref/
632 /omit-if-no-ref/
638 /omit-if-no-ref/
644 /omit-if-no-ref/
653 regulator-always-on;
654 regulator-boot-on;
655 regulator-min-microvolt = <725000>;
656 regulator-max-microvolt = <1350000>;
657 regulator-ramp-delay = <6001>;
658 regulator-initial-mode = <0x2>;
659 regulator-name = "vdd_logic";
660 regulator-state-mem {
661 regulator-on-in-suspend;
662 regulator-suspend-microvolt = <800000>;
667 regulator-always-on;
668 regulator-boot-on;
669 regulator-min-microvolt = <725000>;
670 regulator-max-microvolt = <1350000>;
671 regulator-ramp-delay = <6001>;
672 regulator-initial-mode = <0x2>;
673 regulator-name = "vdd_arm";
674 regulator-state-mem {
675 regulator-off-in-suspend;
680 regulator-always-on;
681 regulator-boot-on;
682 regulator-initial-mode = <0x2>;
683 regulator-name = "vcc_ddr";
684 regulator-state-mem {
685 regulator-on-in-suspend;
690 regulator-always-on;
691 regulator-boot-on;
692 regulator-min-microvolt = <3300000>;
693 regulator-max-microvolt = <3300000>;
694 regulator-initial-mode = <0x2>;
695 regulator-name = "vcc3v3_sys";
696 regulator-state-mem {
697 regulator-on-in-suspend;
698 regulator-suspend-microvolt = <3300000>;
703 regulator-always-on;
704 regulator-boot-on;
705 regulator-min-microvolt = <2200000>;
706 regulator-max-microvolt = <2200000>;
707 regulator-name = "vcc_buck5";
708 regulator-state-mem {
709 regulator-on-in-suspend;
710 regulator-suspend-microvolt = <2200000>;
715 regulator-always-on;
716 regulator-boot-on;
717 regulator-min-microvolt = <800000>;
718 regulator-max-microvolt = <800000>;
719 regulator-name = "vcc_0v8";
720 regulator-state-mem {
721 regulator-off-in-suspend;
726 regulator-always-on;
727 regulator-boot-on;
728 regulator-min-microvolt = <1800000>;
729 regulator-max-microvolt = <1800000>;
730 regulator-name = "vcc1v8_pmu";
731 regulator-state-mem {
732 regulator-on-in-suspend;
733 regulator-suspend-microvolt = <1800000>;
738 regulator-always-on;
739 regulator-boot-on;
740 regulator-min-microvolt = <800000>;
741 regulator-max-microvolt = <800000>;
742 regulator-name = "vcc0v8_pmu";
743 regulator-state-mem {
744 regulator-on-in-suspend;
745 regulator-suspend-microvolt = <800000>;
750 regulator-always-on;
751 regulator-boot-on;
752 regulator-min-microvolt = <1800000>;
753 regulator-max-microvolt = <1800000>;
754 regulator-name = "vcc_1v8";
755 regulator-state-mem {
756 regulator-on-in-suspend;
757 regulator-suspend-microvolt = <1800000>;
762 regulator-boot-on;
763 regulator-min-microvolt = <1800000>;
764 regulator-max-microvolt = <1800000>;
765 regulator-name = "vcc_dovdd";
766 regulator-state-mem {
767 regulator-off-in-suspend;
772 regulator-min-microvolt = <1200000>;
773 regulator-max-microvolt = <1200000>;
774 regulator-name = "vcc_dvdd";
775 regulator-state-mem {
776 regulator-off-in-suspend;
781 regulator-min-microvolt = <2800000>;
782 regulator-max-microvolt = <2800000>;
783 regulator-name = "vcc_avdd";
784 regulator-state-mem {
785 regulator-off-in-suspend;
790 regulator-always-on;
791 regulator-boot-on;
792 regulator-min-microvolt = <1800000>;
793 regulator-max-microvolt = <3300000>;
794 regulator-name = "vccio_sd";
795 regulator-state-mem {
796 regulator-off-in-suspend;
801 regulator-always-on;
802 regulator-boot-on;
803 regulator-min-microvolt = <3300000>;
804 regulator-max-microvolt = <3300000>;
805 regulator-name = "vcc3v3_sd";
806 regulator-state-mem {
807 regulator-off-in-suspend;
812 regulator-name = "vcc5v0_host";
816 regulator-always-on;
817 regulator-boot-on;
818 regulator-name = "vcc_3v3";
823 #sound-dai-cells = <0>;
824 compatible = "rockchip,rk809-codec", "rockchip,rk817-codec";
826 clock-names = "mclk";
827 pinctrl-names = "default";
828 assigned-clocks = <&cru MCLK_I2S0_TX_OUT2IO>;
829 assigned-clock-parents = <&cru MCLK_I2S0_TX>;
830 pinctrl-0 = <&i2s0m0_mclk>;
831 hp-volume = <20>;
832 spk-volume = <3>;
839 clock-frequency = <400000>;
845 clock-names = "xvclk";
846 avdd-supply = <&vcc_avdd>;
847 dovdd-supply = <&vcc_dovdd>;
848 dvdd-supply = <&vcc_dvdd>;
849 power-domains = <&power RV1126_PD_VI>;
850 pwdn-gpios = <&gpio2 RK_PA6 GPIO_ACTIVE_HIGH>;
851 /*reset-gpios = <&gpio2 RK_PC5 GPIO_ACTIVE_HIGH>;*/
853 pinctrl-names = "default";
854 pinctrl-0 = <&cifm0_dvp_ctl>;
855 rockchip,camera-module-index = <0>;
856 rockchip,camera-module-facing = "back";
857 rockchip,camera-module-name = "CMK-OT0836-PT2";
858 rockchip,camera-module-lens-name = "YT-2929";
861 /* remote-endpoint = <&cif_para_in>; */
870 clock-names = "xvclk";
871 power-domains = <&power RV1126_PD_VI>;
872 pinctrl-names = "rockchip,camera_default";
873 pinctrl-0 = <&mipicsi_clk1>;
874 /*pinctrl-0 = <&mipicsi_clk0>;*/
875 avdd-supply = <&vcc_avdd>;
876 dovdd-supply = <&vcc_dovdd>;
877 dvdd-supply = <&vcc_dvdd>;
878 pwdn-gpios = <&gpio2 RK_PA7 GPIO_ACTIVE_HIGH>;
879 /*pwdn-gpios = <&gpio1 RK_PD4 GPIO_ACTIVE_HIGH>;*/
880 rockchip,camera-module-index = <1>;
881 rockchip,camera-module-facing = "front";
882 rockchip,camera-module-name = "JSD3425-C1";
883 rockchip,camera-module-lens-name = "JSD3425-C1";
885 rockchip,camera-hdr-mode = <0>;
888 remote-endpoint = <&csi_dphy1_input>;
889 data-lanes = <1 2 3 4>;
899 clock-names = "xvclk";
900 power-domains = <&power RV1126_PD_VI>;
901 pinctrl-names = "rockchip,camera_default";
902 pinctrl-0 = <&mipicsi_clk0>;
903 avdd-supply = <&vcc_avdd>;
904 dovdd-supply = <&vcc_dovdd>;
905 dvdd-supply = <&vcc_dvdd>;
906 pwdn-gpios = <&gpio1 RK_PD4 GPIO_ACTIVE_HIGH>;
907 rockchip,camera-module-index = <1>;
908 rockchip,camera-module-facing = "front";
909 rockchip,camera-module-name = "CMK-OT1607-FV1";
910 rockchip,camera-module-lens-name = "M12-40IRC-4MP-F16";
911 ir-cut = <&cam_ircut0>;
914 remote-endpoint = <&mipi_in_ucam0>;
915 data-lanes = <1 2 3 4>;
923 clock-frequency = <400000>;
929 power-supply = <&vcc18_lcd_n>;
930 goodix,rst-gpio = <&gpio2 RK_PB0 GPIO_ACTIVE_HIGH>;
931 goodix,irq-gpio = <&gpio2 RK_PB2 GPIO_ACTIVE_LOW>;
937 #sound-dai-cells = <0>;
938 rockchip,clk-trcm = <1>;
939 rockchip,i2s-rx-route = <3 1 2 0>;
940 pinctrl-names = "default";
941 pinctrl-0 = <&i2s0m0_sclk_tx
957 compatible = "ethernet-phy-ieee802.3-c22";
967 #address-cells = <1>;
968 #size-cells = <0>;
972 #address-cells = <1>;
973 #size-cells = <0>;
977 remote-endpoint = <&csidphy0_out>;
978 data-lanes = <1 2 3 4>;
984 #address-cells = <1>;
985 #size-cells = <0>;
989 remote-endpoint = <&cif_mipi_in>;
990 data-lanes = <1 2 3 4>;
1005 /delete-property/ pinctrl-names;
1006 /delete-property/ pinctrl-0;
1007 #address-cells = <1>;
1008 #size-cells = <0>;
1012 nand-bus-width = <8>;
1013 nand-ecc-mode = "hw";
1014 nand-ecc-strength = <16>;
1015 nand-ecc-step-size = <1024>;
1020 npu-supply = <&vdd_npu>;
1038 #sound-dai-cells = <0>;
1039 pinctrl-names = "default";
1040 pinctrl-0 = <&pdmm0_clk
1049 /omit-if-no-ref/
1055 /omit-if-no-ref/
1061 /omit-if-no-ref/
1067 /omit-if-no-ref/
1074 sdio-pwrseq {
1075 /omit-if-no-ref/
1076 wifi_enable_h: wifi-enable-h {
1081 wireless-wlan {
1082 /omit-if-no-ref/
1083 wifi_wake_host: wifi-wake-host {
1092 pmuio0-supply = <&vcc1v8_pmu>;
1093 pmuio1-supply = <&vcc3v3_sys>;
1094 vccio2-supply = <&vccio_sd>;
1095 vccio3-supply = <&vcc_1v8>;
1096 vccio4-supply = <&vcc_1v8>;
1097 vccio5-supply = <&vcc_3v3>;
1098 vccio6-supply = <&vcc_1v8>;
1099 vccio7-supply = <&vcc_1v8>;
1104 pinctrl-names = "active";
1105 pinctrl-0 = <&pwm0m0_pins_pull_down>;
1110 pinctrl-names = "active";
1111 pinctrl-0 = <&pwm1m0_pins_pull_down>;
1141 remote-endpoint = <&cam_para_out1>;
1142 bus-width = <12>;
1143 hsync-active = <1>;
1144 vsync-active = <0>;
1154 /* MIPI CSI-2 endpoint */
1156 remote-endpoint = <&mipi_csi2_output>;
1157 data-lanes = <1 2 3 4>;
1166 /* MIPI CSI-2 endpoint */
1168 remote-endpoint = <&isp_in>;
1169 data-lanes = <1 2 3 4>;
1184 #address-cells = <1>;
1185 #size-cells = <0>;
1189 remote-endpoint = <&mipi_lvds_sditf>;
1202 //max-input = <2688 1520 30>;
1222 venc-supply = <&vdd_vepu>;
1236 rockchip,sleep-debug-en = <1>;
1237 rockchip,sleep-mode-config = <
1245 rockchip,wakeup-config = <
1258 vref-supply = <&vcc_1v8>;
1262 bus-width = <4>;
1263 cap-mmc-highspeed;
1264 cap-sd-highspeed;
1265 card-detect-delay = <200>;
1266 rockchip,default-sample-phase = <90>;
1267 no-sdio;
1268 no-mmc;
1269 sd-uhs-sdr12;
1270 sd-uhs-sdr25;
1271 sd-uhs-sdr104;
1272 vqmmc-supply = <&vccio_sd>;
1273 vmmc-supply = <&vcc3v3_sd>;
1278 max-frequency = <200000000>;
1279 bus-width = <4>;
1280 cap-sd-highspeed;
1281 cap-sdio-irq;
1282 keep-power-in-suspend;
1283 non-removable;
1284 rockchip,default-sample-phase = <90>;
1285 sd-uhs-sdr104;
1286 no-sd;
1287 no-mmc;
1288 mmc-pwrseq = <&sdio_pwrseq>;
1293 /delete-property/ pinctrl-names;
1294 /delete-property/ pinctrl-0;
1298 compatible = "spi-nand";
1300 spi-max-frequency = <80000000>;
1301 spi-rx-bus-width = <4>;
1302 spi-tx-bus-width = <1>;
1308 vup-gpios = <&gpio0 RK_PC1 GPIO_ACTIVE_LOW>;
1309 u2phy_otg: otg-port {
1316 u2phy_host: host-port {
1318 phy-supply = <&vcc5v0_host>;
1323 pinctrl-names = "default";
1324 pinctrl-0 = <&uart0_xfer &uart0_ctsn>;