]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: socfpga: move sdmmc-ecc to the base DTSI file
authorDinh Nguyen <dinguyen@kernel.org>
Tue, 21 Oct 2025 03:22:17 +0000 (22:22 -0500)
committerDinh Nguyen <dinguyen@kernel.org>
Thu, 23 Oct 2025 20:30:24 +0000 (15:30 -0500)
The ECC manager entry for sdmmc should be a chip level entry, not a
board entry.

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dts

index effd242f6bf709a53659b4de2a2da728052d086f..657e986e5dba74308dcfbe90494c01fb67adb693 100644 (file)
                                interrupts = <5 4>;
                        };
 
+                       sdmmca-ecc@ff8c8c00 {
+                               compatible = "altr,socfpga-s10-sdmmc-ecc",
+                                            "altr,socfpga-sdmmc-ecc";
+                               reg = <0xff8c8c00 0x100>;
+                               altr,ecc-parent = <&mmc>;
+                               interrupts = <14 4>,
+                                            <15 4>;
+                       };
+
                };
 
                qspi: spi@ff8d2000 {
index 6ff6ea0c6b2df64a0c9938bd2047b8ae7a566ca8..58f776e411fc3664444e3096101948970e85e9d5 100644 (file)
                regulator-min-microvolt = <330000>;
                regulator-max-microvolt = <330000>;
        };
-
-       soc@0 {
-               eccmgr {
-                       sdmmca-ecc@ff8c8c00 {
-                               compatible = "altr,socfpga-s10-sdmmc-ecc",
-                                            "altr,socfpga-sdmmc-ecc";
-                               reg = <0xff8c8c00 0x100>;
-                               altr,ecc-parent = <&mmc>;
-                               interrupts = <14 4>,
-                                            <15 4>;
-                       };
-               };
-       };
 };
 
 &pinctrl0 {
index 7c53cb9621e5747d48bdae88e0e1cd576e02efff..92954c5beb5432b10de4549cb8d62d46d50a6bab 100644 (file)
                regulator-min-microvolt = <330000>;
                regulator-max-microvolt = <330000>;
        };
-
-       soc@0 {
-               eccmgr {
-                       sdmmca-ecc@ff8c8c00 {
-                               compatible = "altr,socfpga-s10-sdmmc-ecc",
-                                            "altr,socfpga-sdmmc-ecc";
-                               reg = <0xff8c8c00 0x100>;
-                               altr,ecc-parent = <&mmc>;
-                               interrupts = <14 4>,
-                                            <15 4>;
-                       };
-               };
-       };
 };
 
 &gpio1 {