&arduino_i2c { status = "okay"; aw9523b@58 { status = "okay"; reg = <0x58>; compatible = "awinic,aw9523b"; aw9523_gpio: gpio { compatible = "awinic,aw9523b-gpio"; gpio-controller; #gpio-cells = <2>; int-gpios = <&arduino_header 18 (GPIO_ACTIVE_LOW|GPIO_PULL_UP)>; reset-gpios = <&arduino_header 19 (GPIO_ACTIVE_LOW|GPIO_PULL_UP)>; }; }; }; / { resources { compatible = "test-gpio-basic-api"; status = "okay"; out-gpios = <&aw9523_gpio 8 0>; in-gpios = <&aw9523_gpio 9 0>; }; };