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 a1b6e68144f30ae2374dc0d1a8c214b6661af563..f3cee918d28500de6498c5cdb9868fe924fd6cbe 100644 (file)
 
                sata {
                        label = "caiman:white:sata";
-                       linux,default-trigger = "disk-activity";
                };
        };
 };
index a1a75af8c694015bcde4b8e0706f9200843780a6..11107186055980d9831b07890cdb14846befd599 100644 (file)
 
                sata {
                        label = "cobra:white:sata";
-                       linux,default-trigger = "disk-activity";
                };
        };
 };
index aa0d225ecfbf2aa0fc5f312bd39b3fa7d8bbd055..2306c45685b1f14788e4e5f3e0927a7724ca554d 100644 (file)
                sata {
                        gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
                        default-state = "off";
+                       linux,default-trigger = "disk-activity";
                };
        };