arm64: dts: ti: k3-am6*: Fix bus-width property in MMC nodes
authorJudith Mendez <jm@ti.com>
Tue, 13 Feb 2024 23:57:00 +0000 (17:57 -0600)
committerVignesh Raghavendra <vigneshr@ti.com>
Mon, 19 Feb 2024 06:32:47 +0000 (12:02 +0530)
Move bus-width property to *main.dtsi, above the OTAP/ITAP
delay values. While there is no error with where it is
currently at, it is easier to read the MMC node if the
bus-width property is located above the OTAP/ITAP delay
values consistently across MMC nodes.

Add missing bus-width for MMC2 in k3-am62-main.

Signed-off-by: Judith Mendez <jm@ti.com>
Tested-by: Wadim Egorov <w.egorov@phytec.de>
Link: https://lore.kernel.org/r/20240213235701.2438513-9-jm@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-am62-main.dtsi
arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts
arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
arch/arm64/boot/dts/ti/k3-am64-main.dtsi
arch/arm64/boot/dts/ti/k3-am642-evm.dts
arch/arm64/boot/dts/ti/k3-am642-sk.dts

index c8902a3bf5435111789e5fefbc92cfae05ff0e60..b4ab7db6cc142e68091695e934dd8878ab4e283c 100644 (file)
                clock-names = "clk_ahb", "clk_xin";
                assigned-clocks = <&k3_clks 57 6>;
                assigned-clock-parents = <&k3_clks 57 8>;
+               bus-width = <8>;
                mmc-ddr-1_8v;
                mmc-hs200-1_8v;
-               bus-width = <8>;
                ti,clkbuf-sel = <0x7>;
                ti,otap-del-sel-legacy = <0x0>;
                ti,otap-del-sel-mmc-hs = <0x0>;
                power-domains = <&k3_pds 58 TI_SCI_PD_EXCLUSIVE>;
                clocks = <&k3_clks 58 5>, <&k3_clks 58 6>;
                clock-names = "clk_ahb", "clk_xin";
+               bus-width = <4>;
                ti,clkbuf-sel = <0x7>;
                ti,otap-del-sel-legacy = <0x8>;
                ti,otap-del-sel-sd-hs = <0x0>;
                ti,itap-del-sel-sd-hs = <0x1>;
                ti,itap-del-sel-sdr12 = <0xa>;
                ti,itap-del-sel-sdr25 = <0x1>;
-               bus-width = <4>;
                status = "disabled";
        };
 
                power-domains = <&k3_pds 184 TI_SCI_PD_EXCLUSIVE>;
                clocks = <&k3_clks 184 5>, <&k3_clks 184 6>;
                clock-names = "clk_ahb", "clk_xin";
+               bus-width = <4>;
                ti,clkbuf-sel = <0x7>;
                ti,otap-del-sel-legacy = <0x8>;
                ti,otap-del-sel-sd-hs = <0x0>;
index bb6a5837bcb30f1a2f37fb5b08b300c5bb132197..a34e0df2ab8646206b26c19f529629f9dfedf226 100644 (file)
        vmmc-supply = <&wlan_en>;
        pinctrl-names = "default";
        pinctrl-0 = <&wifi_pins_default>, <&wifi_32k_clk>;
-       bus-width = <4>;
        non-removable;
        ti,fails-without-test-cd;
        cap-power-off-card;
index 2024d7193c845604a5fa5bb4a90f5bc53cd006c9..c14ee2fe03beb8f535e23649667fbf3e6f746640 100644 (file)
                power-domains = <&k3_pds 58 TI_SCI_PD_EXCLUSIVE>;
                clocks = <&k3_clks 58 5>, <&k3_clks 58 6>;
                clock-names = "clk_ahb", "clk_xin";
+               bus-width = <4>;
                ti,clkbuf-sel = <0x7>;
                ti,otap-del-sel-legacy = <0x0>;
                ti,otap-del-sel-sd-hs = <0x0>;
                ti,itap-del-sel-sd-hs = <0x0>;
                ti,itap-del-sel-sdr12 = <0x0>;
                ti,itap-del-sel-sdr25 = <0x0>;
-               bus-width = <4>;
                no-1-8-v;
                status = "disabled";
        };
index 8a2b3504e916838df435e815d834e35042225f08..3c6e9af1b059c7283eb066a56bf235eff8fb18fb 100644 (file)
                power-domains = <&k3_pds 57 TI_SCI_PD_EXCLUSIVE>;
                clocks = <&k3_clks 57 0>, <&k3_clks 57 1>;
                clock-names = "clk_ahb", "clk_xin";
+               bus-width = <8>;
                mmc-ddr-1_8v;
                mmc-hs200-1_8v;
                ti,clkbuf-sel = <0x7>;
                power-domains = <&k3_pds 58 TI_SCI_PD_EXCLUSIVE>;
                clocks = <&k3_clks 58 3>, <&k3_clks 58 4>;
                clock-names = "clk_ahb", "clk_xin";
+               bus-width = <4>;
                ti,clkbuf-sel = <0x7>;
                ti,otap-del-sel-legacy = <0x0>;
                ti,otap-del-sel-sd-hs = <0x0>;
index f308076d608ab04c842029a9e578809f9bff09af..83f2b00726b5f5e713e0a62def73011c1a0bb626 100644 (file)
 /* eMMC */
 &sdhci0 {
        status = "okay";
-       bus-width = <8>;
        non-removable;
        ti,driver-strength-ohm = <50>;
        disable-wp;
        status = "okay";
        vmmc-supply = <&vdd_mmc1>;
        pinctrl-names = "default";
-       bus-width = <4>;
        pinctrl-0 = <&main_mmc1_pins_default>;
        disable-wp;
 };
index b286eaa02ada46d6644395cfafa0b972278ad94f..67cd41bf806eab21e2d6d1d452686ecf60de573a 100644 (file)
        status = "okay";
        vmmc-supply = <&vdd_mmc1>;
        pinctrl-names = "default";
-       bus-width = <4>;
        pinctrl-0 = <&main_mmc1_pins_default>;
        disable-wp;
 };