1&arduino_i2c {
2	status = "okay";
3	aw9523b@58 {
4		status = "okay";
5		reg = <0x58>;
6		compatible = "awinic,aw9523b";
7
8		aw9523_gpio: gpio {
9			compatible = "awinic,aw9523b-gpio";
10			gpio-controller;
11			#gpio-cells = <2>;
12			int-gpios = <&arduino_header 18 (GPIO_ACTIVE_LOW|GPIO_PULL_UP)>;
13			reset-gpios = <&arduino_header 19 (GPIO_ACTIVE_LOW|GPIO_PULL_UP)>;
14		};
15	};
16};
17
18/ {
19	resources {
20		compatible = "test-gpio-basic-api";
21		status = "okay";
22		out-gpios = <&aw9523_gpio 8 0>;
23		in-gpios = <&aw9523_gpio 9 0>;
24	};
25};
26