arm64: dts: ti: k3-j721e: Use exact ranges for FSS node
authorAndrew Davis <afd@ti.com>
Tue, 26 Mar 2024 20:59:19 +0000 (15:59 -0500)
committerNishanth Menon <nm@ti.com>
Thu, 25 Apr 2024 12:02:41 +0000 (07:02 -0500)
The FSS bus contains several register ranges. Using an empty
ranges property works but causes a DT warning when we give
this node an address. Fix this by explicitly defining the
memory ranges in use.

Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20240326205920.40147-3-afd@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi

index 8fc768d84b7599e12f9f35dc91bd343034d7245f..9349ae07c046e6acfa8843e325bd12fdb7ce6a75 100644 (file)
 
        fss: bus@47000000 {
                compatible = "simple-bus";
-               reg = <0x0 0x47000000 0x0 0x100>;
                #address-cells = <2>;
                #size-cells = <2>;
-               ranges;
+               ranges = <0x0 0x47000000 0x0 0x47000000 0x0 0x100>, /* FSS Control */
+                        <0x0 0x47034000 0x0 0x47034000 0x0 0x100>, /* HBMC Control */
+                        <0x0 0x47040000 0x0 0x47040000 0x0 0x100>, /* OSPI0 Control */
+                        <0x0 0x47050000 0x0 0x47050000 0x0 0x100>, /* OSPI1 Control */
+                        <0x5 0x00000000 0x5 0x00000000 0x1 0x0000000>, /* HBMC/OSPI0 Memory */
+                        <0x7 0x00000000 0x7 0x00000000 0x1 0x0000000>; /* OSPI1 Memory */
 
                hbmc_mux: mux-controller@47000004 {
                        compatible = "reg-mux";