projects
/
openwrt
/
staging
/
mkresin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: Change all '/include/' clauses to '#include' so preprocessing can
[openwrt/staging/mkresin.git]
/
target
/
linux
/
ramips
/
dts
/
W150M.dts
diff --git
a/target/linux/ramips/dts/W150M.dts
b/target/linux/ramips/dts/W150M.dts
index 94f1960641df4820c2f252b374d88824f9678cde..e336f70245f5e46171056ca804f54a27c647f860 100644
(file)
--- a/
target/linux/ramips/dts/W150M.dts
+++ b/
target/linux/ramips/dts/W150M.dts
@@
-1,27
+1,23
@@
/dts-v1/;
/dts-v1/;
-
/include/
"rt3050.dtsi"
+
#include
"rt3050.dtsi"
/ {
/ {
- compatible = "3G300M", "ralink,rt3050-soc";
- model = "Tenda 3G300M";
-
- palmbus@10000000 {
- sysc@0 {
- ralink,pinmux = "i2c", "spi", "uartlite", "mdio", "sdram", "rgmii", "jtag";
- ralink,uartmux = "gpio";
- ralink,wdtmux = <1>;
- };
+ compatible = "W150M", "ralink,rt3050-soc";
+ model = "Tenda W150M";
- gpio0: gpio@600 {
- status = "okay";
+ 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>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@
-53,28
+49,34
@@
gpio-leds {
compatible = "gpio-leds";
gpio-leds {
compatible = "gpio-leds";
+
3grouter {
3grouter {
- label = "
tenda
:blue:3grouter";
+ label = "
w150m
:blue:3grouter";
gpios = <&gpio0 11 1>;
};
gpios = <&gpio0 11 1>;
};
+
ap {
ap {
- label = "
tenda
:blue:ap";
+ label = "
w150m
:blue:ap";
gpios = <&gpio0 12 1>;
};
gpios = <&gpio0 12 1>;
};
+
wisprouter {
wisprouter {
- label = "
tenda
:blue:wisprouter";
+ label = "
w150m
:blue:wisprouter";
gpios = <&gpio0 9 1>;
};
gpios = <&gpio0 9 1>;
};
+
wirelessrouter {
wirelessrouter {
- label = "
tenda
:blue:wirelessrouter";
+ label = "
w150m
:blue:wirelessrouter";
gpios = <&gpio0 13 1>;
};
gpios = <&gpio0 13 1>;
};
+
3g {
3g {
- label = "
tenda
:blue:3g";
+ label = "
w150m
:blue:3g";
gpios = <&gpio0 7 1>;
};
gpios = <&gpio0 7 1>;
};
+
wpsreset {
wpsreset {
- label = "
tenda
:blue:wpsreset";
+ label = "
w150m
:blue:wpsreset";
gpios = <&gpio0 14 1>;
};
};
gpios = <&gpio0 14 1>;
};
};
@@
-84,11
+86,13
@@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 0 1>;
linux,code = <0x198>;
};
reset {
label = "reset";
gpios = <&gpio0 0 1>;
linux,code = <0x198>;
};
+
mode {
label = "mode";
gpios = <&gpio0 10 1>;
mode {
label = "mode";
gpios = <&gpio0 10 1>;
@@
-97,15
+101,14
@@
};
ethernet@10100000 {
};
ethernet@10100000 {
-
status = "okay"
;
+
mtd-mac-address = <&factory 0x4>
;
};
esw@10110000 {
};
esw@10110000 {
- status = "okay";
- ralink,portmap = <0x2f>;
+ mediatek,portmap = <0x2f>;
};
wmac@10180000 {
};
wmac@10180000 {
-
status = "okay"
;
+
ralink,mtd-eeprom = <&factory 0>
;
};
};
};
};