summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorIcenowy Zheng <icenowy@aosc.io>2017-05-18 09:16:48 +0200
committerChen-Yu Tsai <wens@csie.org>2017-07-18 04:59:08 +0200
commit1b3010cd0d6db13a62c4bfaf4d8c97b1c6b426bf (patch)
treedeee060ab7d55303c5e9fa13f056011447e952b0 /arch
parentarm64: allwinner: a64: add NMI (R_INTC) controller on A64 (diff)
downloadlinux-1b3010cd0d6db13a62c4bfaf4d8c97b1c6b426bf.tar.xz
linux-1b3010cd0d6db13a62c4bfaf4d8c97b1c6b426bf.zip
arm64: allwinner: a64: add AXP803 node to Pine64 device tree
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
index 08cda24ea194..64cce0d68cae 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
@@ -123,6 +123,17 @@
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";