aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mcs814x/files-3.3/arch/arm/boot/dts
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-06-23 11:03:35 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-06-23 11:03:35 +0000
commita2cd791e83eee4369d57f8376ff75dc3be325d8d (patch)
tree79fa758d09780fead09012630e8c01b82f1fa4da /target/linux/mcs814x/files-3.3/arch/arm/boot/dts
parent106cd1abfa516665ccf2ad853c41bf448d1430e0 (diff)
downloadmaster-187ad058-a2cd791e83eee4369d57f8376ff75dc3be325d8d.tar.gz
master-187ad058-a2cd791e83eee4369d57f8376ff75dc3be325d8d.tar.bz2
master-187ad058-a2cd791e83eee4369d57f8376ff75dc3be325d8d.zip
[mcs814x] remove platform specific initialization from ethernet driver
Hardware filtering must always be enabled as long as there is an Ethernet device registered, and use device tree for setting the link activity and buffer shifting enable/disable bit. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32486 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mcs814x/files-3.3/arch/arm/boot/dts')
-rw-r--r--target/linux/mcs814x/files-3.3/arch/arm/boot/dts/mcs8140.dtsi3
-rw-r--r--target/linux/mcs814x/files-3.3/arch/arm/boot/dts/rbt-832.dts3
2 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/mcs814x/files-3.3/arch/arm/boot/dts/mcs8140.dtsi b/target/linux/mcs814x/files-3.3/arch/arm/boot/dts/mcs8140.dtsi
index 67727efe9c..c68f3ce7da 100644
--- a/target/linux/mcs814x/files-3.3/arch/arm/boot/dts/mcs8140.dtsi
+++ b/target/linux/mcs814x/files-3.3/arch/arm/boot/dts/mcs8140.dtsi
@@ -37,11 +37,12 @@
ranges;
eth0: ethernet@40084000 {
- //compatible = "moschip,mcs814x-eth";
compatible = "moschip,nuport-mac";
reg = <0x40084000 0xd8 // mac
0x40080000 0x58>; // dma channels
interrupts = <4 5 29>; /* tx, rx, link */
+ nuport-mac,buffer-shifting;
+ nuport-mac,link-activity = <0>;
};
tso@40088000 {
diff --git a/target/linux/mcs814x/files-3.3/arch/arm/boot/dts/rbt-832.dts b/target/linux/mcs814x/files-3.3/arch/arm/boot/dts/rbt-832.dts
index a3d815c07b..cc7fab8ed1 100644
--- a/target/linux/mcs814x/files-3.3/arch/arm/boot/dts/rbt-832.dts
+++ b/target/linux/mcs814x/files-3.3/arch/arm/boot/dts/rbt-832.dts
@@ -19,6 +19,9 @@
ahb {
vci {
+ eth0: ethernet@40084000 {
+ nuport-mac,link-activity = <0x01>;
+ };
adc {
sdram: memory@0,0 {