mips: add ethernet support for qca953x referenced boards
PATCH 3/3 mips: add ethernet support for qca953x referenced boards
Signed-off-by Rosy Song <[email protected]>
--- arch/mips/dts/ap143.dts | 5 +++++ arch/mips/dts/qca953x.dtsi | 31 +++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+)
arch/mips/dts/ap143.dts +5 -0
@@ -40,3 +40,8 @@ reg = <0>; }; }; + +&gmac1 { + status = "okay"; + phy-mode = "rgmii"; +};
arch/mips/dts/qca953x.dtsi +31 -0
@@ -65,6 +65,37 @@ status = "disabled"; }; + + gmac0: eth0 at 0x19000000 { + compatible = "qca,ag953x-mac"; + reg = <0x19000000 0x200>; + phy = <&phy4>; + phy-mode = "rmii"; + + status = "disabled"; + }; + + gmac1: eth1 at 0x1a000000 { + compatible = "qca,ag953x-mac"; + reg = <0x1a000000 0x200>; + phy = <&phy0>; + phy-mode = "rgmii"; + + status = "disabled"; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + phy0: ethernet-phy at 0 { + reg = <0>; + phy-mode = "rmii"; + }; + phy4: ethernet-phy at 4 { + reg = <4>; + phy-mode = "rmii"; + }; + }; + }; }; spi0: spi at 1f000000 {
Signature · 1 line
2.17.0
PATCH 3/3 mips: add ethernet support for qca953x referenced boards
Am 05.02.19 um 10:50 schrieb Rosy Song:
Quoted 6 lines
Signed-off-by Rosy Song <[email protected]>--- arch/mips/dts/ap143.dts | 5 +++++ arch/mips/dts/qca953x.dtsi | 31 +++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+)
applied to u-boot-mips, thanks.
Signature · 1 line
- Daniel