dt-bindings: net: dsa: b53: Add missing size and address cells to example
Subsystems (4)
PATCH 1/1 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.
--- Documentation/devicetree/bindings/net/dsa/b53.txt | 3 +++ 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/net/dsa/b53.txt +3 -0
@@ -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";
Signature · 1 line
2.20.1
Quoted 4 lines · Kurt Kanzenbach
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]>
Signature · 1 line
Florian
David Miller
maintainerFrom: Kurt Kanzenbach <[email protected]>
Date: Wed, 13 May 2020 16:02:49 +0200
Quoted 4 lines
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]>
Rob, do you want to take this or should I?
From: Kurt Kanzenbach <[email protected]>
Date: Wed, 13 May 2020 16:02:49 +0200
Quoted 4 lines
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]>
Applied.