Skip to content

Commit

Permalink
arm64: dts: mt7622: add mt7531 dsa to bananapi-bpi-r64 board
Browse files Browse the repository at this point in the history
Add mt7531 dsa to bananapi-bpi-r64 board for 5 giga Ethernet ports support.

Signed-off-by: Landen Chao <landen.chao@mediatek.com>
Tested-By: Frank Wunderlich <frank-w@public-files.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Landen Chao authored and David S. Miller committed Sep 14, 2020
1 parent 6af0644 commit 79a675e
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,56 @@
mdio: mdio-bus {
#address-cells = <1>;
#size-cells = <0>;

switch@0 {
compatible = "mediatek,mt7531";
reg = <0>;
reset-gpios = <&pio 54 0>;

ports {
#address-cells = <1>;
#size-cells = <0>;

port@0 {
reg = <0>;
label = "wan";
};

port@1 {
reg = <1>;
label = "lan0";
};

port@2 {
reg = <2>;
label = "lan1";
};

port@3 {
reg = <3>;
label = "lan2";
};

port@4 {
reg = <4>;
label = "lan3";
};

port@6 {
reg = <6>;
label = "cpu";
ethernet = <&gmac0>;
phy-mode = "2500base-x";

fixed-link {
speed = <2500>;
full-duplex;
pause;
};
};
};
};

};
};

Expand Down

0 comments on commit 79a675e

Please sign in to comment.