arm64: dts: ti: k3-am64: Enable OSPI nodes at the board level
authorAndrew Davis <afd@ti.com>
Thu, 10 Aug 2023 00:38:08 +0000 (19:38 -0500)
committerNishanth Menon <nm@ti.com>
Thu, 10 Aug 2023 03:30:34 +0000 (22:30 -0500)
OSPI nodes defined in the top-level AM64 SoC dtsi files are incomplete
and may not be functional unless they are extended with pinmux and
device information.

As the attached OSPI device is only known about at the board integration
level, these nodes should only be enabled when provided with this
information.

Disable the OSPI nodes in the dtsi files and only enable the ones that
are actually pinned out on a given board.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Link: https://lore.kernel.org/r/20230810003814.85450-8-afd@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm64/boot/dts/ti/k3-am64-main.dtsi
arch/arm64/boot/dts/ti/k3-am64-phycore-som.dtsi
arch/arm64/boot/dts/ti/k3-am642-evm.dts
arch/arm64/boot/dts/ti/k3-am642-sk.dts
arch/arm64/boot/dts/ti/k3-am642-tqma64xxl.dtsi

index 4e3e450..ed1b63b 100644 (file)
                        assigned-clock-parents = <&k3_clks 75 7>;
                        assigned-clock-rates = <166666666>;
                        power-domains = <&k3_pds 75 TI_SCI_PD_EXCLUSIVE>;
+                       status = "disabled";
                };
        };
 
index 5606d77..1c2c8f0 100644 (file)
 };
 
 &ospi0 {
+       status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&ospi0_pins_default>;
 
index d84e7ee..b4a1f73 100644 (file)
 };
 
 &ospi0 {
+       status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&ospi0_pins_default>;
 
index 963d796..af06ccd 100644 (file)
 };
 
 &ospi0 {
+       status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&ospi0_pins_default>;
 
index 5e90121..6229849 100644 (file)
 };
 
 &ospi0 {
+       status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&ospi0_pins>;