arm64: dts: ti: k3-am64: Enable GPMC and ELM nodes at the board level

The GPMC node defined in the top-level AM64x SoC dtsi files are incomplete
and will not be functional unless it is extended with pinmux information.

As the pinmux is only known at the board integration level, this node
should only be enabled when provided with this information.

Disable the GPMC node in the dtsi file. Since the ELM is made to work
with the GPMC, disable it too.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Bryan Brattlof <bb@ti.com>
Acked-by: Vignesh Raghavendra <vigneshr@ti.com>
Link: https://lore.kernel.org/r/20221017192532.23825-11-afd@ti.com
This commit is contained in:
Andrew Davis
2022-10-17 14:25:32 -05:00
committed by Nishanth Menon
parent 4a57988707
commit 4eb7aa3bef
3 changed files with 2 additions and 16 deletions

View File

@@ -1381,6 +1381,7 @@ gpmc0: memory-controller@3b000000 {
#interrupt-cells = <2>;
gpio-controller;
#gpio-cells = <2>;
status = "disabled";
};
elm0: ecc@25010000 {
@@ -1390,5 +1391,6 @@ elm0: ecc@25010000 {
power-domains = <&k3_pds 54 TI_SCI_PD_EXCLUSIVE>;
clocks = <&k3_clks 54 0>;
clock-names = "fck";
status = "disabled";
};
};

View File

@@ -589,11 +589,3 @@ &main_mcan1 {
pinctrl-0 = <&main_mcan1_pins_default>;
phys = <&transceiver2>;
};
&gpmc0 {
status = "disabled";
};
&elm0 {
status = "disabled";
};

View File

@@ -566,11 +566,3 @@ &ecap0 {
pinctrl-names = "default";
pinctrl-0 = <&main_ecap0_pins_default>;
};
&gpmc0 {
status = "disabled";
};
&elm0 {
status = "disabled";
};