]> git.baikalelectronics.ru Git - uboot.git/commitdiff
rockchip: board: remove SCLK_GPU from U-Boot DT
authorChris Morgan <macromorgan@hotmail.com>
Thu, 5 Aug 2021 16:48:48 +0000 (11:48 -0500)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 15 Oct 2021 12:56:09 +0000 (20:56 +0800)
Starting with commit 07a87044071d ("clk: Detect failure to set
defaults") the clk driver for the PX30 would fail to probe for the
Odroid Go Advance. This patch is to remove the clock for the GPU from
the U-Boot specific devicetree, as that clock is not supported by the
U-Boot clk_px30 driver.

Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi

index 741e8dd935211838d0cf8988b71dff0fcf3a5397..72f0ede4cf774e12054baf3ce3c9b56021a358ac 100644 (file)
        };
 };
 
+/* U-Boot clk driver for px30 cannot set GPU_CLK */
 &cru {
        u-boot,dm-pre-reloc;
+       assigned-clocks = <&cru PLL_NPLL>,
+               <&cru ACLK_BUS_PRE>, <&cru ACLK_PERI_PRE>,
+               <&cru HCLK_BUS_PRE>, <&cru HCLK_PERI_PRE>,
+               <&cru PCLK_BUS_PRE>, <&cru PLL_CPLL>;
+
+       assigned-clock-rates = <1188000000>,
+               <200000000>, <200000000>,
+               <150000000>, <150000000>,
+               <100000000>, <17000000>;
 };
 
 &dmc {