arm64: dts: ti: k3-am62: Enable OSPI nodes at the board level

OSPI nodes defined in the top-level AM62x SoC dtsi files are incomplete
and will not be functional unless they are extended with pinmux
information.

As the pinmux is only known 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>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Bryan Brattlof <bb@ti.com>
Link: https://lore.kernel.org/r/20221018211533.21335-11-afd@ti.com
This commit is contained in:
Andrew Davis
2022-10-18 16:15:33 -05:00
committed by Nishanth Menon
parent b2b10301ca
commit b0ca32e895
2 changed files with 2 additions and 0 deletions

View File

@@ -479,6 +479,7 @@ ospi0: spi@fc40000 {
power-domains = <&k3_pds 75 TI_SCI_PD_EXCLUSIVE>;
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
};
};

View File

@@ -397,6 +397,7 @@ mbox_m4_0: mbox-m4-0 {
};
&ospi0 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&ospi0_pins_default>;