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 5, 2024
1 parent 689d1f2 commit f3ffe13
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 @@ -68,6 +68,20 @@
clock-frequency = <I2C_BITRATE_STANDARD>;
pinctrl-0 = <&i2c0_default>;
pinctrl-names = "default";

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 f3ffe13

Please sign in to comment.