]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
arm64: dts: exynos: Remove unneeded address space mapping for soc node
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 24 Apr 2018 17:36:52 +0000 (19:36 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Sun, 29 Apr 2018 17:25:38 +0000 (19:25 +0200)
Remove the address space mapping between root and soc nodes to fix
DTC warnings in Exynos5433 and Exynos7 like:

    arch/arm64/boot/dts/exynos/exynos5433-tm2.dtb:
        Warning (unit_address_vs_reg): /soc: node has a reg or ranges property, but no unit name

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
arch/arm64/boot/dts/exynos/exynos5433.dtsi
arch/arm64/boot/dts/exynos/exynos7.dtsi

index 01e49159dd916f73399e4ebe28be6fedc40dfcc3..b9843747ffc45f8a2d4d7163ebfa8d7e20cabd39 100644 (file)
@@ -18,8 +18,8 @@
 
 / {
        compatible = "samsung,exynos5433";
-       #address-cells = <2>;
-       #size-cells = <2>;
+       #address-cells = <1>;
+       #size-cells = <1>;
 
        interrupt-parent = <&gic>;
 
                compatible = "simple-bus";
                #address-cells = <1>;
                #size-cells = <1>;
-               ranges = <0x0 0x0 0x0 0x18000000>;
+               ranges;
 
                arm_a53_pmu {
                        compatible = "arm,cortex-a53-pmu", "arm,armv8-pmuv3";
index 0b98d2334cad33657c25d05d07deb664123b45e4..93a84338938a65cc1a594f3de37fa3bcfe48b9e5 100644 (file)
@@ -12,8 +12,8 @@
 / {
        compatible = "samsung,exynos7";
        interrupt-parent = <&gic>;
-       #address-cells = <2>;
-       #size-cells = <2>;
+       #address-cells = <1>;
+       #size-cells = <1>;
 
        aliases {
                pinctrl0 = &pinctrl_alive;
@@ -70,7 +70,7 @@
                compatible = "simple-bus";
                #address-cells = <1>;
                #size-cells = <1>;
-               ranges = <0 0 0 0x18000000>;
+               ranges;
 
                chipid@10000000 {
                        compatible = "samsung,exynos4210-chipid";