From 1be759708e3f4e4552d9185c2eb279a1c727e414 Mon Sep 17 00:00:00 2001 From: florian Date: Sat, 16 Mar 2013 22:25:41 +0000 Subject: mcs814x: use the standard device tree binding to represent a PHY node Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36059 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../mcs814x/files-3.3/arch/arm/boot/dts/dlan-usb-extender.dts | 8 ++++++++ target/linux/mcs814x/files-3.3/arch/arm/boot/dts/mcs8140.dtsi | 3 +++ target/linux/mcs814x/files-3.3/arch/arm/boot/dts/rbt-832.dts | 6 ++++++ 3 files changed, 17 insertions(+) (limited to 'target/linux/mcs814x/files-3.3/arch/arm/boot/dts') 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 c8611deab..0c85b94c0 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 ad52d9277..c52107c7d 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 cc7fab8ed..9949c8ecf 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 { -- cgit v1.2.3