Message ID | 20200513140249.24900-1-kurt@linutronix.de |
---|---|
State | Accepted |
Delegated to: | David Miller |
Headers | show |
Series | dt-bindings: net: dsa: b53: Add missing size and address cells to example | expand |
On 5/13/2020 7:02 AM, Kurt Kanzenbach wrote: > 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>
From: Kurt Kanzenbach <kurt@linutronix.de> Date: Wed, 13 May 2020 16:02:49 +0200 > 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> Rob, do you want to take this or should I?
From: Kurt Kanzenbach <kurt@linutronix.de> Date: Wed, 13 May 2020 16:02:49 +0200 > 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> Applied.
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";
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> --- Documentation/devicetree/bindings/net/dsa/b53.txt | 3 +++ 1 file changed, 3 insertions(+)