Skip to content

Commit 6642b1e

Browse files
soburikartben
authored andcommitted
boards: m5stack: cores3: Add AW9523B configuration
Adding AW9523B gpio expander configuration. Signed-off-by: TOKITA Hiroshi <[email protected]>
1 parent 1617bd9 commit 6642b1e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

boards/m5stack/m5stack_cores3/m5stack_cores3_procpu_common.dtsi

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,20 @@
7676
reg = <0x51>;
7777
status = "okay";
7878
};
79+
80+
aw9523b@58 {
81+
compatible = "awinic,aw9523b";
82+
reg = <0x58>;
83+
status = "okay";
84+
85+
aw9523b_gpio: gpio {
86+
compatible = "awinic,aw9523b-gpio";
87+
gpio-controller;
88+
#gpio-cells = <2>;
89+
port0-push-pull;
90+
int-gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
91+
};
92+
};
7993
};
8094

8195
&i2c1 {

0 commit comments

Comments
 (0)