projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: cleanup SPI flash device tree properties usage
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
DUZUN-DM06.dts
diff --git
a/target/linux/ramips/dts/DUZUN-DM06.dts
b/target/linux/ramips/dts/DUZUN-DM06.dts
index 946a421c3a7ac77f947a79a15c70e886246e42f5..d40df4fb5c68f90281adc6101b5699a8be58b7a8 100644
(file)
--- a/
target/linux/ramips/dts/DUZUN-DM06.dts
+++ b/
target/linux/ramips/dts/DUZUN-DM06.dts
@@
-1,6
+1,8
@@
/dts-v1/;
/dts-v1/;
-/include/ "mt7628an.dtsi"
+#include "mt7628an.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
compatible = "duzun,dm06-mt7628an", "mediatek,mt7628an-soc";
/ {
compatible = "duzun,dm06-mt7628an", "mediatek,mt7628an-soc";
@@
-20,13
+22,13
@@
reset {
label = "reset";
gpios = <&gpio1 14 1>;
reset {
label = "reset";
gpios = <&gpio1 14 1>;
- linux,code = <
0x198
>;
+ linux,code = <
KEY_RESTART
>;
};
wps {
label = "wps";
gpios = <&gpio1 6 1>;
};
wps {
label = "wps";
gpios = <&gpio1 6 1>;
- linux,code = <
0x211
>;
+ linux,code = <
KEY_WPS_BUTTON
>;
};
};
};
};
@@
-124,7
+126,6
@@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
- linux,modalias = "m25p80";
spi-max-frequency = <60000000>;
m25p,chunked-io = <32>;
m25p,fast-read;
spi-max-frequency = <60000000>;
m25p,chunked-io = <32>;
m25p,fast-read;