projects
/
15.05
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ralink: set the mac addr via the dts file
[15.05/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
NW718.dts
diff --git
a/target/linux/ramips/dts/NW718.dts
b/target/linux/ramips/dts/NW718.dts
index
de57412
..
c67b832
100644
(file)
--- a/
target/linux/ramips/dts/NW718.dts
+++ b/
target/linux/ramips/dts/NW718.dts
@@
-6,26
+6,7
@@
compatible = "NW718", "ralink,rt3050-soc";
model = "Netcore NW718";
compatible = "NW718", "ralink,rt3050-soc";
model = "Netcore NW718";
- memorydetect {
- ralink,memory = <0x0 0x200000 0x4000000>;
- };
-
- chosen {
- bootargs = "console=ttyS0,57600 mtdparts=spi0.0:192k(u-boot)ro,128k(config)ro,64k(factory)ro,3712k@0x60000(firmware)";
- };
-
palmbus@10000000 {
palmbus@10000000 {
- sysc@0 {
- ralink,pinmux = "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
- ralink,gpiomux = "i2c";
- ralink,uartmux = "gpio";
- ralink,wdtmux = <1>;
- };
-
- gpio0: gpio@600 {
- status = "okay";
- };
-
spi@b00 {
status = "okay";
m25p80@0 {
spi@b00 {
status = "okay";
m25p80@0 {
@@
-62,12
+43,20
@@
};
};
};
};
+ pinctrl {
+ state_default: pinctrl0 {
+ gpio {
+ ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
+ ralink,function = "gpio";
+ };
+ };
+ };
+
ethernet@10100000 {
ethernet@10100000 {
-
status = "okay"
;
+
mtd-mac-address = <&factory 0x4>
;
};
esw@10110000 {
};
esw@10110000 {
- status = "okay";
ralink,portmap = <0x2f>;
};
ralink,portmap = <0x2f>;
};
@@
-104,10
+93,6
@@
};
};
};
};
- wmac@10180000 {
- status = "okay";
- };
-
otg@101c0000 {
status = "okay";
};
otg@101c0000 {
status = "okay";
};