2023-05-09 12:59:43

by Thejasvi Konduru

[permalink] [raw]
Subject: [PATCH 1/3] arm64: dts: ti: k3-am65-mcu: Fix node has a unit name, but no reg/ranges property

If a node has unit name, then the node must include the
reg/ranges property.

This rule is not followed in the fss node.

Warning is fixed by adding the ranges property to the fss node.

Fixes: 07481770e84c7 ("arm64: dts: ti: k3-am65: Add OSPI DT node")
Signed-off-by: Thejasvi Konduru <[email protected]>
---
arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi b/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi
index 5dfa31840e9c..5562373ac7fc 100644
--- a/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi
@@ -263,7 +263,9 @@
compatible = "simple-bus";
#address-cells = <2>;
#size-cells = <2>;
- ranges;
+ ranges = <0x00 0x47000000 0x00 0x47000000 0x00 0x00068400>,
+ <0x05 0x00000000 0x05 0x00000000 0x01 0x00000000>,
+ <0x07 0x00000000 0x07 0x00000000 0x01 0x00000000>;

ospi0: spi@47040000 {
compatible = "ti,am654-ospi", "cdns,qspi-nor";
--
2.17.1