mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +00:00
c2308a7e4a
Also removes reverted patches. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
53 lines
1.3 KiB
Diff
53 lines
1.3 KiB
Diff
From 10524e83179ad016a379ea99364d6912812a9aa5 Mon Sep 17 00:00:00 2001
|
|
From: Stefan Wahren <wahrenst@gmx.net>
|
|
Date: Mon, 23 Sep 2019 20:09:12 +0200
|
|
Subject: [PATCH] ARM: dts: bcm27xx: Fix DTC warning for memory node
|
|
|
|
Compiling the bcm27xx DTS with W=1 leads to the following warning:
|
|
|
|
Warning (unit_address_vs_reg): /memory: node has a reg or ranges property,
|
|
but no unit name
|
|
|
|
Fix this by adding the unit address.
|
|
|
|
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
|
|
---
|
|
arch/arm/boot/dts/bcm2708-rpi.dtsi | 2 +-
|
|
arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 2 +-
|
|
arch/arm/boot/dts/bcm2838-rpi-4-b.dts | 2 +-
|
|
3 files changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
--- a/arch/arm/boot/dts/bcm2708-rpi.dtsi
|
|
+++ b/arch/arm/boot/dts/bcm2708-rpi.dtsi
|
|
@@ -3,7 +3,7 @@
|
|
#include "bcm2835-rpi.dtsi"
|
|
|
|
/ {
|
|
- memory {
|
|
+ memory@0 {
|
|
device_type = "memory";
|
|
reg = <0x0 0x0>;
|
|
};
|
|
--- a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts
|
|
+++ b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts
|
|
@@ -8,7 +8,7 @@
|
|
compatible = "raspberrypi,4-model-b", "brcm,bcm2838";
|
|
model = "Raspberry Pi 4 Model B";
|
|
|
|
- memory {
|
|
+ memory@0 {
|
|
device_type = "memory";
|
|
reg = <0x0 0x0 0x0>;
|
|
};
|
|
--- a/arch/arm/boot/dts/bcm2838-rpi-4-b.dts
|
|
+++ b/arch/arm/boot/dts/bcm2838-rpi-4-b.dts
|
|
@@ -13,7 +13,7 @@
|
|
stdout-path = "serial1:115200n8";
|
|
};
|
|
|
|
- memory {
|
|
+ memory@0 {
|
|
reg = <0 0 0x40000000>;
|
|
};
|
|
|