summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/tegra30.dtsi
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2018-07-09 18:05:17 +0200
committerThierry Reding <treding@nvidia.com>2018-07-09 18:50:10 +0200
commit482997699ef038af7553399d49b7ba74c3301424 (patch)
tree8ad4a52d647572d3f5673bbfaf8c6cdb832f8b24 /arch/arm/boot/dts/tegra30.dtsi
parentf48ba1ae6ac5e5df6fd4ebd8e9593296396e0831 (diff)
ARM: tegra: Fix unit_address_vs_reg DTC warnings for /memory
Add a generic /memory node in each Tegra DTSI (with empty reg property, to be overidden by each DTS) and set proper unit address for /memory nodes to fix the DTC warnings: arch/arm/boot/dts/tegra20-harmony.dtb: Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name The DTB after the change is the same as before except adding unit-address to /memory node. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch/arm/boot/dts/tegra30.dtsi')
-rw-r--r--arch/arm/boot/dts/tegra30.dtsi3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/tegra30.dtsi b/arch/arm/boot/dts/tegra30.dtsi
index 0a3267aebbe3..a6781f653310 100644
--- a/arch/arm/boot/dts/tegra30.dtsi
+++ b/arch/arm/boot/dts/tegra30.dtsi
@@ -11,8 +11,9 @@
#address-cells = <1>;
#size-cells = <1>;
- memory {
+ memory@80000000 {
device_type = "memory";
+ reg = <0x80000000 0x0>;
};
pcie@3000 {