diff options
author | Chen-Yu Tsai <wens@csie.org> | 2017-05-24 13:40:15 +0800 |
---|---|---|
committer | Chen-Yu Tsai <wens@csie.org> | 2017-08-08 12:03:58 +0800 |
commit | 31f0491da62061b90a1069cbec63b9e13cd9ee7f (patch) | |
tree | c43a09949c3c9c561736ef5cf547c4067a1cf337 /arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts | |
parent | b99b8832e4c90be199647bdd03a96d08b2000dce (diff) | |
download | blackbird-op-linux-31f0491da62061b90a1069cbec63b9e13cd9ee7f.tar.gz blackbird-op-linux-31f0491da62061b90a1069cbec63b9e13cd9ee7f.zip |
ARM: sun8i: a83t: cubietruck-plus: 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 Cubietruck Plus 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-cubietruck-plus.dts')
-rw-r--r-- | arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts b/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts index 163ddf8868b5..d88a22ac6222 100644 --- a/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts +++ b/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts @@ -129,6 +129,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>; + }; +}; + &spdif { status = "okay"; }; |