aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/boot
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2019-05-27 05:13:19 -0400
committerPaul Burton <paul.burton@mips.com>2019-06-24 17:15:06 -0400
commite456a3bdea4b9a783a0dd186273ec148ca796834 (patch)
tree5475ba1051ad8daa733351f579a0930f402d7d4d /arch/mips/boot
parent6394de396ed36f3e8043734676eaa9c26f84bb1b (diff)
MIPS: ralink: mt7628a.dtsi: Add GPIO controller DT node
This patch adds the GPIO controller description to the MT7628A dtsi file. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Paul Burton <paul.burton@mips.com> Cc: Harvey Hunt <harveyhuntnexus@gmail.com> Cc: John Crispin <john@phrozen.org> Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: linux-mips@vger.kernel.org
Diffstat (limited to 'arch/mips/boot')
-rw-r--r--arch/mips/boot/dts/ralink/mt7628a.dtsi13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/ralink/mt7628a.dtsi b/arch/mips/boot/dts/ralink/mt7628a.dtsi
index a239a2405670..0c2983c9c47c 100644
--- a/arch/mips/boot/dts/ralink/mt7628a.dtsi
+++ b/arch/mips/boot/dts/ralink/mt7628a.dtsi
@@ -157,6 +157,19 @@
157 reg = <0x300 0x100>; 157 reg = <0x300 0x100>;
158 }; 158 };
159 159
160 gpio: gpio@600 {
161 compatible = "mediatek,mt7621-gpio";
162 reg = <0x600 0x100>;
163
164 gpio-controller;
165 interrupt-controller;
166 #gpio-cells = <2>;
167 #interrupt-cells = <2>;
168
169 interrupt-parent = <&intc>;
170 interrupts = <6>;
171 };
172
160 uart0: uartlite@c00 { 173 uart0: uartlite@c00 {
161 compatible = "ns16550a"; 174 compatible = "ns16550a";
162 reg = <0xc00 0x100>; 175 reg = <0xc00 0x100>;