1 From 9e34036e651528df9575c2ffb38d78ae1f613481 Mon Sep 17 00:00:00 2001
2 From: Samuel Holland <samuel@sholland.org>
3 Date: Sat, 21 Aug 2021 17:11:54 -0500
4 Subject: [PATCH 46/90] ARM: dts: sunxi: Add AXP221 and AXP809 GPIO nodes
6 These PMICs each have two GPIO pins, and are supported by the axp_gpio
7 driver. In order to convert the axp_gpio driver to probe using the
8 device tree, the corresponding device tree nodes must be present. Add
9 them, following the same binding as the AXP209 and AXP813.
11 Signed-off-by: Samuel Holland <samuel@sholland.org>
13 arch/arm/dts/axp22x.dtsi | 6 ++++++
14 arch/arm/dts/axp809.dtsi | 7 +++++++
15 2 files changed, 13 insertions(+)
17 --- a/arch/arm/dts/axp22x.dtsi
18 +++ b/arch/arm/dts/axp22x.dtsi
24 + compatible = "x-powers,axp221-gpio";
30 /* Default work frequency for buck regulators */
31 x-powers,dcdc-freq = <3000>;
32 --- a/arch/arm/dts/axp809.dtsi
33 +++ b/arch/arm/dts/axp809.dtsi
35 compatible = "x-powers,axp809";
37 #interrupt-cells = <1>;
40 + compatible = "x-powers,axp809-gpio",
41 + "x-powers,axp221-gpio";