projects
/
lede.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
[lede.git]
/
target
/
linux
/
ramips
/
dts
/
DIR-645.dts
diff --git
a/target/linux/ramips/dts/DIR-645.dts
b/target/linux/ramips/dts/DIR-645.dts
index 1cdb321f7ff5edfb76567ce2186dbe7cb1961e34..9c8082ca244389b1eddd1f8640b7da869855b060 100644
(file)
--- a/
target/linux/ramips/dts/DIR-645.dts
+++ b/
target/linux/ramips/dts/DIR-645.dts
@@
-2,6
+2,8
@@
#include "rt3883.dtsi"
#include "rt3883.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "DIR-645", "ralink,rt3883-soc";
model = "D-Link DIR-645";
/ {
compatible = "DIR-645", "ralink,rt3883-soc";
model = "D-Link DIR-645";
@@
-22,13
+24,13
@@
reset {
label = "reset";
gpios = <&gpio0 9 0>;
reset {
label = "reset";
gpios = <&gpio0 9 0>;
- linux,code = <
0x198
>;
+ linux,code = <
KEY_RESTART
>;
};
wps {
label = "wps";
gpios = <&gpio0 14 0>;
};
wps {
label = "wps";
gpios = <&gpio0 14 0>;
- linux,code = <
0x211
>;
+ linux,code = <
KEY_WPS_BUTTON
>;
};
};
};
};
@@
-69,8
+71,7
@@
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
- reg = <0 0>;
- linux,modalias = "m25p80";
+ reg = <0>;
spi-max-frequency = <25000000>;
partition@0 {
spi-max-frequency = <25000000>;
partition@0 {