summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@free-electrons.com>2017-12-01 14:44:50 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-12-05 10:33:55 +0100
commitb7a06bcb4fca2db52bba9e9a0faed850d13fca0b (patch)
tree2e4b01392b2db2b6884089a3237834e384982b9f
parent74942cd5dfe4ac4fd982fe58118bc69346a2bd18 (diff)
downloadlinux-b7a06bcb4fca2db52bba9e9a0faed850d13fca0b.tar.gz
linux-b7a06bcb4fca2db52bba9e9a0faed850d13fca0b.tar.bz2
linux-b7a06bcb4fca2db52bba9e9a0faed850d13fca0b.zip
ARM: dtsi: axp81x: add GPIO DT node
This adds DT node for the GPIO/pinctrl part present in AXP813/AXP818. Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
-rw-r--r--arch/arm/boot/dts/axp81x.dtsi6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/axp81x.dtsi b/arch/arm/boot/dts/axp81x.dtsi
index 73b761f850c5..0ef959d980c9 100644
--- a/arch/arm/boot/dts/axp81x.dtsi
+++ b/arch/arm/boot/dts/axp81x.dtsi
@@ -48,6 +48,12 @@
interrupt-controller;
#interrupt-cells = <1>;
+ axp_gpio: axp-gpio {
+ compatible = "x-powers,axp813-gpio";
+ gpio-controller;
+ #gpio-cells = <2>;
+ };
+
regulators {
/* Default work frequency for buck regulators */
x-powers,dcdc-freq = <3000>;