aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/PSG1218.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/PSG1218.dtsi')
-rw-r--r--target/linux/ramips/dts/PSG1218.dtsi5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/PSG1218.dtsi b/target/linux/ramips/dts/PSG1218.dtsi
index b3b58948d2..c24f5ff2ba 100644
--- a/target/linux/ramips/dts/PSG1218.dtsi
+++ b/target/linux/ramips/dts/PSG1218.dtsi
@@ -1,8 +1,11 @@
#include "mt7620a.dtsi"
+#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/ {
+ compatible = "phicomm,psg1218", "ralink,mt7620a-soc";
+
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
@@ -11,7 +14,7 @@
reset {
label = "reset";
- gpios = <&gpio0 1 1>;
+ gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};