[PATCH 3/4] MIPS: dts: jz4755.dtsi: add gpio

Antony Pavlov antonynpavlov at gmail.com
Thu Jun 26 15:49:32 PDT 2014


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

diff --git a/arch/mips/dts/jz4755.dtsi b/arch/mips/dts/jz4755.dtsi
index 44ff912..0e655b6 100644
--- a/arch/mips/dts/jz4755.dtsi
+++ b/arch/mips/dts/jz4755.dtsi
@@ -31,5 +31,47 @@
 			clock-frequency = <12000000>;
 			status = "disabled";
 		};
+
+		gpio0: gpio at 10010000 {
+			compatible = "ingenic,jz4740-gpio";
+			gpio-controller;
+			reg = <0xb0010000 0x100>;
+			#gpio-cells = <2>;
+		};
+
+		gpio1: gpio at 10010100 {
+			compatible = "ingenic,jz4740-gpio";
+			gpio-controller;
+			reg = <0xb0010100 0x100>;
+			#gpio-cells = <2>;
+		};
+
+		gpio2: gpio at 10010200 {
+			compatible = "ingenic,jz4740-gpio";
+			gpio-controller;
+			reg = <0xb0010200 0x100>;
+			#gpio-cells = <2>;
+		};
+
+		gpio3: gpio at 10010300 {
+			compatible = "ingenic,jz4740-gpio";
+			gpio-controller;
+			reg = <0xb0010300 0x100>;
+			#gpio-cells = <2>;
+		};
+
+		gpio4: gpio at 10010400 {
+			compatible = "ingenic,jz4740-gpio";
+			gpio-controller;
+			reg = <0xb0010400 0x100>;
+			#gpio-cells = <2>;
+		};
+
+		gpio5: gpio at 10010500 {
+			compatible = "ingenic,jz4740-gpio";
+			gpio-controller;
+			reg = <0xb0010500 0x100>;
+			#gpio-cells = <2>;
+		};
 	};
 };
-- 
1.9.2




More information about the barebox mailing list