From: Andrew Davis Date: Tue, 18 Oct 2022 21:15:33 +0000 (-0500) Subject: arm64: dts: ti: k3-am62: Enable OSPI nodes at the board level X-Git-Tag: v6.6.17~6037^2~21^2~41 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b0ca32e895680ba94c0ef24a5faa738e536e31cc;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Nishanth Menon Reviewed-by: Bryan Brattlof Link: https://lore.kernel.org/r/20221018211533.21335-11-afd@ti.com --- diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi index 5a2cd47..0d04176 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi @@ -479,6 +479,7 @@ power-domains = <&k3_pds 75 TI_SCI_PD_EXCLUSIVE>; #address-cells = <1>; #size-cells = <0>; + status = "disabled"; }; }; diff --git a/arch/arm64/boot/dts/ti/k3-am625-sk.dts b/arch/arm64/boot/dts/ti/k3-am625-sk.dts index 3c98b63..18ca56c 100644 --- a/arch/arm64/boot/dts/ti/k3-am625-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am625-sk.dts @@ -397,6 +397,7 @@ }; &ospi0 { + status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&ospi0_pins_default>;