From 6a22f08746c62f226fe28ca8ebee35d1dcc6ca0e Mon Sep 17 00:00:00 2001 From: TOKITA Hiroshi Date: Sat, 9 Nov 2024 18:43:44 +0900 Subject: [PATCH] boards: m5stack: cores3: Add AW9523B configuration Adding AW9523B gpio expander configuration. Signed-off-by: TOKITA Hiroshi --- .../m5stack_cores3_procpu_common.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/boards/m5stack/m5stack_cores3/m5stack_cores3_procpu_common.dtsi b/boards/m5stack/m5stack_cores3/m5stack_cores3_procpu_common.dtsi index 559dca8c420ead..0062c963dd9088 100644 --- a/boards/m5stack/m5stack_cores3/m5stack_cores3_procpu_common.dtsi +++ b/boards/m5stack/m5stack_cores3/m5stack_cores3_procpu_common.dtsi @@ -76,6 +76,20 @@ reg = <0x51>; status = "okay"; }; + + aw9523b@58 { + compatible = "awinic,aw9523b"; + reg = <0x58>; + status = "okay"; + + aw9523b_gpio: gpio { + compatible = "awinic,aw9523b-gpio"; + gpio-controller; + #gpio-cells = <2>; + port0-push-pull; + int-gpios = <&gpio0 21 GPIO_ACTIVE_LOW>; + }; + }; }; &i2c1 {