projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: use pinmux nodes from dtsi
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
RT-N14U.dts
diff --git
a/target/linux/ramips/dts/RT-N14U.dts
b/target/linux/ramips/dts/RT-N14U.dts
index 22dd7b818b946e6bb0439b13c96f5b9d4fb40405..8ae4580b9b43c6562728cfc709453fafcf445a5d 100644
(file)
--- a/
target/linux/ramips/dts/RT-N14U.dts
+++ b/
target/linux/ramips/dts/RT-N14U.dts
@@
-2,6
+2,7
@@
#include "mt7620n.dtsi"
#include "mt7620n.dtsi"
+#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/ {
#include <dt-bindings/input/input.h>
/ {
@@
-13,27
+14,27
@@
wan {
label = "rt-n14u:blue:wan";
wan {
label = "rt-n14u:blue:wan";
- gpios = <&gpio2 0
1
>;
+ gpios = <&gpio2 0
GPIO_ACTIVE_LOW
>;
};
lan {
label = "rt-n14u:blue:lan";
};
lan {
label = "rt-n14u:blue:lan";
- gpios = <&gpio2 1
1
>;
+ gpios = <&gpio2 1
GPIO_ACTIVE_LOW
>;
};
usb {
label = "rt-n14u:blue:usb";
};
usb {
label = "rt-n14u:blue:usb";
- gpios = <&gpio2 2
1
>;
+ gpios = <&gpio2 2
GPIO_ACTIVE_LOW
>;
};
power {
label = "rt-n14u:blue:power";
};
power {
label = "rt-n14u:blue:power";
- gpios = <&gpio2 3
1
>;
+ gpios = <&gpio2 3
GPIO_ACTIVE_LOW
>;
};
air {
label = "rt-n14u:blue:air";
};
air {
label = "rt-n14u:blue:air";
- gpios = <&gpio3 0
1
>;
+ gpios = <&gpio3 0
GPIO_ACTIVE_LOW
>;
};
};
};
};
@@
-45,13
+46,13
@@
reset {
label = "reset";
reset {
label = "reset";
- gpios = <&gpio0 1
1
>;
+ gpios = <&gpio0 1
GPIO_ACTIVE_LOW
>;
linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
- gpios = <&gpio0 2
1
>;
+ gpios = <&gpio0 2
GPIO_ACTIVE_LOW
>;
linux,code = <KEY_WPS_BUTTON>;
};
};
linux,code = <KEY_WPS_BUTTON>;
};
};
@@
-73,7
+74,6
@@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
- linux,modalias = "m25p80", "w25q128";
spi-max-frequency = <10000000>;
partition@0 {
spi-max-frequency = <10000000>;
partition@0 {