power-led {
compatible = "gpio-leds";
green {
- label = "standby";
- gpios = <&gpio0 GPIO_B0 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio0 GPIO_B0 GPIO_ACTIVE_LOW>;
default-state = "on";
};
red {
- label = "normal";
- gpios = <&gpio0 GPIO_D2 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio0 GPIO_D2 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
};