Skip to content

Commit ede1fa1

Browse files
sremmind
authored andcommitted
arm64: dts: rockchip: Add missing SFC power-domains to rk3576
Add the power-domains for the RK3576 SFC nodes according to the TRM part 1. This fixes potential SErrors when accessing the SFC registers without other peripherals (e.g. eMMC) doing a prior power-domain enable. For example this is easy to trigger on the Rock 4D, which enables the SFC0 interface, but does not enable the eMMC interface at the moment. Cc: [email protected] Fixes: 3629975 ("arm64: dts: rockchip: Add SFC nodes for rk3576") Signed-off-by: Sebastian Reichel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent 1631cbd commit ede1fa1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arm64/boot/dts/rockchip/rk3576.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1605,6 +1605,7 @@
16051605
interrupts = <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>;
16061606
clocks = <&cru SCLK_FSPI1_X2>, <&cru HCLK_FSPI1>;
16071607
clock-names = "clk_sfc", "hclk_sfc";
1608+
power-domains = <&power RK3576_PD_SDGMAC>;
16081609
#address-cells = <1>;
16091610
#size-cells = <0>;
16101611
status = "disabled";
@@ -1655,6 +1656,7 @@
16551656
interrupts = <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>;
16561657
clocks = <&cru SCLK_FSPI_X2>, <&cru HCLK_FSPI>;
16571658
clock-names = "clk_sfc", "hclk_sfc";
1659+
power-domains = <&power RK3576_PD_NVM>;
16581660
#address-cells = <1>;
16591661
#size-cells = <0>;
16601662
status = "disabled";

0 commit comments

Comments
 (0)