devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM64: dts: meson-axg: add RMII pins for ethernet controller
@ 2018-01-11  3:04 Yixun Lan
  2018-01-11  8:37 ` Jerome Brunet
  0 siblings, 1 reply; 5+ messages in thread
From: Yixun Lan @ 2018-01-11  3:04 UTC (permalink / raw)
  To: Kevin Hilman
  Cc: devicetree, Neil Armstrong, Jerome Brunet, Carlo Caione,
	Yixun Lan, linux-amlogic, linux-arm-kernel, linux-kernel

Comparing to RGMII interface, the RMII interface require few pins.
So it's worth describing them here.

Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
---
 arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
index a80632641b39..ab4a0e8bc446 100644
--- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
@@ -251,6 +251,36 @@
 					gpio-ranges = <&pinctrl_periphs 0 0 86>;
 				};
 
+				eth_rmii_x_pins: eth-x-rmii {
+					mux {
+						groups = "eth_mdio_x",
+						       "eth_mdc_x",
+						       "eth_rgmii_rx_clk_x",
+						       "eth_rx_dv_x",
+						       "eth_rxd0_x",
+						       "eth_rxd1_x",
+						       "eth_txen_x",
+						       "eth_txd0_x",
+						       "eth_txd1_x";
+						function = "eth";
+					};
+				};
+
+				eth_rmii_y_pins: eth-y-rmii {
+					mux {
+						groups = "eth_mdio_y",
+						       "eth_mdc_y",
+						       "eth_rgmii_rx_clk_y",
+						       "eth_rx_dv_y",
+						       "eth_rxd0_y",
+						       "eth_rxd1_y",
+						       "eth_txen_y",
+						       "eth_txd0_y",
+						       "eth_txd1_y";
+						function = "eth";
+					};
+				};
+
 				eth_rgmii_x_pins: eth-x-rgmii {
 					mux {
 						groups = "eth_mdio_x",
-- 
2.15.1

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

* Re: [PATCH] ARM64: dts: meson-axg: add RMII pins for ethernet controller
  2018-01-11  3:04 [PATCH] ARM64: dts: meson-axg: add RMII pins for ethernet controller Yixun Lan
@ 2018-01-11  8:37 ` Jerome Brunet
       [not found]   ` <1515659863.5048.112.camel-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Jerome Brunet @ 2018-01-11  8:37 UTC (permalink / raw)
  To: Yixun Lan, Kevin Hilman
  Cc: devicetree, Neil Armstrong, Carlo Caione, linux-amlogic,
	linux-arm-kernel, linux-kernel

On Thu, 2018-01-11 at 11:04 +0800, Yixun Lan wrote:
> Comparing to RGMII interface, the RMII interface require few pins.
> So it's worth describing them here.
> 
> Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>

The only axg platform we have upstream is the s400 and is using rgmii.
May I ask how this was tested ?

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

* Re: [PATCH] ARM64: dts: meson-axg: add RMII pins for ethernet controller
       [not found]   ` <1515659863.5048.112.camel-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
@ 2018-01-11  9:11     ` Yixun Lan
       [not found]       ` <2fa28259-cce9-37fc-3bcd-6017a35a052a-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Yixun Lan @ 2018-01-11  9:11 UTC (permalink / raw)
  To: Jerome Brunet, Kevin Hilman
  Cc: yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Neil Armstrong, Carlo Caione,
	linux-amlogic-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

Hi Jerome:

On 01/11/18 16:37, Jerome Brunet wrote:
> On Thu, 2018-01-11 at 11:04 +0800, Yixun Lan wrote:
>> Comparing to RGMII interface, the RMII interface require few pins.
>> So it's worth describing them here.
>>
>> Signed-off-by: Yixun Lan <yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org>
> 
> The only axg platform we have upstream is the s400 and is using rgmii.
> May I ask how this was tested ?
> 
It's true that S400 using RGMII interface.

but, we have customer using RTL8201FR-VB/VD which is a RMII PHY,

This is actually tested with the 'eth_rmii_x_pins' group.

Yixun
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] ARM64: dts: meson-axg: add RMII pins for ethernet controller
       [not found]       ` <2fa28259-cce9-37fc-3bcd-6017a35a052a-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org>
@ 2018-01-11  9:33         ` Neil Armstrong
       [not found]           ` <593cbb66-7040-b27d-5109-702fb43dc18e-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Neil Armstrong @ 2018-01-11  9:33 UTC (permalink / raw)
  To: Yixun Lan, Jerome Brunet, Kevin Hilman
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, Carlo Caione,
	linux-amlogic-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

On 11/01/2018 10:11, Yixun Lan wrote:
> Hi Jerome:
> 
> On 01/11/18 16:37, Jerome Brunet wrote:
>> On Thu, 2018-01-11 at 11:04 +0800, Yixun Lan wrote:
>>> Comparing to RGMII interface, the RMII interface require few pins.
>>> So it's worth describing them here.
>>>
>>> Signed-off-by: Yixun Lan <yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org>
>>
>> The only axg platform we have upstream is the s400 and is using rgmii.
>> May I ask how this was tested ?
>>
> It's true that S400 using RGMII interface.
> 
> but, we have customer using RTL8201FR-VB/VD which is a RMII PHY,
> 
> This is actually tested with the 'eth_rmii_x_pins' group.
> 
> Yixun
> 

I pushed the same for GXBB,

Acked-by: Neil Armstrong <narmstrong-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] ARM64: dts: meson-axg: add RMII pins for ethernet controller
       [not found]           ` <593cbb66-7040-b27d-5109-702fb43dc18e-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
@ 2018-01-31  0:00             ` Kevin Hilman
  0 siblings, 0 replies; 5+ messages in thread
From: Kevin Hilman @ 2018-01-31  0:00 UTC (permalink / raw)
  To: Neil Armstrong
  Cc: Yixun Lan, Jerome Brunet, devicetree-u79uwXL29TY76Z2rM5mHXA,
	Carlo Caione, linux-amlogic-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

Neil Armstrong <narmstrong-rdvid1DuHRBWk0Htik3J/w@public.gmane.org> writes:

> On 11/01/2018 10:11, Yixun Lan wrote:
>> Hi Jerome:
>> 
>> On 01/11/18 16:37, Jerome Brunet wrote:
>>> On Thu, 2018-01-11 at 11:04 +0800, Yixun Lan wrote:
>>>> Comparing to RGMII interface, the RMII interface require few pins.
>>>> So it's worth describing them here.
>>>>
>>>> Signed-off-by: Yixun Lan <yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org>
>>>
>>> The only axg platform we have upstream is the s400 and is using rgmii.
>>> May I ask how this was tested ?
>>>
>> It's true that S400 using RGMII interface.
>> 
>> but, we have customer using RTL8201FR-VB/VD which is a RMII PHY,
>> 
>> This is actually tested with the 'eth_rmii_x_pins' group.
>> 
>> Yixun
>> 
>
> I pushed the same for GXBB,
>
> Acked-by: Neil Armstrong <narmstrong-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>

Applied to v4.17/dt64 with Neil's ack.

Kevin
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2018-01-31  0:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-11  3:04 [PATCH] ARM64: dts: meson-axg: add RMII pins for ethernet controller Yixun Lan
2018-01-11  8:37 ` Jerome Brunet
     [not found]   ` <1515659863.5048.112.camel-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
2018-01-11  9:11     ` Yixun Lan
     [not found]       ` <2fa28259-cce9-37fc-3bcd-6017a35a052a-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org>
2018-01-11  9:33         ` Neil Armstrong
     [not found]           ` <593cbb66-7040-b27d-5109-702fb43dc18e-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
2018-01-31  0:00             ` Kevin Hilman

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