Skip to content

Commit 73bc30a

Browse files
committed
boards: m5stack: cores3: Add AW9523B configuration
Adding AW9523B gpio expander configuration. Signed-off-by: TOKITA Hiroshi <[email protected]>
1 parent 4008d12 commit 73bc30a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

boards/m5stack/m5stack_cores3/m5stack_cores3_procpu.dts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,20 @@
8080
reg = <0x51>;
8181
status = "okay";
8282
};
83+
84+
aw9523b@58 {
85+
compatible = "awinic,aw9523b";
86+
reg = <0x58>;
87+
status = "okay";
88+
89+
aw9523b_gpio: gpio {
90+
compatible = "awinic,aw9523b-gpio";
91+
gpio-controller;
92+
#gpio-cells = <2>;
93+
port0-push-pull;
94+
int-gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
95+
};
96+
};
8397
};
8498

8599
&i2c1 {

0 commit comments

Comments
 (0)