|
那个是设备树文 vim arch/arm/boot/dts/myimx6ek314.dtsi 配置led的驱动,你可以屏蔽掉
leds {
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_sd1_led>;
led-default {
label = "default";
gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "default-on";
default-state = "on";
};
led-heartbeat {
label = "Heartbeat";
gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
};
led-timer {
gpios = <&gpio1 18 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "timer";
default-state = "off";
};
led-gpio {
label = "led-gpio";
gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "gpio";
};
}; |
|