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
/
bcm96318ref_p300.dts
diff --git
a/target/linux/brcm63xx/dts/bcm96318ref_p300.dts
b/target/linux/brcm63xx/dts/bcm96318ref_p300.dts
index 5d91d7608d49c46464740038e8ad2cef338b57d8..5f37a44d58a925eb65e79ee4a81d4327c48748b2 100644
(file)
--- a/
target/linux/brcm63xx/dts/bcm96318ref_p300.dts
+++ b/
target/linux/brcm63xx/dts/bcm96318ref_p300.dts
@@
-1,11
+1,17
@@
/dts-v1/;
/dts-v1/;
-/include/ "bcm6318.dtsi"
+#include "bcm6318.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Broadcom BCM96318REF_P300 reference board";
compatible = "brcm,bcm96318ref_p300", "brcm,bcm6318";
/ {
model = "Broadcom BCM96318REF_P300 reference board";
compatible = "brcm,bcm96318ref_p300", "brcm,bcm6318";
+ 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,13
+22,13
@@
wps {
label = "wps";
gpios = <&gpio1 1 1>;
wps {
label = "wps";
gpios = <&gpio1 1 1>;
- linux,code = <
0x211
>;
+ linux,code = <
KEY_WPS_BUTTON
>;
};
reset {
label = "reset";
gpios = <&gpio1 2 1>;
};
reset {
label = "reset";
gpios = <&gpio1 2 1>;
- linux,code = <
0x198
>;
+ linux,code = <
KEY_RESTART
>;
};
};
};
};