summaryrefslogtreecommitdiffstats
path: root/dts/src/arm/stih41x-b2020.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'dts/src/arm/stih41x-b2020.dtsi')
-rw-r--r--dts/src/arm/stih41x-b2020.dtsi6
1 files changed, 3 insertions, 3 deletions
diff --git a/dts/src/arm/stih41x-b2020.dtsi b/dts/src/arm/stih41x-b2020.dtsi
index 487d7d87db..322e0e9517 100644
--- a/dts/src/arm/stih41x-b2020.dtsi
+++ b/dts/src/arm/stih41x-b2020.dtsi
@@ -7,6 +7,7 @@
* publishhed by the Free Software Foundation.
*/
#include "stih41x-b2020x.dtsi"
+#include <dt-bindings/gpio/gpio.h>
/ {
memory{
device_type = "memory";
@@ -30,13 +31,12 @@
leds {
compatible = "gpio-leds";
red {
- #gpio-cells = <1>;
label = "Front Panel LED";
- gpios = <&pio4 1>;
+ gpios = <&pio4 1 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
};
green {
- gpios = <&pio4 7>;
+ gpios = <&pio4 7 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
};