Skip to content

Commit

Permalink
dt-bindings: net: dsa: b53: Add missing size and address cells to exa…
Browse files Browse the repository at this point in the history
…mple

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]>
  • Loading branch information
shifty91 authored and davem330 committed May 17, 2020
1 parent 84be69b commit 61d0301
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Documentation/devicetree/bindings/net/dsa/b53.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 61d0301

Please sign in to comment.