summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/mt2701.dtsi
diff options
context:
space:
mode:
authorBiao Huang <biao.huang@mediatek.com>2016-01-27 04:24:43 +0300
committerMatthias Brugger <matthias.bgg@gmail.com>2016-02-11 13:39:56 +0300
commit8ba671efdbe5be3e5d691a8b7f77b0d68459b874 (patch)
tree0a8b9e597b75fc8eca0d2ae0fc63a31af4fc3d3e /arch/arm/boot/dts/mt2701.dtsi
parentdfb89528471ac443304705c5510dd006222aa4d2 (diff)
downloadlinux-8ba671efdbe5be3e5d691a8b7f77b0d68459b874.tar.xz
arm: dts: Add pinctrl/GPIO/EINT node for mt2701
Add pinctrl and GPIO node to mt2701.dtsi Signed-off-by: Biao Huang <biao.huang@mediatek.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/mt2701.dtsi')
-rw-r--r--arch/arm/boot/dts/mt2701.dtsi19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi
index 83437683aa60..18596a2c58a1 100644
--- a/arch/arm/boot/dts/mt2701.dtsi
+++ b/arch/arm/boot/dts/mt2701.dtsi
@@ -15,6 +15,7 @@
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "skeleton64.dtsi"
+#include "mt2701-pinfunc.h"
/ {
compatible = "mediatek,mt2701";
@@ -85,6 +86,24 @@
<GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
};
+ pio: pinctrl@10005000 {
+ compatible = "mediatek,mt2701-pinctrl";
+ reg = <0 0x1000b000 0 0x1000>;
+ mediatek,pctl-regmap = <&syscfg_pctl_a>;
+ pins-are-numbered;
+ gpio-controller;
+ #gpio-cells = <2>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
+ };
+
+ syscfg_pctl_a: syscfg@10005000 {
+ compatible = "mediatek,mt2701-pctl-a-syscfg", "syscon";
+ reg = <0 0x10005000 0 0x1000>;
+ };
+
watchdog: watchdog@10007000 {
compatible = "mediatek,mt2701-wdt",
"mediatek,mt6589-wdt";