summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-12-20 14:43:02 +0300
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-12-21 19:08:36 +0300
commitb3a9995e58dedc995ee9b6c16aed75839cb4ba94 (patch)
tree79acb95c5eb5c9de59e1a032c7bb4e77c9ab8668 /arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts
parent8661d0c34e8ad044afa5a3cbf04c7e0e35f2e465 (diff)
downloadlinux-b3a9995e58dedc995ee9b6c16aed75839cb4ba94.tar.xz
ARM: dts: sun7i: Enable gmac on Wits Pro A20 DKT
The Wits Pro A20 DKT has a gbit ethernet port, enable it. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-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-wits-pro-a20-dkt.dts')
-rw-r--r--arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts b/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts
index 85b500d8cc4c..dc31d476ef81 100644
--- a/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts
+++ b/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts
@@ -80,6 +80,18 @@
status = "okay";
};
+&gmac {
+ pinctrl-names = "default";
+ pinctrl-0 = <&gmac_pins_rgmii_a>;
+ phy = <&phy1>;
+ phy-mode = "rgmii";
+ status = "okay";
+
+ phy1: ethernet-phy@1 {
+ reg = <1>;
+ };
+};
+
&i2c0 {
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins_a>;