Subject: [PATCH] ARM: shmobile: r8a7794: add PFC DT support

From: [email-masked] (Sergei Shtylyov)
Date: Thu, 12 Feb 2015 01:06:49 +0300

Define the generic R8A7794 part of the PFC device node.

Based on original patch by Hisashi Nakamura <[email-masked]>.

Signed-off-by: Sergei Shtylyov <[email-masked]>

---
This patch is against 'renesas-devel-20150211-v3.19' tag of Simon Horman's
'renesas.git' repo. It needs the R8A7794 PFC driver patch in order to work.

 arch/arm/boot/dts/r8a7794.dtsi |    6 ++++++
 1 file changed, 6 insertions(+)

Index: renesas/arch/arm/boot/dts/r8a7794.dtsi
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7794.dtsi
+++ renesas/arch/arm/boot/dts/r8a7794.dtsi
@@ -107,6 +107,12 @@
 			     <0 17 IRQ_TYPE_LEVEL_HIGH>;
 	};
 
+	pfc: pin-controller at e6060000 {
+		compatible = "renesas,pfc-r8a7794";
+		reg = <0 0xe6060000 0 0x11c>;
+		#gpio-range-cells = <3>;
+	};
+
 	dmac0: dma-controller at e6700000 {
 		compatible = "renesas,rcar-dmac";
 		reg = <0 0xe6700000 0 0x20000>;