Skip to content

Commit 8789139

Browse files
macromorganmmind
authored andcommitted
arm64: dts: rockchip: Add clk_rtc_32k to Anbernic xx3 Devices
For the Anbernic devices to display properly, we need to specify the clock frequency of the PLL_VPLL. Adding the parent clock in the rk356x.dtsi requires us to update our clock definitions to accomplish this. Fixes: 64b6947 ("arm64: dts: rockchip: assign rate to clk_rtc_32k on rk356x") Signed-off-by: Chris Morgan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent b37115b commit 8789139

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353x.dtsi

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@
1616
};
1717

1818
&cru {
19-
assigned-clocks = <&cru PLL_GPLL>, <&pmucru PLL_PPLL>, <&cru PLL_VPLL>;
20-
assigned-clock-rates = <1200000000>, <200000000>, <241500000>;
19+
assigned-clocks = <&pmucru CLK_RTC_32K>, <&cru PLL_GPLL>,
20+
<&pmucru PLL_PPLL>, <&cru PLL_VPLL>;
21+
assigned-clock-rates = <32768>, <1200000000>,
22+
<200000000>, <241500000>;
2123
};
2224

2325
&gpio_keys_control {

arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg503.dts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,10 @@
105105
};
106106

107107
&cru {
108-
assigned-clocks = <&cru PLL_GPLL>, <&pmucru PLL_PPLL>, <&cru PLL_VPLL>;
109-
assigned-clock-rates = <1200000000>, <200000000>, <500000000>;
108+
assigned-clocks = <&pmucru CLK_RTC_32K>, <&cru PLL_GPLL>,
109+
<&pmucru PLL_PPLL>, <&cru PLL_VPLL>;
110+
assigned-clock-rates = <32768>, <1200000000>,
111+
<200000000>, <500000000>;
110112
};
111113

112114
&dsi_dphy0 {

0 commit comments

Comments
 (0)