aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2013-10-07 23:39:30 -0400
committerSimon Horman <horms+renesas@verge.net.au>2013-12-10 03:26:51 -0500
commitab87e3fc0b3532f8ff1cb08b9f3680bc98be7728 (patch)
tree8140e01b1848dfe01a1811bbfe259b5e37e51694 /arch
parent55146927a7d504dc9bef65cad9435ce04329d854 (diff)
ARM: shmobile: r8a7791 GPIO device tree node
Add GPIO controllers to the r8a7791 DTSI file. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/r8a7791.dtsi96
1 files changed, 96 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index 765d989dfe72..344f1f759c1a 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -46,6 +46,102 @@
46 interrupts = <1 9 0xf04>; 46 interrupts = <1 9 0xf04>;
47 }; 47 };
48 48
49 gpio0: gpio@ffc40000 {
50 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
51 reg = <0 0xffc40000 0 0x50>;
52 interrupt-parent = <&gic>;
53 interrupts = <0 4 0x4>;
54 #gpio-cells = <2>;
55 gpio-controller;
56 gpio-ranges = <&pfc 0 0 32>;
57 #interrupt-cells = <2>;
58 interrupt-controller;
59 };
60
61 gpio1: gpio@ffc41000 {
62 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
63 reg = <0 0xffc41000 0 0x50>;
64 interrupt-parent = <&gic>;
65 interrupts = <0 5 0x4>;
66 #gpio-cells = <2>;
67 gpio-controller;
68 gpio-ranges = <&pfc 0 32 32>;
69 #interrupt-cells = <2>;
70 interrupt-controller;
71 };
72
73 gpio2: gpio@ffc42000 {
74 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
75 reg = <0 0xffc42000 0 0x50>;
76 interrupt-parent = <&gic>;
77 interrupts = <0 6 0x4>;
78 #gpio-cells = <2>;
79 gpio-controller;
80 gpio-ranges = <&pfc 0 64 32>;
81 #interrupt-cells = <2>;
82 interrupt-controller;
83 };
84
85 gpio3: gpio@ffc43000 {
86 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
87 reg = <0 0xffc43000 0 0x50>;
88 interrupt-parent = <&gic>;
89 interrupts = <0 7 0x4>;
90 #gpio-cells = <2>;
91 gpio-controller;
92 gpio-ranges = <&pfc 0 96 32>;
93 #interrupt-cells = <2>;
94 interrupt-controller;
95 };
96
97 gpio4: gpio@ffc44000 {
98 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
99 reg = <0 0xffc44000 0 0x50>;
100 interrupt-parent = <&gic>;
101 interrupts = <0 8 0x4>;
102 #gpio-cells = <2>;
103 gpio-controller;
104 gpio-ranges = <&pfc 0 128 32>;
105 #interrupt-cells = <2>;
106 interrupt-controller;
107 };
108
109 gpio5: gpio@ffc45000 {
110 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
111 reg = <0 0xffc45000 0 0x50>;
112 interrupt-parent = <&gic>;
113 interrupts = <0 9 0x4>;
114 #gpio-cells = <2>;
115 gpio-controller;
116 gpio-ranges = <&pfc 0 160 32>;
117 #interrupt-cells = <2>;
118 interrupt-controller;
119 };
120
121 gpio6: gpio@ffc45400 {
122 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
123 reg = <0 0xffc45400 0 0x50>;
124 interrupt-parent = <&gic>;
125 interrupts = <0 10 0x4>;
126 #gpio-cells = <2>;
127 gpio-controller;
128 gpio-ranges = <&pfc 0 192 32>;
129 #interrupt-cells = <2>;
130 interrupt-controller;
131 };
132
133 gpio7: gpio@ffc45800 {
134 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
135 reg = <0 0xffc45800 0 0x50>;
136 interrupt-parent = <&gic>;
137 interrupts = <0 11 0x4>;
138 #gpio-cells = <2>;
139 gpio-controller;
140 gpio-ranges = <&pfc 0 224 26>;
141 #interrupt-cells = <2>;
142 interrupt-controller;
143 };
144
49 timer { 145 timer {
50 compatible = "arm,armv7-timer"; 146 compatible = "arm,armv7-timer";
51 interrupts = <1 13 0xf08>, 147 interrupts = <1 13 0xf08>,