ARM: shmobile: alt: Correct ether pfc
authorSimon Horman <horms+renesas@verge.net.au>
Tue, 24 Nov 2015 02:16:05 +0000 (11:16 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 25 Nov 2015 01:30:43 +0000 (10:30 +0900)
22b160713cb6 ("ARM: shmobile: alt: Add pfc pins to DT") introduced pfc pins
to the alt device tree but did not reference them. This patch fixes ether
pfc by:

* Referencing ether pins
* Adding and referencing phy1 pins
* Removing ether b pins. These are not used in the configuration
  of the alt board used for testing and empirically their presence
  prevents ethernet from functioning correctly in that environment.

Reported-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7794-alt.dts

index c8cafc1d55c3b750b96de9e4f714bbd7266efa41..767d9224d6cc5cc1f50799f337731ef7bfbc9619 100644 (file)
                renesas,function = "eth";
        };
 
-       ether_b_pins: ether {
-               renesas,groups = "eth_link_b", "eth_mdio_b", "eth_rmii_b";
-               renesas,function = "eth";
+       phy1_pins: phy1 {
+               renesas,groups = "intc_irq8";
+               renesas,function = "intc";
        };
 
        i2c1_pins: i2c1 {
 };
 
 &ether {
+       pinctrl-0 = <&ether_pins &phy1_pins>;
+       pinctrl-names = "default";
+
        phy-handle = <&phy1>;
        renesas,ether-link-active-low;
        status = "okay";