projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
brcm63xx: Livebox 1: use button 1 as failsafe button
[openwrt/openwrt.git]
/
target
/
linux
/
brcm63xx
/
dts
/
livebox-blue-5g.dts
diff --git
a/target/linux/brcm63xx/dts/livebox-blue-5g.dts
b/target/linux/brcm63xx/dts/livebox-blue-5g.dts
index 523bbe985de4991f8ea93badce53b027bbd3793e..cb3b019cb1922c6669fb01158765ba78da1ce07e 100644
(file)
--- a/
target/linux/brcm63xx/dts/livebox-blue-5g.dts
+++ b/
target/linux/brcm63xx/dts/livebox-blue-5g.dts
@@
-1,11
+1,17
@@
/dts-v1/;
/dts-v1/;
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Inventel Livebox 1";
compatible = "inventel,livebox-blue-5g", "brcm,bcm6348";
/ {
model = "Inventel Livebox 1";
compatible = "inventel,livebox-blue-5g", "brcm,bcm6348";
+ chosen {
+ bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+ };
+
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
@@
-15,15
+21,15
@@
debounce-interval = <60>;
button1 {
debounce-interval = <60>;
button1 {
- label = "
BTN_
1";
+ label = "1";
gpios = <&gpio1 4 1>;
gpios = <&gpio1 4 1>;
- linux,code = <
0x101
>;
+ linux,code = <
KEY_RESTART
>;
};
button2 {
};
button2 {
- label = "
BTN_
2";
+ label = "2";
gpios = <&gpio0 7 1>;
gpios = <&gpio0 7 1>;
- linux,code = <
0x10
2>;
+ linux,code = <
BTN_
2>;
};
};
};
};