arm64: dts: ti: ti-k3*: Introduce aliases for mmc nodes
authorNishanth Menon <nm@ti.com>
Wed, 15 Sep 2021 13:54:15 +0000 (08:54 -0500)
committerNishanth Menon <nm@ti.com>
Mon, 20 Sep 2021 18:51:09 +0000 (13:51 -0500)
Since probe order of mmc can vary depending on device tree dependencies,
Lets try and introduce a consistent definition of what mmc0, 1 are
across platforms.

NOTE: Certain platforms may choose to have overrides due to various
legacy reasons, we permit that in the board specific alias definition.

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Aswath Govindraju <a-govindraju@ti.com>
Link: https://lore.kernel.org/r/20210915135415.5706-1-nm@ti.com
arch/arm64/boot/dts/ti/k3-am64.dtsi
arch/arm64/boot/dts/ti/k3-am65.dtsi
arch/arm64/boot/dts/ti/k3-j7200.dtsi
arch/arm64/boot/dts/ti/k3-j721e.dtsi

index de6805b0c72c1709e8d2d96ca8e75954912f10f9..120974726be81fdaa5044ba5d1b0c367f726de2f 100644 (file)
@@ -30,6 +30,8 @@
                serial8 = &main_uart6;
                ethernet0 = &cpsw_port1;
                ethernet1 = &cpsw_port2;
+               mmc0 = &sdhci0;
+               mmc1 = &sdhci1;
        };
 
        chosen { };
index a9fc1af03f27f77bf1c78d5295a08415ce8bade4..a58a39fa42dbcb069e586c2772985976ca1c48ef 100644 (file)
@@ -31,6 +31,8 @@
                i2c4 = &main_i2c2;
                i2c5 = &main_i2c3;
                ethernet0 = &cpsw_port1;
+               mmc0 = &sdhci0;
+               mmc1 = &sdhci1;
        };
 
        chosen { };
index b7005b8031495e2e9fdff0396a883010eb902cf6..47567cb260c2ba2fc53993c2667d04ef488ea560 100644 (file)
@@ -30,6 +30,8 @@
                serial9 = &main_uart7;
                serial10 = &main_uart8;
                serial11 = &main_uart9;
+               mmc0 = &main_sdhci0;
+               mmc1 = &main_sdhci1;
        };
 
        chosen { };
index f0587fde147e6f87ceb98e728c396233a28d4053..214359e7288b23c1326c76e5c047d883298fb3d4 100644 (file)
@@ -31,6 +31,9 @@
                serial10 = &main_uart8;
                serial11 = &main_uart9;
                ethernet0 = &cpsw_port1;
+               mmc0 = &main_sdhci0;
+               mmc1 = &main_sdhci1;
+               mmc2 = &main_sdhci2;
        };
 
        chosen { };