linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH resend 0/1] ARM: dts: sun6i: Turn on gmac on Colombus
@ 2015-10-13 12:37 Hans de Goede
  2015-10-13 12:37 ` [PATCH resend] " Hans de Goede
  0 siblings, 1 reply; 3+ messages in thread
From: Hans de Goede @ 2015-10-13 12:37 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH resend] ARM: dts: sun6i: Turn on gmac on Colombus
  2015-10-13 12:37 [PATCH resend 0/1] ARM: dts: sun6i: Turn on gmac on Colombus Hans de Goede
@ 2015-10-13 12:37 ` Hans de Goede
  2015-10-13 18:42   ` Maxime Ripard
  0 siblings, 1 reply; 3+ messages in thread
From: Hans de Goede @ 2015-10-13 12:37 UTC (permalink / raw)
  To: linux-arm-kernel

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

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 arch/arm/boot/dts/sun6i-a31-colombus.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/sun6i-a31-colombus.dts b/arch/arm/boot/dts/sun6i-a31-colombus.dts
index 813f715..f9cf368 100644
--- a/arch/arm/boot/dts/sun6i-a31-colombus.dts
+++ b/arch/arm/boot/dts/sun6i-a31-colombus.dts
@@ -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>;
-- 
2.5.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH resend] ARM: dts: sun6i: Turn on gmac on Colombus
  2015-10-13 12:37 ` [PATCH resend] " Hans de Goede
@ 2015-10-13 18:42   ` Maxime Ripard
  0 siblings, 0 replies; 3+ messages in thread
From: Maxime Ripard @ 2015-10-13 18:42 UTC (permalink / raw)
  To: linux-arm-kernel

1;3803;0c
On Tue, Oct 13, 2015 at 02:37:45PM +0200, Hans de Goede wrote:
> We've everything we need to support the gmac on Colombus, turn it on.
> 
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>

Applied, thanks!

Maxime

-- 
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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-13 18:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-13 12:37 [PATCH resend 0/1] ARM: dts: sun6i: Turn on gmac on Colombus Hans de Goede
2015-10-13 12:37 ` [PATCH resend] " Hans de Goede
2015-10-13 18:42   ` Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).