Skip to content

Commit

Permalink
boards: m5stack: cores3: Add AW9523B configuration
Browse files Browse the repository at this point in the history
Adding AW9523B gpio expander configuration.

Signed-off-by: TOKITA Hiroshi <[email protected]>
  • Loading branch information
soburi committed Dec 6, 2024
1 parent 3f60489 commit 6a22f08
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions boards/m5stack/m5stack_cores3/m5stack_cores3_procpu_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6a22f08

Please sign in to comment.