Skip to contentSkip to conversation

ARM: dts: sun6i: Turn on gmac on Colombus

PATCH RESEND Superseded Hans de Goede 2 participants 3 messages Oct 13, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover ARM: dts: sun6i: Turn on gmac on Colombus

Hi Maxime,

This is a resend of a patch from a while ago. Back then there was some discussion on the interaction of this patch with various regulators.

In the mean time I've tried to turn of the regulator in question, and I can confirm that the gmac keeps working just fine then, so there is no missing dependency on a regulator and this patch can go in as as.

Regards,

Hans

#1 lore raw

PATCH RESEND 1/1 ARM: dts: sun6i: Turn on gmac on Colombus

We've everything we need to support the gmac on Colombus, turn it on.

---
 arch/arm/boot/dts/sun6i-a31-colombus.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm/boot/dts/sun6i-a31-colombus.dts +12 -0
index 813f715..f9cf368 100644
@@ -76,6 +76,18 @@
 	status = "okay";
 };
 
+&gmac {
+	pinctrl-names = "default";
+	pinctrl-0 = <&gmac_pins_rgmii_a>;
+	phy = <&phy1>;
+	phy-mode = "rgmii";
+	status = "okay";
+
+	phy1: ethernet-phy at 1 {
+		reg = <1>;
+	};
+};
+
 &i2c0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&i2c0_pins_a>;
Signature · 1 line
2.5.0
#2 lore raw

PATCH RESEND 1/1 ARM: dts: sun6i: Turn on gmac on Colombus

1;3803;0c

Quoted 3 lines · Hans de Goede

We've everything we need to support the gmac on Colombus, turn it on.

Applied, thanks!

Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20151013/c477f278/attachment.sig>