summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2019-03-22 03:05:00 +0300
committerDavid S. Miller <davem@davemloft.net>2019-03-26 20:47:10 +0300
commitfb1eb41a3dd4cfff274c98f3c3324ab329641298 (patch)
treee6b4374685cb342148995956482379067110dab6 /Documentation
parentd29f5aa0bc0c321e1b9e4658a2a7e08e885da52a (diff)
downloadlinux-fb1eb41a3dd4cfff274c98f3c3324ab329641298.tar.xz
dt-bindings: net: dsa: qca8k: fix example
In the example, the phy at phy@0 is clashing with the switch0@0 at the same address. Usually, the switches are accessible through pseudo PHYs which in case of the qca8k are located at 0x10 - 0x18. Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/net/dsa/qca8k.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/net/dsa/qca8k.txt b/Documentation/devicetree/bindings/net/dsa/qca8k.txt
index bbcb255c3150..5eda99e6c86e 100644
--- a/Documentation/devicetree/bindings/net/dsa/qca8k.txt
+++ b/Documentation/devicetree/bindings/net/dsa/qca8k.txt
@@ -55,12 +55,12 @@ Example:
reg = <4>;
};
- switch0@0 {
+ switch@10 {
compatible = "qca,qca8337";
#address-cells = <1>;
#size-cells = <0>;
- reg = <0>;
+ reg = <0x10>;
ports {
#address-cells = <1>;