diff options
author | Florian Fainelli <florian@openwrt.org> | 2013-03-16 22:25:41 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2013-03-16 22:25:41 +0000 |
commit | 18908139f3811f4d7012fbc87aef951eb993775c (patch) | |
tree | 7afb8719e9d3143016eaff77dfcaa907158c6d6f /target/linux/mcs814x/files-3.3/arch | |
parent | 541344b93e0a5085611d5e67eb66d329ee8ffe60 (diff) | |
download | upstream-18908139f3811f4d7012fbc87aef951eb993775c.tar.gz upstream-18908139f3811f4d7012fbc87aef951eb993775c.tar.bz2 upstream-18908139f3811f4d7012fbc87aef951eb993775c.zip |
mcs814x: use the standard device tree binding to represent a PHY node
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36059
Diffstat (limited to 'target/linux/mcs814x/files-3.3/arch')
3 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/mcs814x/files-3.3/arch/arm/boot/dts/dlan-usb-extender.dts b/target/linux/mcs814x/files-3.3/arch/arm/boot/dts/dlan-usb-extender.dts index c8611deab7..0c85b94c0a 100644 --- a/target/linux/mcs814x/files-3.3/arch/arm/boot/dts/dlan-usb-extender.dts +++ b/target/linux/mcs814x/files-3.3/arch/arm/boot/dts/dlan-usb-extender.dts @@ -19,6 +19,14 @@ ahb { vci { + eth0: ethernet@40084000 { + phy = <&phy0>; + phy-mode = "mii"; + + phy0: ethernet-phy@0 { + reg = <8>; + }; + }; adc { sdram: memory@0,0 { diff --git a/target/linux/mcs814x/files-3.3/arch/arm/boot/dts/mcs8140.dtsi b/target/linux/mcs814x/files-3.3/arch/arm/boot/dts/mcs8140.dtsi index ad52d9277b..c52107c7db 100644 --- a/target/linux/mcs814x/files-3.3/arch/arm/boot/dts/mcs8140.dtsi +++ b/target/linux/mcs814x/files-3.3/arch/arm/boot/dts/mcs8140.dtsi @@ -37,6 +37,9 @@ ranges; eth0: ethernet@40084000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "moschip,nuport-mac"; reg = <0x40084000 0xd8 // mac 0x40080000 0x58>; // dma channels diff --git a/target/linux/mcs814x/files-3.3/arch/arm/boot/dts/rbt-832.dts b/target/linux/mcs814x/files-3.3/arch/arm/boot/dts/rbt-832.dts index cc7fab8ed1..9949c8ecf3 100644 --- a/target/linux/mcs814x/files-3.3/arch/arm/boot/dts/rbt-832.dts +++ b/target/linux/mcs814x/files-3.3/arch/arm/boot/dts/rbt-832.dts @@ -21,6 +21,12 @@ vci { eth0: ethernet@40084000 { nuport-mac,link-activity = <0x01>; + phy = <&phy0>; + phy-mode = "mii"; + + phy0: ethernet-phy@0 { + reg = <1>; + }; }; adc { |