[RFC v2 09/10] MIPS: dts: ar9331.dtsi: add gpio

Antony Pavlov antonynpavlov at gmail.com
Sun Sep 20 16:23:52 PDT 2015


Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
 arch/mips/dts/ar9331.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/mips/dts/ar9331.dtsi b/arch/mips/dts/ar9331.dtsi
index 8e7afcd..99ede9e 100644
--- a/arch/mips/dts/ar9331.dtsi
+++ b/arch/mips/dts/ar9331.dtsi
@@ -17,6 +17,16 @@
 			status = "disabled";
 		};
 
+		gpio: gpio at 18040000 {
+			compatible = "qca,ar7100-gpio";
+			gpio-controller;
+			reg = <0x18040000 0x100>;
+			#gpio-cells = <2>;
+
+			ngpios = <30>;
+			status = "disabled";
+		};
+
 		ar9331_clk: clock {
 			compatible = "qca,ar933x-clk";
 			reg = <0x18050000 0x48>;
-- 
2.5.0




More information about the barebox mailing list