summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2014-11-11 00:05:14 +0000
committerLuka Perkov <luka@openwrt.org>2014-11-11 00:05:14 +0000
commit494c6e7f6e113e52f7684faa6d0de1697bd8e6dc (patch)
tree7ad9be18288fa897a81d04370fc86a7baf46a12a
parent4f1a9470f067cc5df76571e9d06b7d9240fcc0a3 (diff)
downloadmtk-20170518-494c6e7f6e113e52f7684faa6d0de1697bd8e6dc.zip
mtk-20170518-494c6e7f6e113e52f7684faa6d0de1697bd8e6dc.tar.gz
mtk-20170518-494c6e7f6e113e52f7684faa6d0de1697bd8e6dc.tar.bz2
ralink: update DCS-930 dts
* read MAC address from factory partition * remove port defines since there is only one port (most likely C/P error) Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 43231
-rw-r--r--target/linux/ramips/dts/DCS-930.dts30
1 files changed, 4 insertions, 26 deletions
diff --git a/target/linux/ramips/dts/DCS-930.dts b/target/linux/ramips/dts/DCS-930.dts
index a497c04..3d0cf1d 100644
--- a/target/linux/ramips/dts/DCS-930.dts
+++ b/target/linux/ramips/dts/DCS-930.dts
@@ -92,34 +92,12 @@
};
};
+ ethernet@10100000 {
+ mtd-mac-address = <&factory 0x4>;
+ };
+
esw@10110000 {
ralink,portmap = <0x2f>;
-
- port@0 {
- compatible = "swconfig,port";
- swconfig,segment = "lan";
- swconfig,portmap = <0 4>;
- };
- port@1 {
- compatible = "swconfig,port";
- swconfig,segment = "lan";
- swconfig,portmap = <1 3>;
- };
- port@2 {
- compatible = "swconfig,port";
- swconfig,segment = "lan";
- swconfig,portmap = <2 2>;
- };
- port@3 {
- compatible = "swconfig,port";
- swconfig,segment = "lan";
- swconfig,portmap = <3 1>;
- };
- port@4 {
- compatible = "swconfig,port";
- swconfig,segment = "wan";
- swconfig,portmap = <4 0>;
- };
};
wmac@10180000 {