summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/net
diff options
context:
space:
mode:
authorKurt Kanzenbach <kurt@linutronix.de>2020-05-13 16:02:49 +0200
committerDavid S. Miller <davem@davemloft.net>2020-05-17 21:31:56 +0200
commit61d0301e6c05db55446c7c9b3b3294244649e7bc (patch)
tree13ca1347a08da09bf852c237f4c483078c2d26a0 /Documentation/devicetree/bindings/net
parentnexthop: Fix attribute checking for groups (diff)
downloadlinux-61d0301e6c05db55446c7c9b3b3294244649e7bc.tar.xz
linux-61d0301e6c05db55446c7c9b3b3294244649e7bc.zip
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. 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>
Diffstat (limited to 'Documentation/devicetree/bindings/net')
-rw-r--r--Documentation/devicetree/bindings/net/dsa/b53.txt3
1 files changed, 3 insertions, 0 deletions
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";