Commit 8f9dc66f authored by TOKITA Hiroshi's avatar TOKITA Hiroshi Committed by Benjamin Cabé
Browse files

boards: m5stack: cores3: Add configuration for AXP2101

Adding configuration for enabling AXP2101.
Currently, it supports only LED features.

Signed-off-by: default avatarTOKITA Hiroshi <tokita.hiroshi@gmail.com>
parent ee684720
Loading
Loading
Loading
Loading
+7 −0
Changes for boards/m5stack/m5stack_cores3/m5stack_cores3_procpu_common.dtsi: 7 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@
		watchdog0 = &wdt0;
		rtc = &bm8563_rtc;
		sdhc0 = &sd0;
		led0 = &axp2101_led;
	};

	lvgl_pointer {
@@ -158,6 +159,12 @@
			constant-charge-voltage-max-microvolt = <4200000>;
			charge-term-current-microamp = <125000>;
		};

		axp2101_led: led {
			compatible = "x-powers,axp2101-led";
			status = "okay";
			x-powers,mode = "by-reg";
		};
	};

	bm8563_rtc: bm8563@51 {