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 port0-push-pull; 13 int-gpios = <&arduino_header 18 (GPIO_ACTIVE_LOW|GPIO_PULL_UP)>; 14 reset-gpios = <&arduino_header 19 (GPIO_ACTIVE_LOW|GPIO_PULL_UP)>; 15 }; 16 }; 17}; 18 19/ { 20 leds { 21 aw9523_led0: aw9523_led0 { 22 gpios = < &aw9523_gpio 8 0>; 23 }; 24 }; 25 26 aliases { 27 led0 = &aw9523_led0; 28 }; 29}; 30