projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: backport MT7628 pinmux fixes
[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 05bb56181e5930a121c6c86298c28efc7bc85300..c529b34a7ac364ea062c2cd067e901ddbe19698d 100644
(file)
--- a/
target/linux/ramips/dts/DUZUN-DM06.dts
+++ b/
target/linux/ramips/dts/DUZUN-DM06.dts
@@
-2,8
+2,11
@@
#include "mt7628an.dtsi"
#include "mt7628an.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+
/ {
/ {
- compatible = "duzun,dm06
-mt7628an
", "mediatek,mt7628an-soc";
+ compatible = "duzun,dm06", "mediatek,mt7628an-soc";
model = "DuZun DM06";
memory@0 {
model = "DuZun DM06";
memory@0 {
@@
-19,14
+22,14
@@
reset {
label = "reset";
reset {
label = "reset";
- gpios = <&gpio1 14
1
>;
- linux,code = <
0x198
>;
+ gpios = <&gpio1 14
GPIO_ACTIVE_LOW
>;
+ linux,code = <
KEY_RESTART
>;
};
wps {
label = "wps";
};
wps {
label = "wps";
- gpios = <&gpio1 6
1
>;
- linux,code = <
0x211
>;
+ gpios = <&gpio1 6
GPIO_ACTIVE_LOW
>;
+ linux,code = <
KEY_WPS_BUTTON
>;
};
};
};
};
@@
-71,7
+74,7
@@
wm8960_mclk_pins: wm8960_mclk {
wm8960_mclk {
ralink,group = "refclk";
wm8960_mclk_pins: wm8960_mclk {
wm8960_mclk {
ralink,group = "refclk";
- ralink,function = "reclk";
+ ralink,function = "re
f
clk";
};
};
};
};
};
};
@@
-124,7
+127,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;