ARM: dts: rskrza1: Add Ethernet pin group
authorChris Brandt <chris.brandt@renesas.com>
Thu, 20 Jul 2017 18:20:17 +0000 (13:20 -0500)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 31 Jul 2017 15:10:04 +0000 (17:10 +0200)
Add pin configuration for Ethernet.

Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r7s72100-rskrza1.dts

index 5fac0f82d7423d9db12fa7fced5e25a8edd2cca9..cedf887e809a654778b3d83dbd710b00866b4298 100644 (file)
                pinmux = <RZA1_PINMUX(3, 0, 6)>,        /* TxD2 */
                         <RZA1_PINMUX(3, 2, 4)>;        /* RxD2 */
        };
+
+       /* Ethernet */
+       ether_pins: ether {
+               /* Ethernet on Ports 1,2,3,5 */
+               pinmux = <RZA1_PINMUX(1, 14, 4)>,       /* ET_COL   */
+                        <RZA1_PINMUX(5, 9, 2)>,        /* ET_MDC   */
+                        <RZA1_PINMUX(3, 3, 2)>,        /* ET_MDIO  */
+                        <RZA1_PINMUX(3, 4, 2)>,        /* ET_RXCLK */
+                        <RZA1_PINMUX(3, 5, 2)>,        /* ET_RXER  */
+                        <RZA1_PINMUX(3, 6, 2)>,        /* ET_RXDV  */
+                        <RZA1_PINMUX(2, 0, 2)>,        /* ET_TXCLK */
+                        <RZA1_PINMUX(2, 1, 2)>,        /* ET_TXER  */
+                        <RZA1_PINMUX(2, 2, 2)>,        /* ET_TXEN  */
+                        <RZA1_PINMUX(2, 3, 2)>,        /* ET_CRS   */
+                        <RZA1_PINMUX(2, 4, 2)>,        /* ET_TXD0  */
+                        <RZA1_PINMUX(2, 5, 2)>,        /* ET_TXD1  */
+                        <RZA1_PINMUX(2, 6, 2)>,        /* ET_TXD2  */
+                        <RZA1_PINMUX(2, 7, 2)>,        /* ET_TXD3  */
+                        <RZA1_PINMUX(2, 8, 2)>,        /* ET_RXD0  */
+                        <RZA1_PINMUX(2, 9, 2)>,        /* ET_RXD1  */
+                        <RZA1_PINMUX(2, 10, 2)>,       /* ET_RXD2  */
+                        <RZA1_PINMUX(2, 11, 2)>;       /* ET_RXD3  */
+       };
 };
 
 &mtu2 {
@@ -62,6 +85,8 @@
 };
 
 &ether {
+       pinctrl-names = "default";
+       pinctrl-0 = <&ether_pins>;
        status = "okay";
        renesas,no-ether-link;
        phy-handle = <&phy0>;