Commit 73676c48 authored by Andrew Davis's avatar Andrew Davis Committed by Nishanth Menon

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

OSPI nodes defined in the top-level J721e 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: default avatarAndrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20230810003814.85450-6-afd@ti.comSigned-off-by: default avatarNishanth Menon <nm@ti.com>
parent 46d0c519
......@@ -580,16 +580,6 @@ &main_sdhci1 {
disable-wp;
};
&ospi0 {
/* Unused */
status = "disabled";
};
&ospi1 {
/* Unused */
status = "disabled";
};
&main_i2c0 {
status = "okay";
pinctrl-names = "default";
......
......@@ -378,6 +378,7 @@ ospi0: spi@47040000 {
power-domains = <&k3_pds 103 TI_SCI_PD_EXCLUSIVE>;
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
};
ospi1: spi@47050000 {
......@@ -392,6 +393,7 @@ ospi1: spi@47050000 {
power-domains = <&k3_pds 104 TI_SCI_PD_EXCLUSIVE>;
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
};
};
......
......@@ -594,6 +594,7 @@ &main_sdhci1 {
};
&ospi0 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&mcu_fss0_ospi0_pins_default>;
......@@ -657,11 +658,6 @@ partition@3fc0000 {
};
};
&ospi1 {
/* Unused */
status = "disabled";
};
&main_i2c0 {
status = "okay";
pinctrl-names = "default";
......
......@@ -202,6 +202,7 @@ eeprom@50 {
};
&ospi0 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&mcu_fss0_ospi0_pins_default>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment