diff --git a/patch/kernel/rk35xx-vendor-6.1/0001-arm64-dts-add-imb3588-dts.patch b/patch/kernel/rk35xx-vendor-6.1/0001-arm64-dts-add-imb3588-dts.patch deleted file mode 100644 index 91618c4cb..000000000 --- a/patch/kernel/rk35xx-vendor-6.1/0001-arm64-dts-add-imb3588-dts.patch +++ /dev/null @@ -1,1337 +0,0 @@ -From 1de1d6241c18c9ae5dea66b0007d61163c7122f5 Mon Sep 17 00:00:00 2001 -From: Jack Huang -Date: Tue, 27 May 2025 17:40:39 +0800 -Subject: [PATCH] arm64: dts: add imb3588 dts - -Signed-off-by: Jack Huang ---- - arch/arm64/boot/dts/rockchip/Makefile | 1 + - .../boot/dts/rockchip/rk3588-yx-imb3588.dts | 1304 +++++++++++++++++ - 2 files changed, 1305 insertions(+) - create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-yx-imb3588.dts - -diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile -index 279441527a08..7571f8d5c0d0 100644 ---- a/arch/arm64/boot/dts/rockchip/Makefile -+++ b/arch/arm64/boot/dts/rockchip/Makefile -@@ -402,6 +402,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-vehicle-evb-v21.dtb - dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-vehicle-evb-v22.dtb - dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-vehicle-evb-v23.dtb - dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-vehicle-s66-v10.dtb -+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-yx-imb3588.dtb - dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-evb1-lp4x-v10.dtb - dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-evb1-lp4x-v10-linux.dtb - dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-evb2-lp5-v10.dtb -diff --git a/arch/arm64/boot/dts/rockchip/rk3588-yx-imb3588.dts b/arch/arm64/boot/dts/rockchip/rk3588-yx-imb3588.dts -new file mode 100644 -index 000000000000..09f9cd651254 ---- /dev/null -+++ b/arch/arm64/boot/dts/rockchip/rk3588-yx-imb3588.dts -@@ -0,0 +1,1304 @@ -+// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -+/* -+ * Copyright (c) 2021 Rockchip Electronics Co., Ltd. -+ * -+ */ -+ -+/dts-v1/; -+ -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include "dt-bindings/usb/pd.h" -+#include "rk3588.dtsi" -+#include "rk3588-rk806-single.dtsi" -+#include "rk3588-linux.dtsi" -+ -+/ { -+ model = "Rockchip RK3588 YX IMB3588 Board"; -+ compatible = "rockchip,rk3588-yx-imb3588-linux", "rockchip,rk3588"; -+ -+ chosen: chosen { -+ bootargs = "earlycon=uart8250,mmio32,0xfeb50000 console=ttyFIQ0 irqchip.gicv3_pseudo_nmi=0 rcupdate.rcu_expedited=1 rcu_nocbs=all"; -+ }; -+ -+ adc_keys: adc-keys { -+ compatible = "adc-keys"; -+ io-channels = <&saradc 1>; -+ io-channel-names = "buttons"; -+ keyup-threshold-microvolt = <1800000>; -+ poll-interval = <100>; -+ -+ vol-up-key { -+ label = "volume up"; -+ linux,code = ; -+ press-threshold-microvolt = <1497000>; -+ }; -+ -+ vol-down-key { -+ label = "volume down"; -+ linux,code = ; -+ press-threshold-microvolt = <1080000>; -+ }; -+ }; -+ -+ panel-edp { -+ compatible = "simple-panel"; -+ backlight = <&backlight>; -+ power-supply = <&vcc3v3_lcd_n>; -+ prepare-delay-ms = <130>; -+ enable-delay-ms = <50>; -+ width-mm = <293>; -+ height-mm = <165>; -+ // unprepare-delay-ms = <120>; -+ // disable-delay-ms = <120>; -+ -+ display-timings { -+ native-mode = <&timing_1kp60>; -+ timing_1kp60: timing1 { -+ clock-frequency = <144000000>; -+ hactive = <1920>; -+ vactive = <1080>; -+ hfront-porch = <100>; -+ hsync-len = <5>; -+ hback-porch = <150>; -+ vfront-porch = <10>; -+ vsync-len = <4>; -+ vback-porch = <20>; -+ hsync-active = <0>; -+ vsync-active = <0>; -+ de-active = <0>; -+ pixelclk-active = <0>; -+ }; -+ }; -+ -+ port { -+ panel_in_edp0: endpoint { -+ remote-endpoint = <&edp0_out_panel>; -+ }; -+ }; -+ }; -+ -+ backlight: backlight { -+ compatible = "pwm-backlight"; -+ brightness-levels = < -+ 0 20 20 21 21 22 22 23 -+ 23 24 24 25 25 26 26 27 -+ 27 28 28 29 29 30 30 31 -+ 31 32 32 33 33 34 34 35 -+ 35 36 36 37 37 38 38 39 -+ 40 41 42 43 44 45 46 47 -+ 48 49 50 51 52 53 54 55 -+ 56 57 58 59 60 61 62 63 -+ 64 65 66 67 68 69 70 71 -+ 72 73 74 75 76 77 78 79 -+ 80 81 82 83 84 85 86 87 -+ 88 89 90 91 92 93 94 95 -+ 96 97 98 99 100 101 102 103 -+ 104 105 106 107 108 109 110 111 -+ 112 113 114 115 116 117 118 119 -+ 120 121 122 123 124 125 126 127 -+ 128 129 130 131 132 133 134 135 -+ 136 137 138 139 140 141 142 143 -+ 144 145 146 147 148 149 150 151 -+ 152 153 154 155 156 157 158 159 -+ 160 161 162 163 164 165 166 167 -+ 168 169 170 171 172 173 174 175 -+ 176 177 178 179 180 181 182 183 -+ 184 185 186 187 188 189 190 191 -+ 192 193 194 195 196 197 198 199 -+ 200 201 202 203 204 205 206 207 -+ 208 209 210 211 212 213 214 215 -+ 216 217 218 219 220 221 222 223 -+ 224 225 226 227 228 229 230 231 -+ 232 233 234 235 236 237 238 239 -+ 240 241 242 243 244 245 246 247 -+ 248 249 250 251 252 253 254 255 -+ >; -+ default-brightness-level = <200>; -+ pwms = <&pwm0 0 25000 1>; -+ enable-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_LOW>; -+ }; -+ -+ bt_sco: bt-sco { -+ status = "disabled"; -+ compatible = "delta,dfbmcs320"; -+ #sound-dai-cells = <1>; -+ }; -+ -+ bt_sound: bt-sound { -+ status = "disabled"; -+ compatible = "simple-audio-card"; -+ simple-audio-card,format = "dsp_a"; -+ simple-audio-card,bitclock-inversion; -+ simple-audio-card,mclk-fs = <256>; -+ simple-audio-card,name = "rockchip,bt"; -+ simple-audio-card,cpu { -+ sound-dai = <&i2s2_2ch>; -+ }; -+ simple-audio-card,codec { -+ sound-dai = <&bt_sco 1>; -+ }; -+ }; -+ -+ // hdmi0_sound: hdmi0-sound { -+ // status = "disabled"; -+ // compatible = "rockchip,hdmi"; -+ // rockchip,mclk-fs = <128>; -+ // rockchip,card-name = "rockchip-hdmi0"; -+ // rockchip,cpu = <&i2s5_8ch>; -+ // rockchip,codec = <&hdmi0>; -+ // rockchip,jack-det; -+ // }; -+ -+ hdmi1_sound: hdmi1-sound { -+ status = "disabled"; -+ compatible = "rockchip,hdmi"; -+ rockchip,mclk-fs = <128>; -+ rockchip,card-name = "rockchip-hdmi1"; -+ rockchip,cpu = <&i2s6_8ch>; -+ rockchip,codec = <&hdmi1>; -+ rockchip,jack-det; -+ }; -+ -+ dp0_sound: dp0-sound { -+ status = "disabled"; -+ compatible = "rockchip,hdmi"; -+ rockchip,card-name= "rockchip-dp0"; -+ rockchip,mclk-fs = <512>; -+ rockchip,cpu = <&spdif_tx2>; -+ rockchip,codec = <&dp0 1>; -+ rockchip,jack-det; -+ }; -+ -+ dp1_sound: dp1-sound { -+ status = "disabled"; -+ compatible = "rockchip,hdmi"; -+ rockchip,card-name= "rockchip-dp1"; -+ rockchip,mclk-fs = <512>; -+ rockchip,cpu = <&spdif_tx5>; -+ rockchip,codec = <&dp1 1>; -+ rockchip,jack-det; -+ }; -+ -+ rk_headset: rk-headset { -+ status = "disabled"; -+ compatible = "rockchip_headset"; -+ headset_gpio = <&gpio1 RK_PC4 GPIO_ACTIVE_HIGH>; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&hp_det>; -+ io-channels = <&saradc 3>; -+ }; -+ -+ es8316_sound: es8316-sound { -+ status = "okay"; -+ compatible = "rockchip,multicodecs-card"; -+ rockchip,card-name = "rockchip-es8316"; -+ hp-det-gpio = <&gpio1 RK_PC4 GPIO_ACTIVE_HIGH>; -+ spk-con-gpio = <&gpio4 RK_PB2 GPIO_ACTIVE_LOW>; -+ rockchip,format = "i2s"; -+ rockchip,mclk-fs = <256>; -+ rockchip,cpu = <&i2s0_8ch>; -+ rockchip,codec = <&es8316>; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&hp_det>; -+ }; -+ -+ leds: leds { -+ compatible = "gpio-leds"; -+ -+ work_led: work-led { -+ gpios = <&gpio0 RK_PC0 GPIO_ACTIVE_HIGH>; -+ linux,default-trigger = "heartbeat"; -+ }; -+ -+ user_led: user-led { -+ gpios = <&gpio1 RK_PC0 GPIO_ACTIVE_HIGH>; -+ linux,default-trigger = "on"; -+ }; -+ }; -+ -+ test-power { -+ status = "okay"; -+ }; -+ -+ vcc12v_dcin: vcc12v-dcin { -+ compatible = "regulator-fixed"; -+ regulator-name = "vcc12v_dcin"; -+ regulator-always-on; -+ regulator-boot-on; -+ regulator-min-microvolt = <12000000>; -+ regulator-max-microvolt = <12000000>; -+ }; -+ -+ vcc5v0_sys: vcc5v0-sys { -+ compatible = "regulator-fixed"; -+ regulator-name = "vcc5v0_sys"; -+ regulator-always-on; -+ regulator-boot-on; -+ enable-active-high; -+ regulator-min-microvolt = <5000000>; -+ regulator-max-microvolt = <5000000>; -+ gpio = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>; -+ vin-supply = <&vcc12v_dcin>; -+ }; -+ -+ vcc5v0_usbdcin: vcc5v0-usbdcin { -+ compatible = "regulator-fixed"; -+ regulator-name = "vcc5v0_usbdcin"; -+ regulator-always-on; -+ regulator-boot-on; -+ regulator-min-microvolt = <5000000>; -+ regulator-max-microvolt = <5000000>; -+ vin-supply = <&vcc12v_dcin>; -+ }; -+ -+ vcc5v0_usb: vcc5v0-usb { -+ compatible = "regulator-fixed"; -+ regulator-name = "vcc5v0_usb"; -+ regulator-always-on; -+ regulator-boot-on; -+ regulator-min-microvolt = <5000000>; -+ regulator-max-microvolt = <5000000>; -+ vin-supply = <&vcc5v0_usbdcin>; -+ }; -+ -+ pcie20_avdd0v85: pcie20-avdd0v85 { -+ compatible = "regulator-fixed"; -+ regulator-name = "pcie20_avdd0v85"; -+ regulator-boot-on; -+ regulator-always-on; -+ regulator-min-microvolt = <850000>; -+ regulator-max-microvolt = <850000>; -+ vin-supply = <&vdd_0v85_s0>; -+ }; -+ -+ pcie20_avdd1v8: pcie20-avdd1v8 { -+ compatible = "regulator-fixed"; -+ regulator-name = "pcie20_avdd1v8"; -+ regulator-boot-on; -+ regulator-always-on; -+ regulator-min-microvolt = <1800000>; -+ regulator-max-microvolt = <1800000>; -+ vin-supply = <&avcc_1v8_s0>; -+ }; -+ -+ pcie30_avdd0v75: pcie30-avdd0v75 { -+ compatible = "regulator-fixed"; -+ regulator-name = "pcie30_avdd0v75"; -+ regulator-boot-on; -+ regulator-always-on; -+ regulator-min-microvolt = <750000>; -+ regulator-max-microvolt = <750000>; -+ vin-supply = <&avdd_0v75_s0>; -+ }; -+ -+ pcie30_avdd1v8: pcie30-avdd1v8 { -+ compatible = "regulator-fixed"; -+ regulator-name = "pcie30_avdd1v8"; -+ regulator-boot-on; -+ regulator-always-on; -+ regulator-min-microvolt = <1800000>; -+ regulator-max-microvolt = <1800000>; -+ vin-supply = <&avcc_1v8_s0>; -+ }; -+ -+ vcc_1v1_nldo_s3: vcc-1v1-nldo-s3 { -+ compatible = "regulator-fixed"; -+ regulator-name = "vcc_1v1_nldo_s3"; -+ regulator-always-on; -+ regulator-boot-on; -+ regulator-min-microvolt = <1100000>; -+ regulator-max-microvolt = <1100000>; -+ vin-supply = <&vcc5v0_sys>; -+ }; -+ -+ vcc3v3_lcd_n: vcc3v3-lcd-n { -+ compatible = "regulator-fixed"; -+ regulator-name = "vcc3v3_lcd_n"; -+ regulator-boot-on; -+ enable-active-high; -+ gpio = <&gpio1 RK_PA7 GPIO_ACTIVE_HIGH>; -+ vin-supply = <&vcc12v_dcin>; -+ -+ regulator-state-mem { -+ regulator-off-in-suspend; -+ }; -+ }; -+ -+ vcc3v3_pcie30: vcc3v3-pcie30 { -+ compatible = "regulator-fixed"; -+ regulator-name = "vcc3v3_pcie30"; -+ regulator-min-microvolt = <3300000>; -+ regulator-max-microvolt = <3300000>; -+ enable-active-high; -+ gpios = <&gpio2 RK_PC5 GPIO_ACTIVE_HIGH>; -+ startup-delay-us = <5000>; -+ vin-supply = <&vcc12v_dcin>; -+ }; -+ -+ vcc3v3_sata: vcc3v3-sata { -+ compatible = "regulator-fixed"; -+ regulator-name = "vcc3v3_sata"; -+ regulator-always-on; -+ regulator-boot-on; -+ enable-active-high; -+ regulator-min-microvolt = <3300000>; -+ regulator-max-microvolt = <3300000>; -+ gpio = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>; -+ vin-supply = <&vcc12v_dcin>; -+ }; -+ -+ vcc_amp: vcc-amp { -+ compatible = "regulator-fixed"; -+ regulator-name = "vcc_amp"; -+ regulator-always-on; -+ regulator-boot-on; -+ regulator-min-microvolt = <5000000>; -+ regulator-max-microvolt = <5000000>; -+ gpio = <&gpio1 RK_PD3 GPIO_ACTIVE_HIGH>; -+ vin-supply = <&vcc12v_dcin>; -+ }; -+ -+ vcc_bl: vcc-bl { -+ compatible = "regulator-fixed"; -+ regulator-name = "vcc_bl"; -+ regulator-always-on; -+ regulator-boot-on; -+ enable-active-high; -+ regulator-min-microvolt = <5000000>; -+ regulator-max-microvolt = <5000000>; -+ gpio = <&gpio0 RK_PD0 GPIO_ACTIVE_HIGH>; -+ vin-supply = <&vcc12v_dcin>; -+ }; -+ -+ vcc5v0_host: vcc5v0-host { -+ compatible = "regulator-fixed"; -+ regulator-name = "vcc5v0_host"; -+ regulator-boot-on; -+ regulator-always-on; -+ regulator-min-microvolt = <5000000>; -+ regulator-max-microvolt = <5000000>; -+ enable-active-high; -+ gpio = <&gpio1 RK_PA5 GPIO_ACTIVE_HIGH>; -+ vin-supply = <&vcc5v0_usb>; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&vcc5v0_host_en>; -+ }; -+ -+ vcc5v0_otg: vcc5v0-otg { -+ compatible = "regulator-fixed"; -+ regulator-name = "vcc5v0_otg"; -+ regulator-boot-on; -+ regulator-always-on; -+ regulator-min-microvolt = <5000000>; -+ regulator-max-microvolt = <5000000>; -+ enable-active-high; -+ gpio = <&gpio1 RK_PA4 GPIO_ACTIVE_HIGH>; -+ vin-supply = <&vcc5v0_usb>; -+ }; -+ -+ vcc_usbhost1: vcc-usbhost1 { -+ compatible = "regulator-fixed"; -+ regulator-name = "vcc-usbhost1"; -+ regulator-boot-on; -+ regulator-always-on; -+ enable-active-high; -+ gpio = <&gpio1 RK_PC6 GPIO_ACTIVE_HIGH>; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&usbhost1_en>; -+ }; -+ -+ vcc_usbhost2: vcc-usbhost2 { -+ compatible = "regulator-fixed"; -+ regulator-name = "vcc-usbhost2"; -+ regulator-boot-on; -+ regulator-always-on; -+ enable-active-high; -+ gpio = <&gpio1 RK_PD2 GPIO_ACTIVE_HIGH>; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&usbhost2_en>; -+ }; -+ -+ vcc_usbhost3: vcc-usbhost3 { -+ compatible = "regulator-fixed"; -+ regulator-name = "vcc-usbhost3"; -+ regulator-boot-on; -+ regulator-always-on; -+ enable-active-high; -+ gpio = <&gpio2 RK_PB4 GPIO_ACTIVE_HIGH>; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&usbhost3_en>; -+ }; -+ -+ vcc_usbhost4: vcc-usbhost4 { -+ compatible = "regulator-fixed"; -+ regulator-name = "vcc-usbhost4"; -+ regulator-boot-on; -+ regulator-always-on; -+ enable-active-high; -+ gpio = <&gpio2 RK_PB5 GPIO_ACTIVE_HIGH>; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&usbhost4_en>; -+ }; -+ -+ vcc_usbhost5: vcc-usbhost5 { -+ compatible = "regulator-fixed"; -+ regulator-name = "vcc-usbhost5"; -+ regulator-boot-on; -+ regulator-always-on; -+ enable-active-high; -+ gpio = <&gpio2 RK_PC5 GPIO_ACTIVE_HIGH>; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&usbhost5_en>; -+ }; -+ -+ vcc_modem: vcc-modem { -+ compatible = "regulator-fixed"; -+ regulator-name = "vcc-modem"; -+ regulator-boot-on; -+ regulator-always-on; -+ enable-active-high; -+ gpio = <&gpio4 RK_PA3 GPIO_ACTIVE_HIGH>; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&modem_en>; -+ }; -+ -+ modem_rst: modem-rst { -+ compatible = "regulator-fixed"; -+ regulator-name = "modem-rst"; -+ regulator-boot-on; -+ regulator-always-on; -+ gpio = <&gpio4 RK_PA4 GPIO_ACTIVE_LOW>; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&modem_rst_en>; -+ }; -+ -+ vcc_usbhub: vcc-usbhub { -+ compatible = "regulator-fixed"; -+ regulator-name = "vcc-usbhub"; -+ regulator-boot-on; -+ regulator-always-on; -+ enable-active-high; -+ gpio = <&gpio1 RK_PB0 GPIO_ACTIVE_HIGH>; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&usbhub_en>; -+ }; -+ -+ usbhub_rst: usbhub-rst { -+ compatible = "regulator-fixed"; -+ regulator-name = "usbhub-rst"; -+ regulator-boot-on; -+ regulator-always-on; -+ gpio = <&gpio1 RK_PD5 GPIO_ACTIVE_LOW>; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&usbhub_rst_en>; -+ }; -+ -+ vcc_3v3_sd_s0: vcc-3v3-sd-s0-regulator { -+ compatible = "regulator-fixed"; -+ gpio = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&sd_s0_pwr>; -+ regulator-name = "vcc_3v3_sd_s0"; -+ enable-active-high; -+ regulator-always-on; -+ regulator-min-microvolt = <3300000>; -+ regulator-max-microvolt = <3300000>; -+ }; -+ -+ // vcc3v3_pcie20_wifi: vcc3v3-pcie20-wifi { -+ // compatible = "regulator-fixed"; -+ // regulator-name = "vcc3v3_pcie20_wifi"; -+ // regulator-min-microvolt = <3300000>; -+ // regulator-max-microvolt = <3300000>; -+ // enable-active-high; -+ // gpios = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; -+ // startup-delay-us = <5000>; -+ // vin-supply = <&vcc12v_dcin>; -+ // }; -+ -+ wireless_bluetooth: wireless-bluetooth { -+ compatible = "bluetooth-platdata"; -+ pinctrl-names = "default", "rts_gpio"; -+ pinctrl-0 = <&uart6m1_rtsn>, <&bt_reset_gpio>, <&bt_wake_gpio>, <&bt_irq_gpio>; -+ pinctrl-1 = <&uart6_gpios>; -+ BT,reset_gpio = <&gpio0 RK_PC6 GPIO_ACTIVE_HIGH>; -+ BT,wake_gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>; -+ BT,wake_host_irq = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>; -+ status = "okay"; -+ }; -+ -+ wireless_wlan: wireless-wlan { -+ compatible = "wlan-platdata"; -+ wifi_chip_type = "ap6275p"; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&wifi_host_wake_irq>, <&wifi_poweren_gpio>; -+ WIFI,host_wake_irq = <&gpio0 RK_PB2 GPIO_ACTIVE_HIGH>; -+ WIFI,poweren_gpio = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; -+ status = "okay"; -+ }; -+}; -+ -+&av1d { -+ status = "okay"; -+}; -+ -+&av1d_mmu { -+ status = "okay"; -+}; -+ -+&avsd { -+ status = "okay"; -+}; -+ -+&combphy0_ps { -+ status = "okay"; -+}; -+ -+&combphy1_ps { -+ status = "okay"; -+}; -+ -+&combphy2_psu { -+ status = "okay"; -+}; -+ -+&cpu_l0 { -+ cpu-supply = <&vdd_cpu_lit_s0>; -+ mem-supply = <&vdd_cpu_lit_mem_s0>; -+}; -+ -+&cpu_b0 { -+ cpu-supply = <&vdd_cpu_big0_s0>; -+ mem-supply = <&vdd_cpu_big0_mem_s0>; -+}; -+ -+&cpu_b2 { -+ cpu-supply = <&vdd_cpu_big1_s0>; -+ mem-supply = <&vdd_cpu_big1_mem_s0>; -+}; -+ -+&display_subsystem { -+ clocks = <&hdptxphy_hdmi1>; -+ clock-names = "hdmi1_phy_pll"; -+}; -+ -+&edp0 { -+ force-hpd; -+ status = "okay"; -+ -+ ports { -+ port@1 { -+ reg = <1>; -+ -+ edp0_out_panel: endpoint { -+ remote-endpoint = <&panel_in_edp0>; -+ }; -+ }; -+ }; -+}; -+ -+&edp0_in_vp1 { -+ status = "okay"; -+}; -+ -+&edp0_in_vp0 { -+ status = "disabled"; -+}; -+ -+&edp0_in_vp2 { -+ status = "disabled"; -+}; -+ -+&gmac0 { -+ /* Use rgmii-rxid mode to disable rx delay inside Soc */ -+ phy-mode = "rgmii-rxid"; -+ clock_in_out = "output"; -+ -+ snps,reset-gpio = <&gpio3 RK_PC7 GPIO_ACTIVE_LOW>; -+ snps,reset-active-low; -+ /* Reset time is 20ms, 100ms for rtl8211f */ -+ snps,reset-delays-us = <0 20000 100000>; -+ -+ pinctrl-names = "default"; -+ pinctrl-0 = <&gmac0_miim -+ &gmac0_tx_bus2 -+ &gmac0_rx_bus2 -+ &gmac0_rgmii_clk -+ &gmac0_rgmii_bus>; -+ -+ tx_delay = <0x44>; -+ /* rx_delay = <0x3f>; */ -+ -+ phy-handle = <&rgmii0_phy>; -+ status = "okay"; -+}; -+ -+&gmac1 { -+ /* Use rgmii-rxid mode to disable rx delay inside Soc */ -+ phy-mode = "rgmii-rxid"; -+ clock_in_out = "output"; -+ -+ snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>; -+ snps,reset-active-low; -+ /* Reset time is 20ms, 100ms for rtl8211f */ -+ snps,reset-delays-us = <0 20000 100000>; -+ -+ pinctrl-names = "default"; -+ pinctrl-0 = <&gmac1_miim -+ &gmac1_tx_bus2 -+ &gmac1_rx_bus2 -+ &gmac1_rgmii_clk -+ &gmac1_rgmii_bus>; -+ -+ tx_delay = <0x43>; -+ /* rx_delay = <0x3f>; */ -+ -+ phy-handle = <&rgmii1_phy>; -+ status = "okay"; -+}; -+ -+&gpu { -+ mali-supply = <&vdd_gpu_s0>; -+ mem-supply = <&vdd_gpu_mem_s0>; -+ status = "okay"; -+}; -+ -+&hdmi1 { -+ enable-gpios = <&gpio4 RK_PC1 GPIO_ACTIVE_HIGH>; -+ status = "okay"; -+}; -+ -+&hdmi1_in_vp0 { -+ status = "okay"; -+}; -+ -+&hdmi1_in_vp1 { -+ status = "disabled"; -+}; -+ -+&hdmi1_in_vp2 { -+ status = "disabled"; -+}; -+ -+&hdmi1_sound { -+ status = "okay"; -+}; -+ -+&hdptxphy0 { -+ // lane-polarity-invert = <0 1 0 0>; -+ status = "okay"; -+}; -+ -+&hdptxphy_hdmi0 { -+ status = "disabled"; -+}; -+ -+&hdptxphy_hdmi1 { -+ status = "okay"; -+}; -+ -+&i2c0 { -+ pinctrl-0 = <&i2c0m2_xfer>; -+ #address-cells = <1>; -+ #size-cells = <0>; -+ status = "okay"; -+ -+ vdd_cpu_big0_s0: vdd_cpu_big0_mem_s0: rk8602@42 { -+ compatible = "rockchip,rk8602"; -+ reg = <0x42>; -+ vin-supply = <&vcc5v0_sys>; -+ regulator-compatible = "rk860x-reg"; -+ //regulator-name = "vdd_cpu_big0_s1"; -+ regulator-name = "vdd_cpu_big0_s0"; -+ regulator-min-microvolt = <550000>; -+ regulator-max-microvolt = <1050000>; -+ regulator-ramp-delay = <2300>; -+ rockchip,suspend-voltage-selector = <1>; -+ regulator-boot-on; -+ regulator-always-on; -+ regulator-state-mem { -+ regulator-off-in-suspend; -+ }; -+ }; -+ -+ vdd_cpu_big1_s0: vdd_cpu_big1_mem_s0: rk8603@43 { -+ compatible = "rockchip,rk8603"; -+ reg = <0x43>; -+ vin-supply = <&vcc5v0_sys>; -+ regulator-compatible = "rk860x-reg"; -+ regulator-name = "vdd_cpu_big1_s0"; -+ regulator-min-microvolt = <550000>; -+ regulator-max-microvolt = <1050000>; -+ regulator-ramp-delay = <2300>; -+ rockchip,suspend-voltage-selector = <1>; -+ regulator-boot-on; -+ regulator-always-on; -+ regulator-state-mem { -+ regulator-off-in-suspend; -+ }; -+ }; -+}; -+ -+&i2c1 { -+ status = "okay"; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&i2c1m2_xfer>; -+ -+ vdd_npu_s0: vdd_npu_mem_s0: rk8602@42 { -+ compatible = "rockchip,rk8602"; -+ reg = <0x42>; -+ vin-supply = <&vcc5v0_sys>; -+ regulator-compatible = "rk860x-reg"; -+ regulator-name = "vdd_npu_s0"; -+ regulator-min-microvolt = <550000>; -+ regulator-max-microvolt = <950000>; -+ regulator-ramp-delay = <2300>; -+ rockchip,suspend-voltage-selector = <1>; -+ regulator-boot-on; -+ regulator-always-on; -+ regulator-state-mem { -+ regulator-off-in-suspend; -+ }; -+ }; -+}; -+ -+&i2c7 { -+ status = "okay"; -+ -+ es8316: es8316@10 { -+ status = "okay"; -+ #sound-dai-cells = <0>; -+ compatible = "everest,es8316"; -+ reg = <0x10>; -+ clocks = <&mclkout_i2s0>; -+ clock-names = "mclk"; -+ assigned-clocks = <&mclkout_i2s0>; -+ assigned-clock-rates = <12288000>; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&i2s0_mclk>; -+ // spk-con-gpio = <&gpio4 RK_PB2 GPIO_ACTIVE_LOW>; -+ // extcon = <&rk_headset>; -+ }; -+ -+ hym8563: hym8563@51 { -+ compatible = "haoyu,hym8563"; -+ reg = <0x51>; -+ #clock-cells = <0>; -+ clock-frequency = <32768>; -+ clock-output-names = "hym8563"; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&hym8563_int>; -+ interrupt-parent = <&gpio0>; -+ interrupts = ; -+ wakeup-source; -+ }; -+}; -+ -+&i2s0_8ch { -+ status = "okay"; -+ #sound-dai-cells = <0>; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&i2s0_lrck -+ &i2s0_sclk -+ &i2s0_sdi0 -+ &i2s0_sdo0>; -+}; -+ -+&i2s2_2ch { -+ pinctrl-0 = <&i2s2m1_lrck &i2s2m1_sclk &i2s2m1_sdi &i2s2m1_sdo>; -+ rockchip,bclk-fs = <32>; -+ status = "disabled"; -+}; -+ -+&i2s6_8ch { -+ status = "okay"; -+}; -+ -+&i2s7_8ch { -+ status = "okay"; -+}; -+ -+&iep { -+ status = "okay"; -+}; -+ -+&iep_mmu { -+ status = "okay"; -+}; -+ -+&jpegd { -+ status = "okay"; -+}; -+ -+&jpegd_mmu { -+ status = "okay"; -+}; -+ -+&jpege_ccu { -+ status = "okay"; -+}; -+ -+&jpege0 { -+ status = "okay"; -+}; -+ -+&jpege0_mmu { -+ status = "okay"; -+}; -+ -+&jpege1 { -+ status = "okay"; -+}; -+ -+&jpege1_mmu { -+ status = "okay"; -+}; -+ -+&jpege2 { -+ status = "okay"; -+}; -+ -+&jpege2_mmu { -+ status = "okay"; -+}; -+ -+&jpege3 { -+ status = "okay"; -+}; -+ -+&jpege3_mmu { -+ status = "okay"; -+}; -+ -+&mdio0 { -+ rgmii0_phy: phy@1 { -+ compatible = "ethernet-phy-ieee802.3-c22"; -+ reg = <0x1>; -+ }; -+}; -+ -+&mdio1 { -+ rgmii1_phy: phy@1 { -+ compatible = "ethernet-phy-ieee802.3-c22"; -+ reg = <0x1>; -+ }; -+}; -+ -+&mpp_srv { -+ status = "okay"; -+}; -+ -+&pcie2x1l0 { -+ reset-gpios = <&gpio1 RK_PB4 GPIO_ACTIVE_HIGH>; -+ rockchip,skip-scan-in-resume; -+ rockchip,perst-inactive-ms = <500>; -+ // vpcie3v3-supply = <&vcc3v3_pcie20_wifi>; -+ status = "okay"; -+}; -+ -+&pinctrl { -+ headphone { -+ hp_det: hp-det { -+ rockchip,pins = <1 RK_PC4 RK_FUNC_GPIO &pcfg_pull_up>; -+ }; -+ }; -+ -+ hym8563 { -+ hym8563_int: hym8563-int { -+ rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>; -+ }; -+ }; -+ -+ sdio-pwrseq { -+ wifi_enable_h: wifi-enable-h { -+ rockchip,pins = <0 RK_PC4 RK_FUNC_GPIO &pcfg_pull_up>; -+ }; -+ }; -+ -+ sdmmc { -+ sd_s0_pwr: sd-s0-pwr { -+ rockchip,pins = <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_up>; -+ }; -+ }; -+ -+ usb { -+ vcc5v0_host_en: vcc5v0-host-en { -+ rockchip,pins = <1 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; -+ }; -+ -+ usbhost1_en: usbhost1-en { -+ rockchip,pins = <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; -+ }; -+ -+ usbhost2_en: usbhost2-en { -+ rockchip,pins = <1 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>; -+ }; -+ -+ usbhost3_en: usbhost3-en { -+ rockchip,pins = <2 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; -+ }; -+ -+ usbhost4_en: usbhost4-en { -+ rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; -+ }; -+ -+ usbhost5_en: usbhost5-en { -+ rockchip,pins = <2 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>; -+ }; -+ -+ usbhub_en: usbhub-en { -+ rockchip,pins = <1 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; -+ }; -+ -+ usbhub_rst_en: usbhub-rst-en { -+ rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>; -+ }; -+ }; -+ -+ modem { -+ modem_en: modem-en { -+ rockchip,pins = <4 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>; -+ }; -+ -+ modem_rst_en: modem-rst-en { -+ rockchip,pins = <4 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>; -+ }; -+ }; -+ -+ wireless-bluetooth { -+ uart6_gpios: uart6-gpios { -+ rockchip,pins = <1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; -+ }; -+ -+ bt_reset_gpio: bt-reset-gpio { -+ rockchip,pins = <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; -+ }; -+ -+ bt_wake_gpio: bt-wake-gpio { -+ rockchip,pins = <0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>; -+ }; -+ -+ bt_irq_gpio: bt-irq-gpio { -+ rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>; -+ }; -+ }; -+ -+ wireless-wlan { -+ wifi_host_wake_irq: wifi-host-wake-irq { -+ rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>; -+ }; -+ -+ wifi_poweren_gpio: wifi-poweren-gpio { -+ rockchip,pins = <0 RK_PC4 RK_FUNC_GPIO &pcfg_pull_up>; -+ }; -+ }; -+ -+}; -+ -+&pwm0 { -+ pinctrl-0 = <&pwm0m0_pins>; -+ // pinctrl-names = "active"; -+ status = "okay"; -+}; -+ -+&pwm3 { -+ pinctrl-0 = <&pwm3m1_pins>; -+ status = "okay"; -+}; -+ -+&route_edp0 { -+ status = "okay"; -+ // connect = <&vp1_out_edp0>; -+}; -+ -+// &route_hdmi1 { -+// status = "okay"; -+// connect = <&vp0_out_hdmi1>; -+// }; -+ -+&rga3_core0 { -+ status = "okay"; -+}; -+ -+&rga3_0_mmu { -+ status = "okay"; -+}; -+ -+&rga3_core1 { -+ status = "okay"; -+}; -+ -+&rga3_1_mmu { -+ status = "okay"; -+}; -+ -+&rga2 { -+ status = "okay"; -+}; -+ -+&rknpu { -+ rknpu-supply = <&vdd_npu_s0>; -+ mem-supply = <&vdd_npu_mem_s0>; -+ status = "okay"; -+}; -+ -+&rknpu_mmu { -+ status = "okay"; -+}; -+ -+&rkvdec_ccu { -+ status = "okay"; -+}; -+ -+&rkvdec0 { -+ status = "okay"; -+}; -+ -+&rkvdec0_mmu { -+ status = "okay"; -+}; -+ -+&rkvdec1 { -+ status = "okay"; -+}; -+ -+&rkvdec1_mmu { -+ status = "okay"; -+}; -+ -+&rkvenc_ccu { -+ status = "okay"; -+}; -+ -+&rkvenc0 { -+ venc-supply = <&vdd_vdenc_s0>; -+ mem-supply = <&vdd_vdenc_mem_s0>; -+ status = "okay"; -+}; -+ -+&rkvenc0_mmu { -+ status = "okay"; -+}; -+ -+&rkvenc1 { -+ venc-supply = <&vdd_vdenc_s0>; -+ mem-supply = <&vdd_vdenc_mem_s0>; -+ status = "okay"; -+}; -+ -+&rkvenc1_mmu { -+ status = "okay"; -+}; -+ -+&rockchip_suspend { -+ status = "okay"; -+ rockchip,sleep-debug-en = <1>; -+}; -+ -+&saradc { -+ status = "okay"; -+ vref-supply = <&vcc_1v8_s0>; -+}; -+ -+&sata0 { -+ status = "okay"; -+}; -+ -+&sdhci { -+ bus-width = <8>; -+ no-sdio; -+ no-sd; -+ non-removable; -+ max-frequency = <200000000>; -+ mmc-hs400-1_8v; -+ mmc-hs400-enhanced-strobe; -+ full-pwr-cycle-in-suspend; -+ status = "okay"; -+}; -+ -+&sdmmc { -+ no-sdio; -+ no-mmc; -+ bus-width = <4>; -+ cap-mmc-highspeed; -+ cap-sd-highspeed; -+ disable-wp; -+ sd-uhs-sdr104; -+ vqmmc-supply = <&vccio_sd_s0>; -+ vmmc-supply = <&vcc_3v3_sd_s0>; -+ status = "okay"; -+}; -+ -+&tsadc { -+ status = "okay"; -+}; -+ -+&uart6 { -+ status = "okay"; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&uart6m1_xfer>, <&uart6m1_ctsn>; -+}; -+ -+&uart7 { -+ status = "okay"; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&uart7m1_xfer>; -+}; -+ -+&uart9 { -+ status = "okay"; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&uart9m2_xfer>; -+}; -+ -+&u2phy0 { -+ status = "okay"; -+}; -+ -+&u2phy1 { -+ status = "okay"; -+}; -+ -+&u2phy2 { -+ status = "okay"; -+}; -+ -+&u2phy3 { -+ status = "okay"; -+}; -+ -+&u2phy0_otg { -+ phy-supply = <&vcc5v0_otg>; -+ status = "okay"; -+}; -+ -+// &u2phy1_otg { -+// phy-supply = <&vcc5v0_host>; -+// status = "okay"; -+// }; -+ -+// &u2phy2_host { -+// phy-supply = <&vcc5v0_host>; -+// status = "okay"; -+// }; -+ -+// &u2phy3_host { -+// phy-supply = <&vcc5v0_host>; -+// status = "okay"; -+// }; -+ -+&usb_host0_ehci { -+ status = "okay"; -+}; -+ -+&usb_host0_ohci { -+ status = "okay"; -+}; -+ -+&usb_host1_ehci { -+ status = "okay"; -+}; -+ -+&usb_host1_ohci { -+ status = "okay"; -+}; -+ -+&usbdp_phy0 { -+ status = "okay"; -+}; -+ -+&usbdp_phy0_dp { -+ status = "okay"; -+}; -+ -+&usbdp_phy0_u3 { -+ status = "okay"; -+}; -+ -+&usbdp_phy1 { -+ status = "okay"; -+}; -+ -+&usbdp_phy1_dp { -+ status = "okay"; -+}; -+ -+&usbdp_phy1_u3 { -+ status = "okay"; -+}; -+ -+&usbdrd3_0 { -+ status = "okay"; -+}; -+ -+&usbdrd_dwc3_0 { -+ dr_mode = "host"; -+ extcon = <&u2phy0>; -+ status = "okay"; -+}; -+ -+&usbhost3_0 { -+ status = "okay"; -+}; -+ -+&usbhost_dwc3_0 { -+ status = "okay"; -+}; -+ -+&usbdrd3_1 { -+ status = "okay"; -+}; -+ -+&usbdrd_dwc3_1 { -+ dr_mode = "host"; -+ extcon = <&u2phy1>; -+ status = "okay"; -+}; -+ -+&vdpu { -+ status = "okay"; -+}; -+ -+&vdpu_mmu { -+ status = "okay"; -+}; -+ -+&vepu { -+ status = "okay"; -+}; -+ -+&vop { -+ status = "okay"; -+ vop-supply = <&vdd_log_s0>; -+}; -+ -+&vop_mmu { -+ status = "okay"; -+}; -+ -+/* vp0 & vp1 splice for 8K output */ -+&vp0 { -+ rockchip,plane-mask = <(1 << ROCKCHIP_VOP2_CLUSTER0 | 1 << ROCKCHIP_VOP2_ESMART0)>; -+ rockchip,primary-plane = ; -+}; -+ -+&vp1 { -+ rockchip,plane-mask = <(1 << ROCKCHIP_VOP2_CLUSTER1 | 1 << ROCKCHIP_VOP2_ESMART1)>; -+ rockchip,primary-plane = ; -+}; -+ -+&vp2 { -+ rockchip,plane-mask = <(1 << ROCKCHIP_VOP2_CLUSTER2 | 1 << ROCKCHIP_VOP2_ESMART2)>; -+ rockchip,primary-plane = ; -+}; -+ -+&vp3 { -+ rockchip,plane-mask = <(1 << ROCKCHIP_VOP2_CLUSTER3 | 1 << ROCKCHIP_VOP2_ESMART3)>; -+ rockchip,primary-plane = ; -+}; --- -2.43.0 -