Re: [PATCH v3 resend] ARM: dts: iwg23s-sbc: Add pinctl support for EtherAVB

2018-11-08 Thread Simon Horman
On Wed, Nov 07, 2018 at 12:06:43PM +, Fabrizio Castro wrote:
> From: Biju Das 
> 
> Adding pinctrl support for EtherAVB interface.
> 
> Signed-off-by: Biju Das 
> Reviewed-by: Fabrizio Castro 
> Reviewed-by: Geert Uytterhoeven 
> Signed-off-by: Fabrizio Castro 
> ---
> v4.20 RC1 is out, this update rebases the patch on top of
> renesas-devel-20181107-v4.20-rc1

Thanks, applied for v4.21.


[PATCH v3 resend] ARM: dts: iwg23s-sbc: Add pinctl support for EtherAVB

2018-11-07 Thread Fabrizio Castro
From: Biju Das 

Adding pinctrl support for EtherAVB interface.

Signed-off-by: Biju Das 
Reviewed-by: Fabrizio Castro 
Reviewed-by: Geert Uytterhoeven 
Signed-off-by: Fabrizio Castro 
---
v4.20 RC1 is out, this update rebases the patch on top of
renesas-devel-20181107-v4.20-rc1

Thanks,
Fab

 arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts | 8 
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts 
b/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts
index 18d2263..52f23b8 100644
--- a/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts
+++ b/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts
@@ -60,6 +60,9 @@
 };
 
 &avb {
+   pinctrl-0 = <&avb_pins>;
+   pinctrl-names = "default";
+
phy-handle = <&phy3>;
phy-mode = "gmii";
renesas,no-ether-link;
@@ -82,6 +85,11 @@
 };
 
 &pfc {
+   avb_pins: avb {
+   groups = "avb_mdio", "avb_gmii_tx_rx";
+   function = "avb";
+   };
+
mmc_pins_uhs: mmc_uhs {
groups = "mmc_data8", "mmc_ctrl";
function = "mmc";
-- 
2.7.4