]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Fix AMS device tree node
authorMichal Simek <michal.simek@amd.com>
Fri, 9 Dec 2022 12:56:39 +0000 (13:56 +0100)
committerMichal Simek <michal.simek@amd.com>
Tue, 10 Jan 2023 07:15:54 +0000 (08:15 +0100)
Aligned node description with the Linux kernel. Node has been added by
kernel commit (271c1fa01c2307cf74f4656390d6299991119c3e).

Signed-off-by: Robert Hancock <robert.hancock@calian.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/74188b64cf615100345d058e026cb0d2de0e089b.1670590595.git.michal.simek@amd.com
arch/arm/dts/zynqmp.dtsi

index e2eb27b3151e3b1216e909b41648c4da32186ca6..4e1113db1a7e68bb19e31ba0a64a9e38690658d6 100644 (file)
                        interrupt-names = "ams-irq";
                        reg = <0x0 0xffa50000 0x0 0x800>;
                        reg-names = "ams-base";
-                       #address-cells = <2>;
-                       #size-cells = <2>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
                        #io-channel-cells = <1>;
-                       ranges;
+                       ranges = <0 0 0xffa50800 0x800>;
 
-                       ams_ps: ams_ps@ffa50800 {
+                       ams_ps: ams_ps@0 {
                                compatible = "xlnx,zynqmp-ams-ps";
                                status = "disabled";
-                               reg = <0x0 0xffa50800 0x0 0x400>;
+                               reg = <0x0 0x400>;
                        };
 
-                       ams_pl: ams_pl@ffa50c00 {
+                       ams_pl: ams_pl@400 {
                                compatible = "xlnx,zynqmp-ams-pl";
                                status = "disabled";
-                               reg = <0x0 0xffa50c00 0x0 0x400>;
+                               reg = <0x400 0x400>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
                        };
                };