From: Simon Horman <horms+rene...@verge.net.au>

Squash Simon's original commit with his fixup of sh_eth pin names

Signed-off-by: Simon Horman <horms+rene...@verge.net.au>
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>

[WIP] genmai sh_eth dts fixup

Signed-off-by: Simon Horman <horms+rene...@verge.net.au>
---
 arch/arm/boot/dts/r7s72100-genmai.dts | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/r7s72100-genmai.dts 
b/arch/arm/boot/dts/r7s72100-genmai.dts
index 72ae403..d003be0 100644
--- a/arch/arm/boot/dts/r7s72100-genmai.dts
+++ b/arch/arm/boot/dts/r7s72100-genmai.dts
@@ -71,9 +71,32 @@
 };
 
 &pfc {
-       pinctrl-0 = <&scif2_pins>;
+       pinctrl-0 = <&ethernet_pins &scif2_pins>;
        pinctrl-names = "default";
 
+       ethernet_pins: ethernet {
+               renesas,groups = "ethernet_rxdv_p3_6",
+                                "ethernet_rxer_p3_5",
+                                "ethernet_rxclk_p3_4",
+                                "ethernet_mdio_p3_3",
+                                "ethernet_rxd3_p2_11",
+                                "ethernet_rxd2_p2_10",
+                                "ethernet_rxd1_p2_9",
+                                "ethernet_rxd0_p2_8",
+                                "ethernet_txd3_p2_7",
+                                "ethernet_txd2_p2_6",
+                                "ethernet_txd1_p2_5",
+                                "ethernet_txd0_p2_4",
+                                "ethernet_txcrs_p2_3",
+                                "ethernet_txen_p2_2",
+                                "ethernet_txer_p2_1",
+                                "ethernet_txclk_p2_0",
+                                "ethernet_mdc_p5_9",
+                                "ethernet_col_p1_14",
+                                "ethernet_int_p1_15";
+               renesas,function = "ethernet";
+       };
+
        scif2_pins: serial2 {
                renesas,groups = "scif2_txd_p3_0", "scif2_rxd_p3_2";
                renesas,function = "scif2";
-- 
2.7.4

Reply via email to