aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx/files/arch/powerpc/boot/dts/panda.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mpc85xx/files/arch/powerpc/boot/dts/panda.dts')
-rw-r--r--target/linux/mpc85xx/files/arch/powerpc/boot/dts/panda.dts17
1 files changed, 10 insertions, 7 deletions
diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/panda.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/panda.dts
index f0fafa1b57..baaa4a43fd 100644
--- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/panda.dts
+++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/panda.dts
@@ -1,5 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-or-later or MIT
+#include <dt-bindings/input/input.h>
+#include <dt-bindings/gpio/gpio.h>
+
/include/ "fsl/p1020si-pre.dtsi"
/ {
model = "OCEDO Panda";
@@ -223,30 +226,30 @@
compatible = "gpio-leds";
power {
- gpios = <&gpio0 0 0>;
+ gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
label = "panda:green:power";
default-state = "on";
};
wlan0 {
- gpios = <&gpio0 3 0>;
+ gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>;
label = "panda:yellow:wlan0";
linux,default-trigger = "phy0tpt";
};
wlan1 {
- gpios = <&gpio0 2 0>;
+ gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
label = "panda:red:wlan1";
linux,default-trigger = "phy1tpt";
};
tbd_orange {
- gpios = <&gpio0 1 0>;
+ gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
label = "panda:orange:tbd";
};
system_blue: system {
- gpios = <&gpio0 4 0>;
+ gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
label = "panda:blue:system";
};
};
@@ -256,8 +259,8 @@
reset {
label = "Reset button";
- gpios = <&gpio0 6 1>;
- linux,code = <0x198>;
+ gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
+ linux,code = <KEY_RESTART>;
};
};
};