]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: rk3588: Sync device tree from v6.7-rockchip-dts64-1 tag
authorJonas Karlman <jonas@kwiboo.se>
Tue, 17 Oct 2023 17:02:08 +0000 (17:02 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Tue, 24 Oct 2023 07:55:16 +0000 (15:55 +0800)
Sync rk3588 device tree from v6.7-rockchip-dts64-1 tag.

Adds PCIe, button and led nodes to rk3588-evb1-v10 and rk3588-rock-5b
boards. Also remove includes from u-boot.dtsi-files that is no longer
needed.

Linux commits:
42145b7a8235 ("arm64: dts: rockchip: add PCIe network controller to rock-5b")
199cbd5f195a ("arm64: dts: rockchip: add PCIe for M.2 M-key to rock-5b")
da447ec38780 ("arm64: dts: rockchip: add PCIe for M.2 E-Key to rock-5b")
86a2024d95e2 ("arm64: dts: rockchip: add PCIe2 network controller to rk3588-evb1")
46bb398ea1d8 ("arm64: dts: rockchip: add PCIe3 bus to rk3588-evb1")
1c9a53ff7ece ("arm64: dts: rockchip: Add sdio node to rock-5b")
3eaf2abd11aa ("arm64: dts: rockchip: Add sfc node to rk3588s")
bf012368bb0a ("arm64: dts: rockchip: Add I2S2 M0 pin definitions to rk3588s")
3d77a3e51b0f ("arm64: dts: rockchip: Add UART9 M0 pin definitions to rk3588s")
0002c377e862 ("arm64: dts: rockchip: Remove duplicate regulator vcc3v3_wf from rock-5b")
a6169ab36923 ("arm64: dts: rockchip: Enable UART6 on rock-5b")
dd6dc0c4c126 ("arm64: dts: rockchip: Add AV1 decoder node to rk3588s")
afa933c208e5 ("arm64: dts: rockchip: add ADC buttons to rk3588-evb1")
7952cbbda301 ("arm64: dts: rockchip: add status LED to rock-5b")

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Christopher Obbard <chris.obbard@collabora.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3588-evb1-v10-u-boot.dtsi
arch/arm/dts/rk3588-evb1-v10.dts
arch/arm/dts/rk3588-rock-5b-u-boot.dtsi
arch/arm/dts/rk3588-rock-5b.dts
arch/arm/dts/rk3588-u-boot.dtsi
arch/arm/dts/rk3588s-pinctrl.dtsi
arch/arm/dts/rk3588s-rock-5a-u-boot.dtsi
arch/arm/dts/rk3588s-u-boot.dtsi
arch/arm/dts/rk3588s.dtsi

index bd2e2594863397a4e26abeaaeb36dad2f1349a54..e8566785e965aee0d1f64dd1b6b291c6680748a9 100644 (file)
@@ -6,16 +6,7 @@
 #include "rk3588-u-boot.dtsi"
 
 / {
-       aliases {
-               mmc0 = &sdmmc;
-               mmc1 = &sdhci;
-       };
-
        chosen {
-               u-boot,spl-boot-order = &sdhci;
+               u-boot,spl-boot-order = "same-as-spl", &sdhci;
        };
 };
-
-&sdhci {
-       bootph-all;
-};
index 229a9111f5eb05a6bb9dd6db40e24b4854b3104a..b9d789d57862c2def973671cb4de41ea91b0bba5 100644 (file)
@@ -7,6 +7,7 @@
 /dts-v1/;
 
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
 #include <dt-bindings/pinctrl/rockchip.h>
 #include "rk3588.dtsi"
 
                stdout-path = "serial2:1500000n8";
        };
 
+       adc-keys {
+               compatible = "adc-keys";
+               io-channels = <&saradc 1>;
+               io-channel-names = "buttons";
+               keyup-threshold-microvolt = <1800000>;
+               poll-interval = <100>;
+
+               button-vol-up {
+                       label = "Volume Up";
+                       linux,code = <KEY_VOLUMEUP>;
+                       press-threshold-microvolt = <17000>;
+               };
+
+               button-vol-down {
+                       label = "Volume Down";
+                       linux,code = <KEY_VOLUMEDOWN>;
+                       press-threshold-microvolt = <417000>;
+               };
+
+               button-menu {
+                       label = "Menu";
+                       linux,code = <KEY_MENU>;
+                       press-threshold-microvolt = <890000>;
+               };
+
+               button-escape {
+                       label = "Escape";
+                       linux,code = <KEY_ESC>;
+                       press-threshold-microvolt = <1235000>;
+               };
+       };
+
        backlight: backlight {
                compatible = "pwm-backlight";
                power-supply = <&vcc12v_dcin>;
                pwms = <&pwm2 0 25000 0>;
        };
 
+       pcie20_avdd0v85: pcie20-avdd0v85-regulator {
+               compatible = "regulator-fixed";
+               regulator-name = "pcie20_avdd0v85";
+               regulator-always-on;
+               regulator-boot-on;
+               regulator-min-microvolt = <850000>;
+               regulator-max-microvolt = <850000>;
+               vin-supply = <&avdd_0v85_s0>;
+       };
+
+       pcie20_avdd1v8: pcie20-avdd1v8-regulator {
+               compatible = "regulator-fixed";
+               regulator-name = "pcie20_avdd1v8";
+               regulator-always-on;
+               regulator-boot-on;
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+               vin-supply = <&avcc_1v8_s0>;
+       };
+
+       pcie30_avdd0v75: pcie30-avdd0v75-regulator {
+               compatible = "regulator-fixed";
+               regulator-name = "pcie30_avdd0v75";
+               regulator-always-on;
+               regulator-boot-on;
+               regulator-min-microvolt = <750000>;
+               regulator-max-microvolt = <750000>;
+               vin-supply = <&avdd_0v75_s0>;
+       };
+
+       pcie30_avdd1v8: pcie30-avdd1v8-regulator {
+               compatible = "regulator-fixed";
+               regulator-name = "pcie30_avdd1v8";
+               regulator-always-on;
+               regulator-boot-on;
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+               vin-supply = <&avcc_1v8_s0>;
+       };
+
        vcc12v_dcin: vcc12v-dcin-regulator {
                compatible = "regulator-fixed";
                regulator-name = "vcc12v_dcin";
                regulator-max-microvolt = <12000000>;
        };
 
+       vcc3v3_pcie30: vcc3v3-pcie30-regulator {
+               compatible = "regulator-fixed";
+               regulator-name = "vcc3v3_pcie30";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               enable-active-high;
+               gpios = <&gpio3 RK_PC3 GPIO_ACTIVE_HIGH>;
+               startup-delay-us = <5000>;
+               vin-supply = <&vcc12v_dcin>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&vcc3v3_pcie30_en>;
+       };
+
        vcc5v0_host: vcc5v0-host-regulator {
                compatible = "regulator-fixed";
                regulator-name = "vcc5v0_host";
        status = "okay";
 };
 
+&combphy2_psu {
+       status = "okay";
+};
+
 &cpu_b0 {
        cpu-supply = <&vdd_cpu_big0_s0>;
 };
        };
 };
 
+&pcie2x1l1 {
+       reset-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pcie2_1_rst>, <&rtl8111_isolate>;
+       status = "okay";
+};
+
+&pcie30phy {
+       status = "okay";
+};
+
+&pcie3x4 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pcie3_reset>;
+       reset-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>;
+       vpcie3v3-supply = <&vcc3v3_pcie30>;
+       status = "okay";
+};
+
 &pinctrl {
+       rtl8111 {
+               rtl8111_isolate: rtl8111-isolate {
+                       rockchip,pins = <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>;
+               };
+       };
+
        rtl8211f {
                rtl8211f_rst: rtl8211f-rst {
                        rockchip,pins = <4 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
                };
        };
 
+       pcie2 {
+               pcie2_1_rst: pcie2-1-rst {
+                       rockchip,pins = <4 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
+               };
+       };
+
+       pcie3 {
+               pcie3_reset: pcie3-reset {
+                       rockchip,pins = <4 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;
+               };
+
+               vcc3v3_pcie30_en: vcc3v3-pcie30-en {
+                       rockchip,pins = <3 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>;
+               };
+       };
+
        usb {
                vcc5v0_host_en: vcc5v0-host-en {
                        rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
        status = "okay";
 };
 
+&saradc {
+       vref-supply = <&vcc_1v8_s0>;
+       status = "okay";
+};
+
 &sdhci {
        bus-width = <8>;
        no-sdio;
index 96cc84e5aac95dbc16e11ad0df473ade48c38bd1..3f390ef26a3f922af3fcdd796555d2aa84bb27d1 100644 (file)
@@ -4,9 +4,6 @@
  */
 
 #include "rk3588-u-boot.dtsi"
-#include <dt-bindings/pinctrl/rockchip.h>
-#include <dt-bindings/input/input.h>
-#include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/usb/pd.h>
 
 / {
                regulator-max-microvolt = <12000000>;
        };
 
-       vcc3v3_pcie30: vcc3v3-pcie30-regulator {
-               compatible = "regulator-fixed";
-               regulator-name = "vcc3v3_pcie30";
-               regulator-min-microvolt = <3300000>;
-               regulator-max-microvolt = <3300000>;
-               enable-active-high;
-               gpios = <&gpio1 RK_PA4 GPIO_ACTIVE_HIGH>;
-               startup-delay-us = <5000>;
-               vin-supply = <&vcc5v0_sys>;
-               pinctrl-names = "default";
-               pinctrl-0 = <&pcie3_vcc3v3_en>;
-       };
-
        vcc5v0_usbdcin: vcc5v0-usbdcin {
                compatible = "regulator-fixed";
                regulator-name = "vcc5v0_usbdcin";
        };
 };
 
-&combphy0_ps {
-       status = "okay";
-};
-
 &fspim2_pins {
        bootph-all;
 };
 
-&pcie2x1l2 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&pcie2x1l2_pins &pcie_reset_h>;
-       reset-gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_HIGH>;
-       status = "okay";
-};
-
-&pcie30phy {
-       status = "okay";
-};
-
-&pcie3x4 {
-       reset-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>;
-       vpcie3v3-supply = <&vcc3v3_pcie30>;
-       pinctrl-names = "default";
-       pinctrl-0 = <&pcie3_rst>;
-       status = "okay";
-};
-
 &pinctrl {
-       pcie {
-               pcie_reset_h: pcie-reset-h {
-                       rockchip,pins = <3 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
-               };
-
-               pcie2x1l2_pins: pcie2x1l2-pins {
-                       rockchip,pins = <3 RK_PC7 4 &pcfg_pull_none>,
-                                       <3 RK_PD0 4 &pcfg_pull_none>;
-               };
-
-               pcie3_rst: pcie3-rst {
-                       rockchip,pins = <4 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;
-               };
-
-               pcie3_vcc3v3_en: pcie3-vcc3v3-en {
-                       rockchip,pins = <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
-               };
-       };
-
        usb-typec {
                usbc0_int: usbc0-int {
                        rockchip,pins = <3 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up>;
        u-boot,spl-sfc-no-dma;
        pinctrl-names = "default";
        pinctrl-0 = <&fspim2_pins>;
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
 
        flash@0 {
index 8ab60968f27502b1107741f3a95c920a89cbefbd..741f631db345f0095a6e6f5e21bb5d2e400b30fc 100644 (file)
@@ -3,6 +3,7 @@
 /dts-v1/;
 
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/leds/common.h>
 #include "rk3588.dtsi"
 
 / {
@@ -12,6 +13,7 @@
        aliases {
                mmc0 = &sdhci;
                mmc1 = &sdmmc;
+               mmc2 = &sdio;
                serial2 = &uart2;
        };
 
                pinctrl-0 = <&hp_detect>;
        };
 
+       leds {
+               compatible = "gpio-leds";
+               pinctrl-names = "default";
+               pinctrl-0 = <&led_rgb_b>;
+
+               led_rgb_b {
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_BLUE>;
+                       gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>;
+                       linux,default-trigger = "heartbeat";
+               };
+       };
+
        fan: pwm-fan {
                compatible = "pwm-fan";
                cooling-levels = <0 95 145 195 255>;
                #cooling-cells = <2>;
        };
 
+       vcc3v3_pcie2x1l0: vcc3v3-pcie2x1l0-regulator {
+               compatible = "regulator-fixed";
+               enable-active-high;
+               gpios = <&gpio1 RK_PD2 GPIO_ACTIVE_HIGH>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pcie2_0_vcc3v3_en>;
+               regulator-name = "vcc3v3_pcie2x1l0";
+               regulator-always-on;
+               regulator-boot-on;
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               startup-delay-us = <50000>;
+               vin-supply = <&vcc5v0_sys>;
+       };
+
+       vcc3v3_pcie2x1l2: vcc3v3-pcie2x1l2-regulator {
+               compatible = "regulator-fixed";
+               regulator-name = "vcc3v3_pcie2x1l2";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               startup-delay-us = <5000>;
+               vin-supply = <&vcc_3v3_s3>;
+       };
+
+       vcc3v3_pcie30: vcc3v3-pcie30-regulator {
+               compatible = "regulator-fixed";
+               enable-active-high;
+               gpios = <&gpio1 RK_PA4 GPIO_ACTIVE_HIGH>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pcie3_vcc3v3_en>;
+               regulator-name = "vcc3v3_pcie30";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               startup-delay-us = <5000>;
+               vin-supply = <&vcc5v0_sys>;
+       };
+
        vcc5v0_host: vcc5v0-host-regulator {
                compatible = "regulator-fixed";
                regulator-name = "vcc5v0_host";
        };
 };
 
+&combphy0_ps {
+       status = "okay";
+};
+
+&combphy1_ps {
+       status = "okay";
+};
+
 &cpu_b0 {
        cpu-supply = <&vdd_cpu_big0_s0>;
 };
        };
 };
 
+&pcie2x1l0 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pcie2_0_rst>;
+       reset-gpios = <&gpio4 RK_PA5 GPIO_ACTIVE_HIGH>;
+       vpcie3v3-supply = <&vcc3v3_pcie2x1l0>;
+       status = "okay";
+};
+
+&pcie2x1l2 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pcie2_2_rst>;
+       reset-gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_HIGH>;
+       vpcie3v3-supply = <&vcc3v3_pcie2x1l2>;
+       status = "okay";
+};
+
+&pcie30phy {
+       status = "okay";
+};
+
+&pcie3x4 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pcie3_rst>;
+       reset-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>;
+       vpcie3v3-supply = <&vcc3v3_pcie30>;
+       status = "okay";
+};
+
 &pinctrl {
        hym8563 {
                hym8563_int: hym8563-int {
                };
        };
 
+       leds {
+               led_rgb_b: led-rgb-b {
+                       rockchip,pins = <0 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
+               };
+       };
+
        sound {
                hp_detect: hp-detect {
                        rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
                };
        };
 
+       pcie2 {
+               pcie2_0_rst: pcie2-0-rst {
+                       rockchip,pins = <4 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
+               };
+
+               pcie2_0_vcc3v3_en: pcie2-0-vcc-en {
+                       rockchip,pins = <1 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
+               };
+
+               pcie2_2_rst: pcie2-2-rst {
+                       rockchip,pins = <3 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
+               };
+       };
+
+       pcie3 {
+               pcie3_rst: pcie3-rst {
+                       rockchip,pins = <4 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;
+               };
+
+               pcie3_vcc3v3_en: pcie3-vcc3v3-en {
+                       rockchip,pins = <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
+               };
+       };
+
        usb {
                vcc5v0_host_en: vcc5v0-host-en {
                        rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
        status = "okay";
 };
 
+&sdio {
+       max-frequency = <200000000>;
+       no-sd;
+       no-mmc;
+       non-removable;
+       bus-width = <4>;
+       cap-sdio-irq;
+       disable-wp;
+       keep-power-in-suspend;
+       wakeup-source;
+       sd-uhs-sdr12;
+       sd-uhs-sdr25;
+       sd-uhs-sdr50;
+       sd-uhs-sdr104;
+       vmmc-supply = <&vcc3v3_pcie2x1l0>;
+       vqmmc-supply = <&vcc_1v8_s3>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&sdiom0_pins>;
+       status = "okay";
+};
+
+&uart6 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&uart6m1_xfer &uart6m1_ctsn &uart6m1_rtsn>;
+       status = "okay";
+};
+
 &spi2 {
        status = "okay";
        assigned-clocks = <&cru CLK_SPI2>;
index 68b419f3abd57a2a79faec9c19ebf3ce67a2349f..15de4706254eeacb915b665cf3f7074e90bd77f5 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2022 Edgeble AI Technologies Pvt. Ltd.
  */
 
-#include "rockchip-u-boot.dtsi"
 #include "rk3588s-u-boot.dtsi"
 
 / {
index 48181671eacb0db570f3441d7344107026d420fe..63151d9d237755f4c471e96e18dd90e09675de47 100644 (file)
        };
 
        i2s2 {
+               /omit-if-no-ref/
+               i2s2m0_lrck: i2s2m0-lrck {
+                       rockchip,pins =
+                               /* i2s2m0_lrck */
+                               <2 RK_PC0 2 &pcfg_pull_none>;
+               };
+
+               /omit-if-no-ref/
+               i2s2m0_mclk: i2s2m0-mclk {
+                       rockchip,pins =
+                               /* i2s2m0_mclk */
+                               <2 RK_PB6 2 &pcfg_pull_none>;
+               };
+
+               /omit-if-no-ref/
+               i2s2m0_sclk: i2s2m0-sclk {
+                       rockchip,pins =
+                               /* i2s2m0_sclk */
+                               <2 RK_PB7 2 &pcfg_pull_none>;
+               };
+
+               /omit-if-no-ref/
+               i2s2m0_sdi: i2s2m0-sdi {
+                       rockchip,pins =
+                               /* i2s2m0_sdi */
+                               <2 RK_PC3 2 &pcfg_pull_none>;
+               };
+
+               /omit-if-no-ref/
+               i2s2m0_sdo: i2s2m0-sdo {
+                       rockchip,pins =
+                               /* i2s2m0_sdo */
+                               <4 RK_PC3 2 &pcfg_pull_none>;
+               };
+
                /omit-if-no-ref/
                i2s2m1_lrck: i2s2m1-lrck {
                        rockchip,pins =
        };
 
        uart9 {
+               /omit-if-no-ref/
+               uart9m0_xfer: uart9m0-xfer {
+                       rockchip,pins =
+                               /* uart9_rx_m0 */
+                               <2 RK_PC4 10 &pcfg_pull_up>,
+                               /* uart9_tx_m0 */
+                               <2 RK_PC2 10 &pcfg_pull_up>;
+               };
+
                /omit-if-no-ref/
                uart9m1_xfer: uart9m1-xfer {
                        rockchip,pins =
index c47b0a7112c8ee1c926785f0ded0c589dba61a8e..584476f77b13cf0e52336bd4b054829ea975d4f8 100644 (file)
@@ -4,10 +4,6 @@
  */
 
 #include "rk3588s-u-boot.dtsi"
-#include <dt-bindings/pinctrl/rockchip.h>
-#include <dt-bindings/input/input.h>
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/usb/pd.h>
 
 / {
        chosen {
index 27b2d7eff87b9c2676c38108c6b93f1659c391c0..878936fa07d6843ee3132c0fe0b1931689411728 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #include "rockchip-u-boot.dtsi"
-#include <dt-bindings/phy/phy.h>
 
 / {
        aliases {
                reg = <0x0 0xfd5c8000 0x0 0x4000>;
        };
 
-       sfc: spi@fe2b0000 {
-               compatible = "rockchip,sfc";
-               reg = <0x0 0xfe2b0000 0x0 0x4000>;
-               interrupts = <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH 0>;
-               clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>;
-               clock-names = "clk_sfc", "hclk_sfc";
-               status = "disabled";
-       };
-
        rng: rng@fe378000 {
                compatible = "rockchip,trngv1";
                reg = <0x0 0xfe378000 0x0 0x200>;
index 5544f66c6ff411af3a3ccc9071682ace80410977..61a9a11c3bb0e46640d258f10973937ed83feb0e 100644 (file)
                };
        };
 
+       sfc: spi@fe2b0000 {
+               compatible = "rockchip,sfc";
+               reg = <0x0 0xfe2b0000 0x0 0x4000>;
+               interrupts = <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH 0>;
+               clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>;
+               clock-names = "clk_sfc", "hclk_sfc";
+               #address-cells = <1>;
+               #size-cells = <0>;
+               status = "disabled";
+       };
+
        sdmmc: mmc@fe2c0000 {
                compatible = "rockchip,rk3588-dw-mshc", "rockchip,rk3288-dw-mshc";
                reg = <0x0 0xfe2c0000 0x0 0x4000>;
                        #interrupt-cells = <2>;
                };
        };
+
+       av1d: video-codec@fdc70000 {
+               compatible = "rockchip,rk3588-av1-vpu";
+               reg = <0x0 0xfdc70000 0x0 0x800>;
+               interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH 0>;
+               interrupt-names = "vdpu";
+               assigned-clocks = <&cru ACLK_AV1>, <&cru PCLK_AV1>;
+               assigned-clock-rates = <400000000>, <400000000>;
+               clocks = <&cru ACLK_AV1>, <&cru PCLK_AV1>;
+               clock-names = "aclk", "hclk";
+               power-domains = <&power RK3588_PD_AV1>;
+               resets = <&cru SRST_A_AV1>, <&cru SRST_P_AV1>, <&cru SRST_A_AV1_BIU>, <&cru SRST_P_AV1_BIU>;
+       };
 };
 
 #include "rk3588s-pinctrl.dtsi"