projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: TEW-692GR: fix switch and wireless
[oweals/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
PSR-680W.dts
diff --git
a/target/linux/ramips/dts/PSR-680W.dts
b/target/linux/ramips/dts/PSR-680W.dts
index 509787ae8adb21de95b3eecb718581f81df69f50..c4c4522afc52b34f428061c89c27239cf4d5b0a5 100644
(file)
--- a/
target/linux/ramips/dts/PSR-680W.dts
+++ b/
target/linux/ramips/dts/PSR-680W.dts
@@
-1,6
+1,6
@@
/dts-v1/;
/dts-v1/;
-
/include/
"rt3050.dtsi"
+
#include
"rt3050.dtsi"
/ {
compatible = "PSR-680W", "ralink,rt3052-soc";
/ {
compatible = "PSR-680W", "ralink,rt3052-soc";
@@
-10,19
+10,9
@@
bootargs = "console=ttyS0,115200";
};
bootargs = "console=ttyS0,115200";
};
- 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>;
@@
-52,20
+42,9
@@
};
};
};
};
- ethernet@10100000 {
- mtd-mac-address = <&factory 0x4>;
- };
-
- esw@10110000 {
- ralink,portmap = <0x3e>;
- };
-
- wmac@10180000 {
- ralink,mtd-eeprom = <&factory 0>;
- };
-
gpio-leds {
compatible = "gpio-leds";
gpio-leds {
compatible = "gpio-leds";
+
wan {
label = "psr-680w:red:wan";
gpios = <&gpio0 19 1>;
wan {
label = "psr-680w:red:wan";
gpios = <&gpio0 19 1>;
@@
-77,14
+56,36
@@
#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>;
};
};
+};
- otg@101c0000 {
- status = "okay";
+&pinctrl {
+ state_default: pinctrl0 {
+ gpio {
+ ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ ralink,function = "gpio";
+ };
};
};
};
};
+
+ðernet {
+ mtd-mac-address = <&factory 0x4>;
+};
+
+&esw {
+ mediatek,portmap = <0x3e>;
+};
+
+&wmac {
+ ralink,mtd-eeprom = <&factory 0>;
+};
+
+&otg {
+ status = "okay";
+};