aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2022-02-13 13:14:03 +0100
committerChristian Lamparter <chunkeey@gmail.com>2022-02-19 19:34:18 +0100
commit256e1dbc7d09b165bcfadb373cde963f5d7f7fca (patch)
treee63a04e2d640bc97a6b562f00cd7879372a7b2df /target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts
parentc7528996a5208ed94eb2e6dc82079542a7869ab3 (diff)
downloadupstream-256e1dbc7d09b165bcfadb373cde963f5d7f7fca.tar.gz
upstream-256e1dbc7d09b165bcfadb373cde963f5d7f7fca.tar.bz2
upstream-256e1dbc7d09b165bcfadb373cde963f5d7f7fca.zip
mpc85xx: utilize dt-binding definitions for keys + gpios
include the device-tree binding headers that provide definitions for keys codes and gpios in the device-tree files. Random bonus: merge tl-wdr4900-v1's uboot with the nvmem-node. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts')
-rw-r--r--target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts
index 166342759c..bb2f2d0827 100644
--- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts
+++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts
@@ -10,6 +10,8 @@
*/
#include <dt-bindings/leds/common.h>
+#include <dt-bindings/input/input.h>
+#include <dt-bindings/gpio/gpio.h>
/include/ "fsl/p1020si-pre.dtsi"
/ {
@@ -283,8 +285,8 @@
reset {
label = "Reset button";
- gpios = <&gpio0 8 1>; /* active low */
- linux,code = <0x198>; /* KEY_RESTART */
+ gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
+ linux,code = <KEY_RESTART>;
};
};
};