projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mpc85xx: utilize dt-binding definitions for keys + gpios
[openwrt/openwrt.git]
/
target
/
linux
/
mpc85xx
/
files
/
arch
/
powerpc
/
boot
/
dts
/
hiveap-330.dts
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 166342759c41e06342602bd6beb66646860f9c4d..bb2f2d0827838e7202ea779c8ad1228bfd571b8d 100644
(file)
--- 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/leds/common.h>
+#include <dt-bindings/input/input.h>
+#include <dt-bindings/gpio/gpio.h>
/include/ "fsl/p1020si-pre.dtsi"
/ {
/include/ "fsl/p1020si-pre.dtsi"
/ {
@@
-283,8
+285,8
@@
reset {
label = "Reset button";
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>;
};
};
};
};
};
};