projects
/
openwrt
/
staging
/
lynxis
/
omap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: fix WHR-600D eeprom dt property
[openwrt/staging/lynxis/omap.git]
/
target
/
linux
/
ramips
/
dts
/
WHR-600D.dts
diff --git
a/target/linux/ramips/dts/WHR-600D.dts
b/target/linux/ramips/dts/WHR-600D.dts
index 67e9ba93ab49c276919e07d571e6637a4aa7df18..1100261da99c735ca344bf860dd41e5b1ec6f8b4 100644
(file)
--- a/
target/linux/ramips/dts/WHR-600D.dts
+++ b/
target/linux/ramips/dts/WHR-600D.dts
@@
-2,6
+2,8
@@
#include "mt7620a.dtsi"
#include "mt7620a.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "ralink,mt7620a-soc";
model = "Buffalo WHR-600D";
/ {
compatible = "ralink,mt7620a-soc";
model = "Buffalo WHR-600D";
@@
-54,27
+56,27
@@
reset {
label = "reset";
gpios = <&gpio2 12 1>;
reset {
label = "reset";
gpios = <&gpio2 12 1>;
- linux,code = <
0x198
>;
+ linux,code = <
KEY_RESTART
>;
};
aoss {
label = "aoss";
gpios = <&gpio2 13 1>;
};
aoss {
label = "aoss";
gpios = <&gpio2 13 1>;
- linux,code = <
0x211
>;
+ linux,code = <
KEY_WPS_BUTTON
>;
};
ap {
label = "ap";
gpios = <&gpio2 14 1>;
};
ap {
label = "ap";
gpios = <&gpio2 14 1>;
- linux,code = <
0x10
0>;
- linux,input-type = <
5>; /* EV_SW */
+ linux,code = <
BTN_
0>;
+ linux,input-type = <
EV_SW>;
};
bridge {
label = "bridge";
gpios = <&gpio2 15 1>;
};
bridge {
label = "bridge";
gpios = <&gpio2 15 1>;
- linux,code = <
0x10
0>;
- linux,input-type = <
5>; /* EV_SW */
+ linux,code = <
BTN_
0>;
+ linux,input-type = <
EV_SW>;
};
};
};
};
};
};
@@
-90,8
+92,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", "mx25l6405d";
+ reg = <0>;
spi-max-frequency = <10000000>;
partition@0 {
spi-max-frequency = <10000000>;
partition@0 {
@@
-145,4
+146,12
@@
&pcie {
status = "okay";
&pcie {
status = "okay";
+
+ pcie-bridge {
+ wifi@1814,5592 {
+ compatible = "pci1814,5592";
+ reg = <0x0000 0 0 0 0>;
+ ralink,mtd-eeprom = <&factory 0x8000>;
+ };
+ };
};
};