diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2013-09-11 11:10:08 +0200 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-09-12 21:22:43 +0200 |
commit | 0547433761802d773a993d6280f554a2980b4df0 (patch) | |
tree | 07f53516f1fe86343a655dd1f010beba48a6f614 /arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | |
parent | ARM: dts: sun7i: Add the muxing options for the EMAC (diff) | |
download | linux-0547433761802d773a993d6280f554a2980b4df0.tar.xz linux-0547433761802d773a993d6280f554a2980b4df0.zip |
ARM: dts: sun7i: cubieboard2: Enable the EMAC
The Cubieboard2, just like its A10 counterpart, has the Ethernet wired
in. Enable it in the DT.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/boot/dts/sun7i-a20-cubieboard2.dts')
-rw-r--r-- | arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts index 31b76f08b3ad..15e625eca312 100644 --- a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts +++ b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts @@ -19,6 +19,21 @@ compatible = "cubietech,cubieboard2", "allwinner,sun7i-a20"; soc@01c00000 { + emac: ethernet@01c0b000 { + pinctrl-names = "default"; + pinctrl-0 = <&emac_pins_a>; + phy = <&phy1>; + status = "okay"; + }; + + mdio@01c0b080 { + status = "okay"; + + phy1: ethernet-phy@1 { + reg = <1>; + }; + }; + pinctrl@01c20800 { led_pins_cubieboard2: led_pins@0 { allwinner,pins = "PH20", "PH21"; |