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.

Signed-off-by: Kurt Kanzenbach <k...@linutronix.de>
---
 Documentation/devicetree/bindings/net/dsa/b53.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/dsa/b53.txt 
b/Documentation/devicetree/bindings/net/dsa/b53.txt
index 5201bc15fdd6..cfd1afdc6e94 100644
--- a/Documentation/devicetree/bindings/net/dsa/b53.txt
+++ b/Documentation/devicetree/bindings/net/dsa/b53.txt
@@ -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";
-- 
2.20.1

Reply via email to