Skip to contentSkip to conversation

arm: mvebu: armada-xp-theadorable.dts: Fix dtc warning

PATCH New Stefan Roese 2 participants 5 messages Aug 10, 2020 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 arm: mvebu: armada-xp-theadorable.dts: Fix dtc warning

Fix this dtc warning:
Warning (avoid_default_addr_size)

---
 arch/arm/dts/armada-xp-theadorable.dts | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/dts/armada-xp-theadorable.dts +2 -0
index 5b18d62c3c..6a1df870ab 100644
@@ -107,6 +107,8 @@
 			};
 
 			mdio {
+				#address-cells = <1>;
+				#size-cells = <0>;
 				phy0: ethernet-phy at 0 {
 					reg = <0>;
 				};
Signature · 1 line
2.28.0
#1 lore raw

PATCH 2/4 arm: mvebu: armada-xp-maxbcm.dts: Fix dtc warning

Fix this dtc warning:
Warning (avoid_default_addr_size)

---
 arch/arm/dts/armada-xp-maxbcm.dts | 3 +++
 1 file changed, 3 insertions(+)
arch/arm/dts/armada-xp-maxbcm.dts +3 -0
index 921eb70862..d2b07f74cf 100644
@@ -177,6 +177,9 @@
 			};
 
 			mdio {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
 				phy0: ethernet-phy at 0 {
 					reg = <0>;
 				};
Signature · 1 line
2.28.0
#2 lore raw

PATCH 3/4 arm: mvebu: armada-388-gp.dts: Fix dtc warnings

In reply to Stefan Roese

Fix these dtc warnings:
Warning (reg_format)
Warning (avoid_default_addr_size)

---
 arch/arm/dts/armada-388-gp.dts | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/dts/armada-388-gp.dts +2 -0
index d5ad2fd7e2..d59aa5f232 100644
@@ -72,6 +72,8 @@
 				pinctrl-0 = <&spi0_pins>;
 				status = "okay";
 				u-boot,dm-pre-reloc;
+				#address-cells = <1>;
+				#size-cells = <0>;
 
 				spi-flash at 0 {
 					u-boot,dm-pre-reloc;
Signature · 1 line
2.28.0
#3 lore raw

PATCH 3/4 arm: mvebu: armada-388-gp.dts: Fix dtc warnings

Quoted 7 lines · Stefan Roese,

Fix these dtc warnings:
Warning (reg_format)
Warning (avoid_default_addr_size)

Looks good to me

---

Quoted 21 lines
 arch/arm/dts/armada-388-gp.dts | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/dts/armada-388-gp.dts +2 -1
index d5ad2fd7e2..d59aa5f232 100644
@@ -72,6 +72,8 @@
                                pinctrl-0 = <&spi0_pins>;
                                status = "okay";
                                u-boot,dm-pre-reloc;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
 
                                spi-flash at 0 {
                                        u-boot,dm-pre-reloc;
--

2.28.0

#4 lore raw

PATCH 4/4 arm: mvebu: armada-3720-turris-mox.dts: Fix dtc warning

In reply to Stefan Roese

Fix this dtc warning:
Warning (avoid_default_addr_size)

---
 arch/arm/dts/armada-3720-turris-mox.dts | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/dts/armada-3720-turris-mox.dts +2 -0
index a1e0ad5020..0f0a6ce65d 100644
@@ -100,6 +100,8 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&i2c1_pins>;
 	status = "okay";
+	#address-cells = <1>;
+	#size-cells = <0>;
 
 	rtc at 6f {
 		compatible = "microchip,mcp7941x";
Signature · 1 line
2.28.0