ARM: tegra: Remove usage of deprecated skeleton.dtsi
authorKrzysztof Kozlowski <krzk@kernel.org>
Mon, 9 Jul 2018 16:05:16 +0000 (18:05 +0200)
committerThierry Reding <treding@nvidia.com>
Mon, 9 Jul 2018 16:49:44 +0000 (18:49 +0200)
Remove the usage of skeleton.dtsi because it was deprecated since commit
9c0da3cc61f1 ("ARM: dts: explicitly mark skeleton.dtsi as deprecated").
It also allows later to fix DTC warnings for missing unit name in
/memory nodes.

Compiled DTBs are the same as before this commit.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra114.dtsi
arch/arm/boot/dts/tegra124.dtsi
arch/arm/boot/dts/tegra20.dtsi
arch/arm/boot/dts/tegra30-apalis.dtsi
arch/arm/boot/dts/tegra30.dtsi

index 84c4358..d45337f 100644 (file)
@@ -5,11 +5,15 @@
 #include <dt-bindings/pinctrl/pinctrl-tegra.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 
-#include "skeleton.dtsi"
-
 / {
        compatible = "nvidia,tegra114";
        interrupt-parent = <&lic>;
+       #address-cells = <1>;
+       #size-cells = <1>;
+
+       memory {
+               device_type = "memory";
+       };
 
        host1x@50000000 {
                compatible = "nvidia,tegra114-host1x", "simple-bus";
index 174092b..951feea 100644 (file)
@@ -7,14 +7,16 @@
 #include <dt-bindings/reset/tegra124-car.h>
 #include <dt-bindings/thermal/tegra124-soctherm.h>
 
-#include "skeleton.dtsi"
-
 / {
        compatible = "nvidia,tegra124";
        interrupt-parent = <&lic>;
        #address-cells = <2>;
        #size-cells = <2>;
 
+       memory {
+               device_type = "memory";
+       };
+
        pcie@1003000 {
                compatible = "nvidia,tegra124-pcie";
                device_type = "pci";
index f9495f1..20ea6b1 100644 (file)
@@ -5,11 +5,15 @@
 #include <dt-bindings/pinctrl/pinctrl-tegra.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 
-#include "skeleton.dtsi"
-
 / {
        compatible = "nvidia,tegra20";
        interrupt-parent = <&lic>;
+       #address-cells = <1>;
+       #size-cells = <1>;
+
+       memory {
+               device_type = "memory";
+       };
 
        iram@40000000 {
                compatible = "mmio-sram";
index 9ff6aaf..01796dc 100644 (file)
        model = "Toradex Apalis T30";
        compatible = "toradex,apalis_t30", "nvidia,tegra30";
 
+       memory {
+               reg = <0 0>;
+       };
+
        pcie@3000 {
                avdd-pexa-supply = <&vdd2_reg>;
                vdd-pexa-supply = <&vdd2_reg>;
index 3300ff9..0a3267a 100644 (file)
@@ -5,11 +5,15 @@
 #include <dt-bindings/pinctrl/pinctrl-tegra.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 
-#include "skeleton.dtsi"
-
 / {
        compatible = "nvidia,tegra30";
        interrupt-parent = <&lic>;
+       #address-cells = <1>;
+       #size-cells = <1>;
+
+       memory {
+               device_type = "memory";
+       };
 
        pcie@3000 {
                compatible = "nvidia,tegra30-pcie";