diff --git a/arch/arm64/boot/dts/rockchip/px30.dtsi b/arch/arm64/boot/dts/rockchip/px30.dtsi index 76338ffcc6cf..7717ad41e92f 100644 --- a/arch/arm64/boot/dts/rockchip/px30.dtsi +++ b/arch/arm64/boot/dts/rockchip/px30.dtsi @@ -203,6 +203,51 @@ interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; }; + bus_soc: bus-soc { + compatible = "rockchip,px30-bus"; + rockchip,busfreq-policy = "autocs"; + soc-bus0 { + bus-id = <0>; + timer-us = <20>; + enable-msk = <0x40f7>; + }; + soc-bus1 { + bus-id = <1>; + timer-us = <200>; + enable-msk = <0x40bf>; + status = "disabled"; + }; + soc-bus2 { + bus-id = <2>; + timer-us = <200>; + enable-msk = <0x4007>; + status = "disabled"; + }; + }; + + bus_apll: bus-apll { + compatible = "rockchip,px30-bus"; + rockchip,busfreq-policy = "clkfreq"; + clocks = <&cru PLL_APLL>; + clock-names = "bus"; + operating-points-v2 = <&bus_apll_opp_table>; + status = "disabled"; + }; + + bus_apll_opp_table: bus-apll-opp-table { + compatible = "operating-points-v2"; + opp-shared; + + opp-1512000000 { + opp-hz = /bits/ 64 <1512000000>; + opp-microvolt = <1000000>; + }; + opp-1008000000 { + opp-hz = /bits/ 64 <1008000000>; + opp-microvolt = <950000>; + }; + }; + cpuinfo { compatible = "rockchip,cpuinfo"; nvmem-cells = <&otp_id>; @@ -256,28 +301,6 @@ >; }; - soc_bus: soc-bus { - compatible = "rockchip,px30-bus"; - - soc-bus0 { - bus-id = <0>; - timer-us = <20>; - enable-msk = <0x40f7>; - }; - soc-bus1 { - bus-id = <1>; - timer-us = <200>; - enable-msk = <0x40bf>; - status = "disabled"; - }; - soc-bus2 { - bus-id = <2>; - timer-us = <200>; - enable-msk = <0x4007>; - status = "disabled"; - }; - }; - timer { compatible = "arm,armv8-timer"; interrupts = ,