summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2014-06-27 02:49:32 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2014-06-27 21:40:07 +0200
commit187e4c4eb81e9e4a6636d420cc4ac1262427681d (patch)
tree8622c8925fe4c824f7d59d07618f59f0c60da1c3 /arch/mips
parent62d8a2a0ea460673f5a7c8a538ba32b3ec63dbc9 (diff)
downloadbarebox-187e4c4eb81e9e4a6636d420cc4ac1262427681d.tar.gz
barebox-187e4c4eb81e9e4a6636d420cc4ac1262427681d.tar.xz
MIPS: dts: jz4755.dtsi: add gpio
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/dts/jz4755.dtsi42
1 files changed, 42 insertions, 0 deletions
diff --git a/arch/mips/dts/jz4755.dtsi b/arch/mips/dts/jz4755.dtsi
index 44ff91291..0e655b65a 100644
--- a/arch/mips/dts/jz4755.dtsi
+++ b/arch/mips/dts/jz4755.dtsi
@@ -31,5 +31,47 @@
clock-frequency = <12000000>;
status = "disabled";
};
+
+ gpio0: gpio@10010000 {
+ compatible = "ingenic,jz4740-gpio";
+ gpio-controller;
+ reg = <0xb0010000 0x100>;
+ #gpio-cells = <2>;
+ };
+
+ gpio1: gpio@10010100 {
+ compatible = "ingenic,jz4740-gpio";
+ gpio-controller;
+ reg = <0xb0010100 0x100>;
+ #gpio-cells = <2>;
+ };
+
+ gpio2: gpio@10010200 {
+ compatible = "ingenic,jz4740-gpio";
+ gpio-controller;
+ reg = <0xb0010200 0x100>;
+ #gpio-cells = <2>;
+ };
+
+ gpio3: gpio@10010300 {
+ compatible = "ingenic,jz4740-gpio";
+ gpio-controller;
+ reg = <0xb0010300 0x100>;
+ #gpio-cells = <2>;
+ };
+
+ gpio4: gpio@10010400 {
+ compatible = "ingenic,jz4740-gpio";
+ gpio-controller;
+ reg = <0xb0010400 0x100>;
+ #gpio-cells = <2>;
+ };
+
+ gpio5: gpio@10010500 {
+ compatible = "ingenic,jz4740-gpio";
+ gpio-controller;
+ reg = <0xb0010500 0x100>;
+ #gpio-cells = <2>;
+ };
};
};