projects
/
openwrt
/
staging
/
wigyori.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
treewide: dts: use keycode defines from input dt-binding
[openwrt/staging/wigyori.git]
/
target
/
linux
/
ramips
/
dts
/
BC2.dts
diff --git
a/target/linux/ramips/dts/BC2.dts
b/target/linux/ramips/dts/BC2.dts
index 9161a553232c31386e3137c57c7fc9a20c3fbe30..55cf8964f35e7937211e39730a032e1edff5693d 100644
(file)
--- a/
target/linux/ramips/dts/BC2.dts
+++ b/
target/linux/ramips/dts/BC2.dts
@@
-2,19
+2,12
@@
#include "rt3050.dtsi"
#include "rt3050.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "BC2", "ralink,rt3052-soc";
model = "NexAira BC2";
/ {
compatible = "BC2", "ralink,rt3052-soc";
model = "NexAira BC2";
- pinctrl {
- state_default: pinctrl0 {
- gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
- };
- };
- };
-
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
@@
-65,23
+58,32
@@
reset {
label = "reset";
gpios = <&gpio0 17 1>;
reset {
label = "reset";
gpios = <&gpio0 17 1>;
- linux,code = <
0x198
>;
+ linux,code = <
KEY_RESTART
>;
};
};
};
};
+};
- ethernet@10100000 {
- mtd-mac-address = <&factory 0x4>;
+&pinctrl {
+ state_default: pinctrl0 {
+ gpio {
+ ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ ralink,function = "gpio";
+ };
};
};
+};
-
esw@10110000
{
-
mediatek,portmap = <0x2f
>;
-
};
+
ðernet
{
+
mtd-mac-address = <&factory 0x4
>;
+};
-
wmac@10180000
{
-
ralink,mtd-eeprom = <&factory 0
>;
-
};
+
&esw
{
+
mediatek,portmap = <0x2f
>;
+};
- otg@101c0000 {
- status = "okay";
- };
+&wmac {
+ ralink,mtd-eeprom = <&factory 0>;
+};
+
+&otg {
+ status = "okay";
};
};