dt-bindings: net: dsa: b53: Add missing size and address cells to example
authorKurt Kanzenbach <kurt@linutronix.de>
Wed, 13 May 2020 14:02:49 +0000 (16:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 May 2020 19:31:56 +0000 (12:31 -0700)
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 <kurt@linutronix.de>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/dsa/b53.txt

index 5201bc1..cfd1afd 100644 (file)
@@ -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";