projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
brcm63xx: move the bootargs into the dtb files
[openwrt/openwrt.git]
/
target
/
linux
/
brcm63xx
/
dts
/
dg834g_v4.dts
diff --git
a/target/linux/brcm63xx/dts/dg834g_v4.dts
b/target/linux/brcm63xx/dts/dg834g_v4.dts
index 8cbb3f3ce9cdd64d9de371fe3b65b4c415b219a5..ee63473e3c481e056f4bd094c65d484854a4258b 100644
(file)
--- a/
target/linux/brcm63xx/dts/dg834g_v4.dts
+++ b/
target/linux/brcm63xx/dts/dg834g_v4.dts
@@
-1,11
+1,17
@@
/dts-v1/;
/dts-v1/;
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Netgear DG834G v4";
compatible = "netgear,dg834g-v4", "brcm,bcm6348";
/ {
model = "Netgear DG834G v4";
compatible = "netgear,dg834g-v4", "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>;
@@
-16,7
+22,7
@@
reset {
label = "reset";
gpios = <&gpio0 6 1>;
reset {
label = "reset";
gpios = <&gpio0 6 1>;
- linux,code = <
0x198
>;
+ linux,code = <
KEY_RESTART
>;
};
};
};
};