diff --git a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi index e0427a930fc1..a3404b6867eb 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi @@ -159,7 +159,7 @@ compatible = "rockchip,rk3588-uart", "snps,dw-apb-uart"; reg = <0x0 0xfd890000 0x0 0x100>; interrupts = ; - clocks = <&xin24m>, <&xin24m>; + clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>; clock-names = "baudclk", "apb_pclk"; reg-shift = <2>; reg-io-width = <4>; @@ -172,8 +172,8 @@ reg = <0x0 0xfe2c0000 0x0 0x4000>; interrupts = ; max-frequency = <150000000>; - clocks = <&xin24m>, <&xin24m>, - <&xin24m>, <&xin24m>; + clocks = <&scmi_clk SCMI_HCLK_SD>, <&scmi_clk SCMI_CCLK_SD>, + <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>; clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; fifo-depth = <0x100>; status = "disabled"; @@ -214,8 +214,7 @@ reg = <0x0 0xfea10000 0x0 0x4000>; interrupts = , ; - //clocks = <&cru ACLK_BUS>; - clocks = <&xin24m>; + clocks = <&cru ACLK_DMAC0>; clock-names = "apb_pclk"; #dma-cells = <1>; arm,pl330-periph-burst; @@ -226,8 +225,7 @@ reg = <0x0 0xfea30000 0x0 0x4000>; interrupts = , ; - //clocks = <&cru ACLK_BUS>; - clocks = <&xin24m>; + clocks = <&cru ACLK_DMAC1>; clock-names = "apb_pclk"; #dma-cells = <1>; arm,pl330-periph-burst; @@ -237,7 +235,7 @@ compatible = "rockchip,rk3588-uart", "snps,dw-apb-uart"; reg = <0x0 0xfeb50000 0x0 0x100>; interrupts = ; - clocks = <&xin24m>, <&xin24m>; + clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>; clock-names = "baudclk", "apb_pclk"; reg-shift = <2>; reg-io-width = <4>; @@ -248,7 +246,7 @@ compatible = "rockchip,rk3588-uart", "snps,dw-apb-uart"; reg = <0x0 0xfeb60000 0x0 0x100>; interrupts = ; - clocks = <&xin24m>, <&xin24m>; + clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>; clock-names = "baudclk", "apb_pclk"; reg-shift = <2>; reg-io-width = <4>; @@ -260,8 +258,7 @@ reg = <0x0 0xfed10000 0x0 0x4000>; interrupts = , ; - //clocks = <&cru ACLK_BUS>; - clocks = <&xin24m>; + clocks = <&cru ACLK_DMAC2>; clock-names = "apb_pclk"; #dma-cells = <1>; arm,pl330-periph-burst; diff --git a/include/dt-bindings/clock/rk3588-cru.h b/include/dt-bindings/clock/rk3588-cru.h index d51e6ed939b3..2f046f048a83 100644 --- a/include/dt-bindings/clock/rk3588-cru.h +++ b/include/dt-bindings/clock/rk3588-cru.h @@ -1451,6 +1451,7 @@ #define SCMI_CRYPTO_CORE 20 #define SCMI_CRYPTO_PKA 21 #define SCMI_SPLL 22 +#define SCMI_HCLK_SD 23 /********Name=SECURE_SOFTRST_CON00,Offset=0xA00********/ #define SRST_A_SECURE_NS_BIU 10