AW9523B驱动dtsi中GPIO的配置只有P0_x,如果要将P1_x配置为GPIO模式,直接将gpio_idx依次往上加即可。如配置P1_0为输出模式,默认输出电平为低电平。
gpio5{
aw9523b,gpio_idx = <8>; // The specific port identifier used, This is used here:P1_0
aw9523b,gpio_dir = <1>; //The specific port work in output(1) or input(0)
aw9523b,gpio_default_val = <0>;
};
