summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-08-06 15:39:05 +0200
committerHans de Goede <hdegoede@redhat.com>2015-08-14 08:37:38 +0200
commitf00e8207c372b079b920b0d86cd03d6be06d2ff4 (patch)
tree776b9c2ac59940497e62cad7ac1eadd35a01ee9a /arch
parent84d54bc005c5a908aaf99815606c90b04e6f53bb (diff)
downloadtalos-obmc-uboot-f00e8207c372b079b920b0d86cd03d6be06d2ff4.tar.gz
talos-obmc-uboot-f00e8207c372b079b920b0d86cd03d6be06d2ff4.zip
sunxi: Fix gmac not working on the Colombus board
The phy is using a RGMII interface, which we need to specify in our board-config, and the dts needs a gmac section (the dts changes have also been submitted to the kernel). Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/sun6i-a31-colombus.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/dts/sun6i-a31-colombus.dts b/arch/arm/dts/sun6i-a31-colombus.dts
index 0cf9926d1e..0d0b6f268c 100644
--- a/arch/arm/dts/sun6i-a31-colombus.dts
+++ b/arch/arm/dts/sun6i-a31-colombus.dts
@@ -66,6 +66,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>;
OpenPOWER on IntegriCloud