Skip to content

Commit

Permalink
overlays: set default trigger for leds
Browse files Browse the repository at this point in the history
Make sure the leds use the led triggers which are provided by the
piControl module as default.

Signed-off-by: Lino Sanfilippo <l.sanfilippo@kunbus.com>
  • Loading branch information
linosanfilippo-kunbus committed Sep 21, 2020
1 parent f53b114 commit 799dc07
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions arch/arm/boot/dts/overlays/revpi-flat-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -49,47 +49,47 @@
compatible = "gpio-leds";
power_red {
gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "none";
linux,default-trigger = "power_red";
};
a1_green {
gpios = <&expander 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
linux,default-trigger = "a1_green";
};
a1_red {
gpios = <&expander 1 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
linux,default-trigger = "a1_red";
};
a2_green {
gpios = <&expander 2 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
linux,default-trigger = "a2_green";
};
a2_red {
gpios = <&expander 3 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
linux,default-trigger = "a2_red";
};
a3_green {
gpios = <&expander 4 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
linux,default-trigger = "a3_green";
};
a3_red {
gpios = <&expander 5 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
linux,default-trigger = "a3_red";
};
a4_green {
gpios = <&expander 6 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
linux,default-trigger = "a4_green";
};
a4_red {
gpios = <&expander 7 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
linux,default-trigger = "a4_red";
};
a5_green {
gpios = <&expander 8 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
linux,default-trigger = "a5_green";
};
a5_red {
gpios = <&expander 9 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
linux,default-trigger = "a5_red";
};
act {
status = "disabled";
Expand Down

0 comments on commit 799dc07

Please sign in to comment.