From f06ff0bb820778e2d8b699bfc912c2f98bb63857 Mon Sep 17 00:00:00 2001
From: Ondrej Jirman <megi@xff.cz>
Date: Sat, 16 Apr 2022 02:12:06 +0200
Subject: [PATCH 187/463] arm64: dts: sun50i-a64-pinephone: Enable Pinephone
 Keyboard power manager

Signed-off-by: Ondrej Jirman <megi@xff.cz>
---
 arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
index 6ba56e41d6aab..9585d2ad91f43 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
@@ -434,6 +434,15 @@ vibrator {
 		enable-gpios = <&pio 3 2 GPIO_ACTIVE_HIGH>; /* PD2 */
 		vcc-supply = <&reg_dcdc1>;
 	};
+
+	keyboard-power {
+		compatible = "megi,pinephone-keyboard-power-manager";
+		phone-battery = "axp20x-battery";
+		phone-usb = "axp20x-usb";
+		kb-battery = "ip5xxx-battery";
+		kb-boost = "ip5xxx-boost";
+		kb-usb = "ip5xxx-usb";
+	};
 };
 
 &codec {
-- 
2.46.0

