OSDN Git Service

ARM: tegra: Rename GPU node on Tegra124
authorThierry Reding <treding@nvidia.com>
Tue, 7 Dec 2021 10:03:12 +0000 (11:03 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 14 Dec 2021 15:07:42 +0000 (16:07 +0100)
In order to be able to pass DT schema validation, change the GPU nodes'
unit-address to the standard notation. Previously this was using a "0,"
prefix that originated from a time when the top-level device tree node
contained #address-cells = <2>.

Note that this technically breaks backwards-compatibility with certain
older versions of the U-Boot bootloader because early versions used a
hard-coded DT path lookup to find the GPU node and perform some fixups
on it. However, this was changed to a compatible string based lookup in
April 2016, so it's reasonable to expect people to update U-Boot on the
systems that they want to use this updated kernel DTB with.

Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra124-apalis-v1.2.dtsi
arch/arm/boot/dts/tegra124-apalis.dtsi
arch/arm/boot/dts/tegra124-jetson-tk1.dts
arch/arm/boot/dts/tegra124-nyan.dtsi
arch/arm/boot/dts/tegra124-venice2.dts
arch/arm/boot/dts/tegra124.dtsi

index 4ba4d52..f00ef4d 100644 (file)
@@ -57,7 +57,7 @@
                };
        };
 
-       gpu@0,57000000 {
+       gpu@57000000 {
                /*
                 * Node left disabled on purpose - the bootloader will enable
                 * it after having set the VPR up
index 3760744..e6d2581 100644 (file)
@@ -56,7 +56,7 @@
                };
        };
 
-       gpu@0,57000000 {
+       gpu@57000000 {
                /*
                 * Node left disabled on purpose - the bootloader will enable
                 * it after having set the VPR up
index c3edb33..f42191f 100644 (file)
@@ -72,7 +72,7 @@
                status = "okay";
        };
 
-       gpu@0,57000000 {
+       gpu@57000000 {
                /*
                 * Node left disabled on purpose - the bootloader will enable
                 * it after having set the VPR up
index 2d045d1..998b129 100644 (file)
@@ -61,7 +61,7 @@
                };
        };
 
-       gpu@0,57000000 {
+       gpu@57000000 {
                status = "okay";
 
                vdd-supply = <&vdd_gpu>;
index 5f17a2f..7985d1c 100644 (file)
@@ -51,7 +51,7 @@
                };
        };
 
-       gpu@0,57000000 {
+       gpu@57000000 {
                /*
                 * Node left disabled on purpose - the bootloader will enable
                 * it after having set the VPR up
index f4ac0c3..d0ec1a3 100644 (file)
                interrupt-parent = <&gic>;
        };
 
-       /*
-        * Please keep the following 0, notation in place as a former mainline
-        * U-Boot version was looking for that particular notation in order to
-        * perform required fix-ups on that GPU node.
-        */
-       gpu@0,57000000 {
+       gpu@57000000 {
                compatible = "nvidia,gk20a";
                reg = <0x0 0x57000000 0x0 0x01000000>,
                      <0x0 0x58000000 0x0 0x01000000>;