Skip to contentSkip to conversation

dt-bindings: net: dsa: b53: Add missing size and address cells to example

PATCH Applied Kurt Kanzenbach 3 participants 4 messages May 13, 2020 – May 17, 2020

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: net: dsa: b53: Add missing size and address cells to example

Add the missing size and address cells to the b53 example. Otherwise, it may not compile or issue warnings if directly copied into a device tree.

---
 Documentation/devicetree/bindings/net/dsa/b53.txt | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/net/dsa/b53.txt +3 -0
index 5201bc15fdd6..cfd1afdc6e94 100644
@@ -110,6 +110,9 @@ Ethernet switch connected via MDIO to the host, CPU port wired to eth0:
 			#size-cells = <0>;
 
 			ports {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
 				port0@0 {
 					reg = <0>;
 					label = "lan1";
Signature · 1 line
2.20.1