ARM: shmobile: alt: Add pfc pins to DT
authorSimon Horman <horms+renesas@verge.net.au>
Tue, 17 Nov 2015 19:10:40 +0000 (11:10 -0800)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 18 Nov 2015 17:09:10 +0000 (09:09 -0800)
PFC is already enabled on the r8a7794.
This adds pins for devices already enabled in DT on
the r8a7794 based alt board.

Based on work by Mitsuhiro Kimura and Hisashi Nakamura.

Cc: Mitsuhiro Kimura <mitsuhiro.kimura.kc@renesas.com>
Cc: Hisashi Nakamura <hisashi.nakamura.ak@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
arch/arm/boot/dts/r8a7794-alt.dts

index a548007..e7c9455 100644 (file)
        clock-frequency = <20000000>;
 };
 
+&pfc {
+       scif2_pins: serial2 {
+               renesas,groups = "scif2_data";
+               renesas,function = "scif2";
+       };
+
+       ether_pins: ether {
+               renesas,groups = "eth_link", "eth_mdio", "eth_rmii";
+               renesas,function = "eth";
+       };
+
+       ether_b_pins: ether {
+               renesas,groups = "eth_link_b", "eth_mdio_b", "eth_rmii_b";
+               renesas,function = "eth";
+       };
+};
+
 &cmt0 {
        status = "okay";
 };