页次: 1
https://github.com/Lichee-Pi/linux/blob/zero-4.13.y/arch/arm/boot/dts/sun8i-v3s-licheepi-zero.dts
leds { compatible = "gpio-leds"; blue_led { label = "licheepi:blue:usr"; gpios = <&pio 6 1 GPIO_ACTIVE_LOW>; /* PG1 */ }; green_led { label = "licheepi:green:usr"; gpios = <&pio 6 0 GPIO_ACTIVE_LOW>; /* PG0 */ default-state = "on"; }; red_led { label = "licheepi:red:usr"; gpios = <&pio 6 2 GPIO_ACTIVE_LOW>; /* PG2 */ }; };
这个文件我已经更改过了,都是给的低电平,但是我系统启动后,还是变成了高电平
页次: 1