]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: allwinner: a64: add AXP803 node to Pine64 device tree
authorIcenowy Zheng <icenowy@aosc.io>
Thu, 18 May 2017 07:16:48 +0000 (15:16 +0800)
committerChen-Yu Tsai <wens@csie.org>
Tue, 18 Jul 2017 02:59:08 +0000 (10:59 +0800)
The Pine64 (including Pine64+) boards have an AXP803 as its main PMIC.

Add its device node.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts

index 08cda24ea194cbffd08fc8de50dc7a4d525e5019..64cce0d68cae2bb52a2446a201345ffb715e75a9 100644 (file)
@@ -123,6 +123,17 @@ &ohci1 {
        status = "okay";
 };
 
+&r_rsb {
+       status = "okay";
+
+       axp803: pmic@3a3 {
+               compatible = "x-powers,axp803";
+               reg = <0x3a3>;
+               interrupt-parent = <&r_intc>;
+               interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+       };
+};
+
 /* On Exp and Euler connectors */
 &uart0 {
        pinctrl-names = "default";