ARM: dtsi: axp81x: add GPIO DT node
authorQuentin Schulz <quentin.schulz@free-electrons.com>
Fri, 1 Dec 2017 13:44:50 +0000 (14:44 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 5 Dec 2017 09:33:55 +0000 (10:33 +0100)
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>
arch/arm/boot/dts/axp81x.dtsi

index 73b761f850c54ca3e5acb02b2414659550f54c93..0ef959d980c9c020eeb8386ec421876def7cf4cc 100644 (file)
        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>;