diff options
| author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2013-09-11 05:10:09 -0400 |
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2013-09-12 15:22:48 -0400 |
| commit | f7ec00b3a5e6c18be350ce44dd8c03b36a8fda02 (patch) | |
| tree | 0c265b535c3a9e0354c45e7772f3a162c24921d8 | |
| parent | 0547433761802d773a993d6280f554a2980b4df0 (diff) | |
ARM: dts: sun7i: olinuxino-micro: Enable the EMAC
The A20-olinuxino-micro has the EMAC wired in. Enable it in the DT so
that we can use it.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
| -rw-r--r-- | arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts index 34a6c02a7c72..9e778557fadb 100644 --- a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts +++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | |||
| @@ -19,6 +19,21 @@ | |||
| 19 | compatible = "olimex,a20-olinuxino-micro", "allwinner,sun7i-a20"; | 19 | compatible = "olimex,a20-olinuxino-micro", "allwinner,sun7i-a20"; |
| 20 | 20 | ||
| 21 | soc@01c00000 { | 21 | soc@01c00000 { |
| 22 | emac: ethernet@01c0b000 { | ||
| 23 | pinctrl-names = "default"; | ||
| 24 | pinctrl-0 = <&emac_pins_a>; | ||
| 25 | phy = <&phy1>; | ||
| 26 | status = "okay"; | ||
| 27 | }; | ||
| 28 | |||
| 29 | mdio@01c0b080 { | ||
| 30 | status = "okay"; | ||
| 31 | |||
| 32 | phy1: ethernet-phy@1 { | ||
| 33 | reg = <1>; | ||
| 34 | }; | ||
| 35 | }; | ||
| 36 | |||
| 22 | pinctrl@01c20800 { | 37 | pinctrl@01c20800 { |
| 23 | led_pins_olinuxino: led_pins@0 { | 38 | led_pins_olinuxino: led_pins@0 { |
| 24 | allwinner,pins = "PH2"; | 39 | allwinner,pins = "PH2"; |
