diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-11-16 22:49:01 +0300 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-11-17 19:02:54 +0300 |
commit | 2f28e337651173680c6f045c3d598eaf17b764bb (patch) | |
tree | 72100b62c43dc0e25a0eaba09525630ee733f5ee /arch/arm/boot/dts/sun6i-a31-m9.dts | |
parent | c30c619da3994dce5c274428c41b48f4ecf1c9ab (diff) | |
download | linux-2f28e337651173680c6f045c3d598eaf17b764bb.tar.xz |
ARM: dts: sun6i: Add ethernet support to M9 board
The Mele M9 has an ethernet board, enable it.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun6i-a31-m9.dts')
-rw-r--r-- | arch/arm/boot/dts/sun6i-a31-m9.dts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun6i-a31-m9.dts b/arch/arm/boot/dts/sun6i-a31-m9.dts index 66bb7c918e20..3ab544f3af4a 100644 --- a/arch/arm/boot/dts/sun6i-a31-m9.dts +++ b/arch/arm/boot/dts/sun6i-a31-m9.dts @@ -109,6 +109,18 @@ pinctrl-0 = <&uart0_pins_a>; status = "okay"; }; + + gmac: ethernet@01c30000 { + pinctrl-names = "default"; + pinctrl-0 = <&gmac_pins_mii_a>; + phy = <&phy1>; + phy-mode = "mii"; + status = "okay"; + + phy1: ethernet-phy@1 { + reg = <1>; + }; + }; }; leds { |