aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/files-4.14/arch/mips
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2018-12-16 12:26:34 +0100
committerJohn Crispin <john@phrozen.org>2018-12-17 08:16:28 +0100
commit0d23fd2ab29a66f5d03187db4fac3e396b4f3b62 (patch)
tree7c87df83ddd40d2c94a3e41bdf1fe0d69949346c /target/linux/lantiq/files-4.14/arch/mips
parent1e4ee63cc8d1889a78b539a5ed7be8d56e9b976f (diff)
downloadupstream-0d23fd2ab29a66f5d03187db4fac3e396b4f3b62.tar.gz
upstream-0d23fd2ab29a66f5d03187db4fac3e396b4f3b62.tar.bz2
upstream-0d23fd2ab29a66f5d03187db4fac3e396b4f3b62.zip
treewide: dts: Remove default-state=off property from all gpio LED nodes
>From the Documentation/devicetree/bindings/leds/common.txt: - default-state : The initial state of the LED. Valid values are "on", "off", and "keep". If the LED is already on or off and the default-state property is set the to same value, then no glitch should be produced where the LED momentarily turns off (or on). The "keep" setting will keep the LED at whatever its current state is, without producing a glitch. The default is off if this property is not present. So setting the default-state of the LEDs to `off` is redundant as `off` is default LED state anyway. We should remove it as almost every new PR/patch submission contains this property by default which seems to be just copy&paste from some DTS file already present in the tree. Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'target/linux/lantiq/files-4.14/arch/mips')
-rw-r--r--target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY88388.dts12
-rw-r--r--target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY88444.dts7
-rw-r--r--target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY98020.dts4
3 files changed, 0 insertions, 23 deletions
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY88388.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY88388.dts
index 4821a66b0d..86f3b47c6b 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY88388.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY88388.dts
@@ -42,63 +42,51 @@
GPON {
label = "easy88388:green:gpon";
gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
- default-state = "off";
};
TEST {
label = "easy88388:green:test";
gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
- default-state = "off";
};
STATUS {
label = "easy88388:green:status";
gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
- default-state = "off";
};
ERROR {
label = "easy88388:red:error";
gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
- default-state = "off";
};
DSL1 {
label = "easy88388:dsl:1";
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
- default-state = "off";
};
DSL2 {
label = "easy88388:dsl:2";
gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
- default-state = "off";
};
DSL3 {
label = "easy88388:dsl:3";
gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
- default-state = "off";
};
DSL4 {
label = "easy88388:dsl:4";
gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
- default-state = "off";
};
DSL5 {
label = "easy88388:dsl:5";
gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
- default-state = "off";
};
DSL6 {
label = "easy88388:dsl:6";
gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
- default-state = "off";
};
DSL7 {
label = "easy88388:dsl:7";
gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
- default-state = "off";
};
DSL8 {
label = "easy88388:dsl:8";
gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
- default-state = "off";
};
};
};
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY88444.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY88444.dts
index 0ac74b3309..e1a934fc47 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY88444.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY88444.dts
@@ -41,38 +41,31 @@
GPON {
label = "easy88444:green:gpon";
gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
- default-state = "off";
};
TEST {
label = "easy88444:green:test";
gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
- default-state = "off";
};
STATUS {
label = "easy88444:green:status";
gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
- default-state = "off";
};
GFAST1 {
label = "easy88444:gfast:1";
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
- default-state = "off";
};
GFAST2 {
label = "easy88444:gfast:2";
gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
- default-state = "off";
};
GFAST3 {
label = "easy88444:gfast:3";
gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
- default-state = "off";
};
GFAST4 {
label = "easy88444:gfast:4";
gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
- default-state = "off";
};
};
};
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY98020.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY98020.dts
index c0970ef48c..b66786a2ce 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY98020.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY98020.dts
@@ -74,22 +74,18 @@
GE0_ACT {
label = "easy98020:ge0_act";
gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
- default-state = "off";
};
GE0_LINK {
label = "easy98020:ge0_link";
gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
- default-state = "off";
};
GE1_ACT {
label = "easy98020:ge1_act";
gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
- default-state = "off";
};
GE1_LINK {
label = "easy98020:ge1_link";
gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
- default-state = "off";
};
};
};