summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2017-07-20 16:01:02 +0800
committerChen-Yu Tsai <wens@csie.org>2017-08-08 12:04:00 +0800
commit29067930e74d3fb3e3cffaa999642eb526dd4d4e (patch)
tree94f1a12e746127d809406d68f6916c9fba94a534 /arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts
parent0c62fb093e4093de1bc7432c4ffc2dca44d73c51 (diff)
downloadblackbird-obmc-linux-29067930e74d3fb3e3cffaa999642eb526dd4d4e.tar.gz
blackbird-obmc-linux-29067930e74d3fb3e3cffaa999642eb526dd4d4e.zip
ARM: sun8i: a83t: h8homlet-v2: Enable PMIC part of AXP818 PMIC
The AXP813/AXP818 PMICs used with the A83T/H8 SoCs are actually 2 dies in one package sharing the serial bus (I2C/RSB) pins. One die is the actual PMIC. The other is an AC100 codec / RTC combo chip. This patch enables the RSB controller and adds a device node for the PMIC die to the h8homlet-v2 device tree. Since the AXP813 and AXP818 are virtually identical, this patch uses the compatible string for the former as a fallback. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts')
-rw-r--r--arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts b/arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts
index 7afbaa4eea8d..7e92baa63f1c 100644
--- a/arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts
+++ b/arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts
@@ -78,6 +78,17 @@
status = "okay";
};
+&r_rsb {
+ status = "okay";
+
+ axp81x: pmic@3a3 {
+ compatible = "x-powers,axp818", "x-powers,axp813";
+ reg = <0x3a3>;
+ interrupt-parent = <&r_intc>;
+ interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+ };
+};
+
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pb_pins>;
OpenPOWER on IntegriCloud