diff options
author | Horatiu Vultur <horatiu.vultur@microchip.com> | 2019-04-24 11:27:59 +0200 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2019-05-03 16:42:24 +0200 |
commit | 8c211af8f8c0617c40ccf4f0df557e4fbf6073ea (patch) | |
tree | bf9bb71a956826b26e1032a42a528ba4c756c798 /arch/mips/dts/ocelot_pcb123.dts | |
parent | 06d270cf57a48abbb71daa2ea30178ab04dc9cef (diff) | |
download | u-boot-8c211af8f8c0617c40ccf4f0df557e4fbf6073ea.tar.gz |
net: mscc: ocelot: Update DTS for Ocelot pcb120.
Update device tree for ocelot to add support for ocelot pcb120.
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Diffstat (limited to 'arch/mips/dts/ocelot_pcb123.dts')
-rw-r--r-- | arch/mips/dts/ocelot_pcb123.dts | 44 |
1 files changed, 31 insertions, 13 deletions
diff --git a/arch/mips/dts/ocelot_pcb123.dts b/arch/mips/dts/ocelot_pcb123.dts index a4fa37001f..1b0156e503 100644 --- a/arch/mips/dts/ocelot_pcb123.dts +++ b/arch/mips/dts/ocelot_pcb123.dts @@ -38,20 +38,38 @@ &mdio0 { status = "okay"; -}; - -&port0 { - phy-handle = <&phy0>; -}; -&port1 { - phy-handle = <&phy1>; -}; - -&port2 { - phy-handle = <&phy2>; + phy0: ethernet-phy@0 { + reg = <0>; + }; + phy1: ethernet-phy@1 { + reg = <1>; + }; + phy2: ethernet-phy@2 { + reg = <2>; + }; + phy3: ethernet-phy@3 { + reg = <3>; + }; }; -&port3 { - phy-handle = <&phy3>; +&switch { + ethernet-ports { + port0: port@0 { + reg = <2>; + phy-handle = <&phy2>; + }; + port1: port@1 { + reg = <3>; + phy-handle = <&phy3>; + }; + port2: port@2 { + reg = <0>; + phy-handle = <&phy0>; + }; + port3: port@3 { + reg = <1>; + phy-handle = <&phy1>; + }; + }; }; |