mirror of https://github.com/hak5/openwrt.git
kirkwood: NSA325 remove led triggers from dts
delete useless or unusable default led triggers from dts file. Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>openwrt-18.06
parent
4242ddf8f2
commit
b52eb549d2
|
@ -10,7 +10,7 @@
|
||||||
kirkwood-openrd-base.dtb \
|
kirkwood-openrd-base.dtb \
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/arch/arm/boot/dts/kirkwood-nsa325.dts
|
+++ b/arch/arm/boot/dts/kirkwood-nsa325.dts
|
||||||
@@ -0,0 +1,225 @@
|
@@ -0,0 +1,220 @@
|
||||||
+/*
|
+/*
|
||||||
+ * Device tree file for Zyxel NSA325 and NSA325v2 NAS
|
+ * Device tree file for Zyxel NSA325 and NSA325v2 NAS
|
||||||
+ */
|
+ */
|
||||||
|
@ -140,7 +140,6 @@
|
||||||
+ green-sata2 {
|
+ green-sata2 {
|
||||||
+ label = "nsa325:green:sata2";
|
+ label = "nsa325:green:sata2";
|
||||||
+ gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
|
+ gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
|
||||||
+ linux,default-trigger = "ide-disk2";
|
|
||||||
+ };
|
+ };
|
||||||
+
|
+
|
||||||
+ red-sata2 {
|
+ red-sata2 {
|
||||||
|
@ -151,19 +150,16 @@
|
||||||
+ green-usb {
|
+ green-usb {
|
||||||
+ label = "nsa325:green:usb";
|
+ label = "nsa325:green:usb";
|
||||||
+ gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
|
+ gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
|
||||||
+ linux,default-trigger = "usb-host";
|
|
||||||
+ };
|
+ };
|
||||||
+
|
+
|
||||||
+ green-sys {
|
+ green-sys {
|
||||||
+ label = "nsa325:green:sys";
|
+ label = "nsa325:green:sys";
|
||||||
+ gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
|
+ gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
|
||||||
+ linux,default-trigger = "default-on";
|
|
||||||
+ };
|
+ };
|
||||||
+
|
+
|
||||||
+ orange-sys {
|
+ orange-sys {
|
||||||
+ label = "nsa325:orange:sys";
|
+ label = "nsa325:orange:sys";
|
||||||
+ gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
|
+ gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
|
||||||
+ linux,default-trigger = "cpu0";
|
|
||||||
+ };
|
+ };
|
||||||
+
|
+
|
||||||
+ green-copy {
|
+ green-copy {
|
||||||
|
@ -179,7 +175,6 @@
|
||||||
+ green-sata1 {
|
+ green-sata1 {
|
||||||
+ label = "nsa325:green:sata1";
|
+ label = "nsa325:green:sata1";
|
||||||
+ gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
|
+ gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
|
||||||
+ linux,default-trigger = "ide-disk1";
|
|
||||||
+ };
|
+ };
|
||||||
+
|
+
|
||||||
+ red-sata1 {
|
+ red-sata1 {
|
||||||
|
|
Loading…
Reference in New Issue