dt-bindings: net: dsa: b53: Specify unit address in hex
Subsystems (4)
PATCH 1/2 dt-bindings: net: dsa: b53: Specify unit address in hex
The unit address should be 1e, because the unit address is supposed to be in hexadecimal.
--- Documentation/devicetree/bindings/net/dsa/b53.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/net/dsa/b53.txt +1 -1
@@ -104,7 +104,7 @@ Ethernet switch connected via MDIO to the host, CPU port wired to eth0: #address-cells = <1>; #size-cells = <0>; - switch0: ethernet-switch@30 { + switch0: ethernet-switch@1e { compatible = "brcm,bcm53125"; reg = <30>; #address-cells = <1>;
Signature · 1 line
2.20.1
PATCH 2/2 dt-bindings: net: dsa: b53: Fix full duplex in example
There is no such property as duplex-full. It's called full-duplex. Leading to reduced speed when using the example as base for a real device tree.
--- Documentation/devicetree/bindings/net/dsa/b53.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/net/dsa/b53.txt +3 -3
@@ -95,7 +95,7 @@ Ethernet switch connected via MDIO to the host, CPU port wired to eth0: fixed-link { speed = <1000>; - duplex-full; + full-duplex; }; };
@@ -129,7 +129,7 @@ Ethernet switch connected via MDIO to the host, CPU port wired to eth0: label = "cable-modem"; fixed-link { speed = <1000>; - duplex-full; + full-duplex; }; phy-mode = "rgmii-txid"; };
@@ -139,7 +139,7 @@ Ethernet switch connected via MDIO to the host, CPU port wired to eth0: label = "cpu"; fixed-link { speed = <1000>; - duplex-full; + full-duplex; }; phy-mode = "rgmii-txid"; ethernet = <ð0>;
Signature · 1 line
2.20.1
Re: [PATCH net-next 2/2] dt-bindings: net: dsa: b53: Fix full duplex in example
Quoted 2 lines · Kurt Kanzenbach
There is no such property as duplex-full. It's called full-duplex. Leading to reduced speed when using the example as base for a real device tree.
Doh, thanks for correcting this. Would you want to make this a YAML binding at some point? I can take care of it if you do not have time to do it.
Quoted 2 lines
Signed-off-by Kurt Kanzenbach <[email protected]>
Signature · 1 line
Florian
Re: [PATCH net-next 2/2] dt-bindings: net: dsa: b53: Fix full duplex in example
Quoted 7 lines · Florian Fainelli
Quoted 2 lines · Kurt Kanzenbach
There is no such property as duplex-full. It's called full-duplex. Leading to reduced speed when using the example as base for a real device tree.
Doh, thanks for correcting this. Would you want to make this a YAML binding at some point? I can take care of it if you do not have time to do it.
Actually I have started to convert the DSA bindings to YAML, but ran out of time very quickly. Unfortunately the b53 wasn't one of them I've converted already. So, you can go ahead.
Thanks,
Kurt
Re: [PATCH net-next 2/2] dt-bindings: net: dsa: b53: Fix full duplex in example
In reply to Kurt KanzenbachFrom: Kurt Kanzenbach <[email protected]>
Date: Sat, 3 Oct 2020 11:30:51 +0200
Quoted 4 lines
There is no such property as duplex-full. It's called full-duplex. Leading to reduced speed when using the example as base for a real device tree.
Signed-off-by Kurt Kanzenbach <[email protected]>
Applied.
Quoted 5 lines · Kurt Kanzenbach
The unit address should be 1e, because the unit address is supposed to be in hexadecimal.
Suggested-by Florian Fainelli <[email protected]>Signed-off-by Kurt Kanzenbach <[email protected]>
Signature · 1 line
Florian
From: Kurt Kanzenbach <[email protected]>
Date: Sat, 3 Oct 2020 11:30:50 +0200
Quoted 5 lines
The unit address should be 1e, because the unit address is supposed to be in hexadecimal.
Suggested-by Florian Fainelli <[email protected]>Signed-off-by Kurt Kanzenbach <[email protected]>
Applied.