Skip to content

Commit 61d0301

Browse files
shifty91davem330
authored andcommitted
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 <[email protected]> Acked-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 84be69b commit 61d0301

File tree

1 file changed

+3
-0
lines changed
  • Documentation/devicetree/bindings/net/dsa

1 file changed

+3
-0
lines changed

Documentation/devicetree/bindings/net/dsa/b53.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ Ethernet switch connected via MDIO to the host, CPU port wired to eth0:
110110
#size-cells = <0>;
111111

112112
ports {
113+
#address-cells = <1>;
114+
#size-cells = <0>;
115+
113116
port0@0 {
114117
reg = <0>;
115118
label = "lan1";

0 commit comments

Comments
 (0)