mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 04:46:01 +01:00
ARM: dts: sunxi: Add AXP221 and AXP809 GPIO nodes
These PMICs each have two GPIO pins, and are supported by the axp_gpio driver. In order to convert the axp_gpio driver to probe using the device tree, the corresponding device tree nodes must be present. Add them, following the same binding as the AXP209 and AXP813. Signed-off-by: Samuel Holland <samuel@sholland.org>
This commit is contained in:
parent
588af9542a
commit
23f4f47cd8
@ -67,6 +67,12 @@
|
|||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
axp_gpio: gpio {
|
||||||
|
compatible = "x-powers,axp221-gpio";
|
||||||
|
gpio-controller;
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
regulators {
|
regulators {
|
||||||
/* Default work frequency for buck regulators */
|
/* Default work frequency for buck regulators */
|
||||||
x-powers,dcdc-freq = <3000>;
|
x-powers,dcdc-freq = <3000>;
|
||||||
|
@ -50,4 +50,11 @@
|
|||||||
compatible = "x-powers,axp809";
|
compatible = "x-powers,axp809";
|
||||||
interrupt-controller;
|
interrupt-controller;
|
||||||
#interrupt-cells = <1>;
|
#interrupt-cells = <1>;
|
||||||
|
|
||||||
|
axp_gpio: gpio {
|
||||||
|
compatible = "x-powers,axp809-gpio",
|
||||||
|
"x-powers,axp221-gpio";
|
||||||
|
gpio-controller;
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user