]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
riscv: dts: spacemit: Move eMMC under storage-bus for K1
authorVivian Wang <wangruikang@iscas.ac.cn>
Mon, 23 Jun 2025 10:04:18 +0000 (18:04 +0800)
committerYixun Lan <dlan@gentoo.org>
Wed, 9 Jul 2025 05:49:27 +0000 (13:49 +0800)
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 <wangruikang@iscas.ac.cn>
Link: https://lore.kernel.org/r/20250623-k1-dma-buses-rfc-wip-v1-3-c0144082061f@iscas.ac.cn
Signed-off-by: Yixun Lan <dlan@gentoo.org>
arch/riscv/boot/dts/spacemit/k1.dtsi

index c025bed96a62bd8289305cbd8865c8b806ae71bd..abde8bb07c95c5a745736a2dd6f0c0e0d7c696e4 100644 (file)
                        #clock-cells = <1>;
                };
 
-               emmc: mmc@d4281000 {
-                       compatible = "spacemit,k1-sdhci";
-                       reg = <0x0 0xd4281000 0x0 0x200>;
-                       clocks = <&syscon_apmu CLK_SDH_AXI>, <&syscon_apmu CLK_SDH2>;
-                       clock-names = "core", "io";
-                       interrupts = <101>;
-                       status = "disabled";
-               };
-
                syscon_apmu: system-controller@d4282800 {
                        compatible = "spacemit,k1-syscon-apmu";
                        reg = <0x0 0xd4282800 0x0 0x400>;
                        #address-cells = <2>;
                        #size-cells = <2>;
                        dma-ranges = <0x0 0x00000000 0x0 0x00000000 0x0 0x80000000>;
+
+                       emmc: mmc@d4281000 {
+                               compatible = "spacemit,k1-sdhci";
+                               reg = <0x0 0xd4281000 0x0 0x200>;
+                               clocks = <&syscon_apmu CLK_SDH_AXI>,
+                                        <&syscon_apmu CLK_SDH2>;
+                               clock-names = "core", "io";
+                               interrupts = <101>;
+                               status = "disabled";
+                       };
                };
        };
 };