]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: a37xx: Update sdhci pointers to official DT bindings
authorPali Rohár <pali@kernel.org>
Mon, 14 Feb 2022 10:34:27 +0000 (11:34 +0100)
committerStefan Roese <sr@denx.de>
Thu, 17 Feb 2022 13:17:07 +0000 (14:17 +0100)
In Linux kernel version of armada-37xx.dtsi file sdhci1 pointer refers to
sdhci@d0000 node and sdhci0 pointer to sdhci@d8000 node.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/dts/armada-3720-db.dts
arch/arm/dts/armada-3720-espressobin.dts
arch/arm/dts/armada-3720-turris-mox.dts
arch/arm/dts/armada-3720-uDPU-u-boot.dtsi
arch/arm/dts/armada-3720-uDPU.dts
arch/arm/dts/armada-37xx.dtsi

index 42e7ddd25c5509d8e5fc57f77fd1d80f45fb59e8..6272d83fc011885511aa0ba30fb23a401733a4db 100644 (file)
        status = "okay";
 };
 
-&sdhci0 {
+&sdhci1 {
        bus-width = <4>;
        pinctrl-names = "default";
        pinctrl-0 = <&sdio_pins>;
        status = "okay";
 };
 
-&sdhci1 {
+&sdhci0 {
        non-removable;
        bus-width = <8>;
        mmc-ddr-1_8v;
index 360d521bbada48fda7bdbca13c9abcb3cf4b4e11..f59f82d916325315f6c7a70ac63b308aeefbf9d9 100644 (file)
        phys = <&comphy2 0>;
 };
 
-&sdhci0 {
+&sdhci1 {
        pinctrl-names = "default";
        pinctrl-0 = <&sdio_pins>;
        bus-width = <4>;
 };
 
 /* U11 */
-&sdhci1 {
+&sdhci0 {
        non-removable;
        bus-width = <8>;
        mmc-ddr-1_8v;
index d01757062fa5424444062330b23e4047cf339c0b..a5ccb558ccd678e2b1a2b356f294d2ee79dbe616 100644 (file)
        };
 };
 
-&sdhci1 {
+&sdhci0 {
        wp-inverted;
        bus-width = <4>;
        cd-gpios = <&gpionb 10 GPIO_ACTIVE_HIGH>;
index fdad90ad123fea937d76286fab486a82b555563d..cf8ae4412b977cf8c955c1dfbad985a8868cf1d8 100644 (file)
@@ -28,6 +28,6 @@
        };
 };
 
-&sdhci1 {
+&sdhci0 {
        u-boot,dm-pre-reloc;
 };
index 58557c680a4d14832b9fe033db34219415f2be09..319fbe7348ad9cccd4adf1cf5389cf09bbcd66be 100644 (file)
        };
 };
 
-&sdhci1 {
+&sdhci0 {
        non-removable;
        mmc-ddr-1_8v;
        mmc-hs200-1_8v;
index 4c686c380cee73f0da506031324581da69167c1a..8ac481cb58f3ceaded631021fb994268c0913296 100644 (file)
                                };
                        };
 
-                       sdhci0: sdhci@d0000 {
+                       sdhci1: sdhci@d0000 {
                                compatible = "marvell,armada-3700-sdhci",
                                "marvell,sdhci-xenon";
                                reg = <0xd0000 0x300
                                status = "disabled";
                        };
 
-                       sdhci1: sdhci@d8000 {
+                       sdhci0: sdhci@d8000 {
                                compatible = "marvell,armada-3700-sdhci",
                                "marvell,sdhci-xenon";
                                reg = <0xd8000 0x300