Skip to content

Commit 57fa4ba

Browse files
dramforeverdlan17
authored andcommitted
riscv: dts: spacemit: Move eMMC under storage-bus for K1
SDHCI devices in Spacemit K1 use storage-bus translations. Move the node emmc under storage-bus to reflect this fact. Signed-off-by: Vivian Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Yixun Lan <[email protected]>
1 parent 277f852 commit 57fa4ba

File tree

1 file changed

+10
-9
lines changed
  • arch/riscv/boot/dts/spacemit

1 file changed

+10
-9
lines changed

arch/riscv/boot/dts/spacemit/k1.dtsi

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -595,15 +595,6 @@
595595
#clock-cells = <1>;
596596
};
597597

598-
emmc: mmc@d4281000 {
599-
compatible = "spacemit,k1-sdhci";
600-
reg = <0x0 0xd4281000 0x0 0x200>;
601-
clocks = <&syscon_apmu CLK_SDH_AXI>, <&syscon_apmu CLK_SDH2>;
602-
clock-names = "core", "io";
603-
interrupts = <101>;
604-
status = "disabled";
605-
};
606-
607598
syscon_apmu: system-controller@d4282800 {
608599
compatible = "spacemit,k1-syscon-apmu";
609600
reg = <0x0 0xd4282800 0x0 0x400>;
@@ -831,6 +822,16 @@
831822
#address-cells = <2>;
832823
#size-cells = <2>;
833824
dma-ranges = <0x0 0x00000000 0x0 0x00000000 0x0 0x80000000>;
825+
826+
emmc: mmc@d4281000 {
827+
compatible = "spacemit,k1-sdhci";
828+
reg = <0x0 0xd4281000 0x0 0x200>;
829+
clocks = <&syscon_apmu CLK_SDH_AXI>,
830+
<&syscon_apmu CLK_SDH2>;
831+
clock-names = "core", "io";
832+
interrupts = <101>;
833+
status = "disabled";
834+
};
834835
};
835836
};
836837
};

0 commit comments

Comments
 (0)