diff options
author | Chen-Yu Tsai <wens@csie.org> | 2014-02-10 18:35:51 +0800 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-02-10 20:46:21 +0100 |
commit | 67073d97672d03cc29ba252235e31c7e54ea9b62 (patch) | |
tree | ae55326548cc9e6fe4ead398f0183addbea03df2 /arch/arm/boot/dts/sun7i-a20-cubietruck.dts | |
parent | 129ccbcd6fc704f3a0df892240f3aeb463d461f5 (diff) | |
download | op-kernel-dev-67073d97672d03cc29ba252235e31c7e54ea9b62.zip op-kernel-dev-67073d97672d03cc29ba252235e31c7e54ea9b62.tar.gz |
ARM: dts: sun7i: cubietruck: Enable the GMAC
The CubieTruck uses the GMAC with an RGMII phy.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun7i-a20-cubietruck.dts')
-rw-r--r-- | arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts index f9dcb61..025ce52 100644 --- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts +++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts @@ -51,6 +51,18 @@ pinctrl-0 = <&i2c2_pins_a>; status = "okay"; }; + + gmac: ethernet@01c50000 { + pinctrl-names = "default"; + pinctrl-0 = <&gmac_pins_rgmii_a>; + phy = <&phy1>; + phy-mode = "rgmii"; + status = "okay"; + + phy1: ethernet-phy@1 { + reg = <1>; + }; + }; }; leds { |