arm64: dts: ti: k3-am65: Add chipid node to wkup_conf bus
authorAndrew Davis <afd@ti.com>
Fri, 17 Nov 2023 14:09:09 +0000 (08:09 -0600)
committerNishanth Menon <nm@ti.com>
Mon, 4 Dec 2023 18:17:08 +0000 (12:17 -0600)
Like in other K3 SoCs the chipid register is inside the wakeup
configuration space. Move the chipid node under a new bus to
better represent this topology and match other similar SoCs.

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

index fd2b998ebddc4c0dc88dcea0c81a08a9f2a38046..f037b36243ceda1275c628f0b28f32d03ef62f53 100644 (file)
                };
        };
 
-       chipid@43000014 {
-               compatible = "ti,am654-chipid";
-               reg = <0x43000014 0x4>;
+       wkup_conf: bus@43000000 {
+               compatible = "simple-bus";
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0x0 0x43000000 0x20000>;
+
+               chipid: chipid@14 {
+                       compatible = "ti,am654-chipid";
+                       reg = <0x14 0x4>;
+               };
        };
 
        wkup_pmx0: pinctrl@4301c000 {