Message ID | 1379000532-27376-5-git-send-email-koen@dominion.thruhere.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 09/12/2013 10:42 AM, Koen Kooi wrote: > This matches the vendor 3.8.x configuration that is shipping with the boards. > > The LED layout is now: > > USR0: heartbeat > USR1: mmc0 (micro-SD slot) > USR2: cpu0 > USR3: mmc1 (eMMC) > > The cpu0 triggers was put inbetween the mmc triggers to make is easier to see nitpick: sinbetween/in between/ > where the disk activity is. > > Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> > --- > arch/arm/boot/dts/am335x-bone-common.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi > index 80407ff..3057f30 100644 > --- a/arch/arm/boot/dts/am335x-bone-common.dtsi > +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi > @@ -203,12 +203,14 @@ > led@4 { > label = "beaglebone:green:usr2"; > gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>; > + linux,default-trigger = "cpu0"; > default-state = "off"; > }; > > led@5 { > label = "beaglebone:green:usr3"; > gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>; > + linux,default-trigger = "mmc1"; > default-state = "off"; > }; > }; >
diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi index 80407ff..3057f30 100644 --- a/arch/arm/boot/dts/am335x-bone-common.dtsi +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi @@ -203,12 +203,14 @@ led@4 { label = "beaglebone:green:usr2"; gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "cpu0"; default-state = "off"; }; led@5 { label = "beaglebone:green:usr3"; gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "mmc1"; default-state = "off"; }; };
This matches the vendor 3.8.x configuration that is shipping with the boards. The LED layout is now: USR0: heartbeat USR1: mmc0 (micro-SD slot) USR2: cpu0 USR3: mmc1 (eMMC) The cpu0 triggers was put inbetween the mmc triggers to make is easier to see where the disk activity is. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> --- arch/arm/boot/dts/am335x-bone-common.dtsi | 2 ++ 1 file changed, 2 insertions(+)