ARM: dts: armada-385-linksys: disk-activity trigger for all
authorRalph Sennhauser <ralph.sennhauser@gmail.com>
Thu, 30 Mar 2017 16:54:04 +0000 (18:54 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Wed, 5 Apr 2017 15:25:17 +0000 (17:25 +0200)
Commit a4ee7e18d808 ("ARM: dts: armada: Add default trigger for sata
led") adds the default trigger to individual boards, move it to
armada-385-linksys.dtsi which effectively enables the definition for
the WRT1900ACS (Shelby) as well as for future boards.

Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/boot/dts/armada-385-linksys-caiman.dts
arch/arm/boot/dts/armada-385-linksys-cobra.dts
arch/arm/boot/dts/armada-385-linksys.dtsi

index a1b6e68..f3cee91 100644 (file)
 
                sata {
                        label = "caiman:white:sata";
-                       linux,default-trigger = "disk-activity";
                };
        };
 };
index a1a75af..1110718 100644 (file)
 
                sata {
                        label = "cobra:white:sata";
-                       linux,default-trigger = "disk-activity";
                };
        };
 };
index aa0d225..2306c45 100644 (file)
                sata {
                        gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
                        default-state = "off";
+                       linux,default-trigger = "disk-activity";
                };
        };