diff options
author | Zhangfei Gao <zhangfei.gao@linaro.org> | 2014-08-19 05:00:33 +0200 |
---|---|---|
committer | Wei Xu <xuwei5@hisilicon.com> | 2014-11-07 12:29:16 +0100 |
commit | 9fb0e6e7e05371c33ee2f8c838117e58e129d72d (patch) | |
tree | 458f3c8e9368c77151a2f35c0cec97f17bd47a54 /arch/arm/boot/dts/hisi-x5hd2-dkb.dts | |
parent | Linux 3.18-rc1 (diff) | |
download | linux-9fb0e6e7e05371c33ee2f8c838117e58e129d72d.tar.xz linux-9fb0e6e7e05371c33ee2f8c838117e58e129d72d.zip |
ARM: dts: hix5hd2: add gmac node
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Diffstat (limited to 'arch/arm/boot/dts/hisi-x5hd2-dkb.dts')
-rw-r--r-- | arch/arm/boot/dts/hisi-x5hd2-dkb.dts | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/hisi-x5hd2-dkb.dts b/arch/arm/boot/dts/hisi-x5hd2-dkb.dts index 05b44c272c9a..0da3f3b6721e 100644 --- a/arch/arm/boot/dts/hisi-x5hd2-dkb.dts +++ b/arch/arm/boot/dts/hisi-x5hd2-dkb.dts @@ -51,3 +51,31 @@ &uart0 { status = "okay"; }; + +&gmac0 { + #address-cells = <1>; + #size-cells = <0>; + phy-handle = <&phy2>; + phy-mode = "mii"; + /* Placeholder, overwritten by bootloader */ + mac-address = [00 00 00 00 00 00]; + status = "okay"; + + phy2: ethernet-phy@2 { + reg = <2>; + }; +}; + +&gmac1 { + #address-cells = <1>; + #size-cells = <0>; + phy-handle = <&phy1>; + phy-mode = "rgmii"; + /* Placeholder, overwritten by bootloader */ + mac-address = [00 00 00 00 00 00]; + status = "okay"; + + phy1: ethernet-phy@1 { + reg = <1>; + }; +}; |