You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.3 KiB
65 lines
1.3 KiB
8 years ago
|
--- a/arch/arm/boot/dts/kirkwood-linksys-viper.dts
|
||
|
+++ b/arch/arm/boot/dts/kirkwood-linksys-viper.dts
|
||
|
@@ -69,6 +69,17 @@
|
||
|
};
|
||
|
};
|
||
|
|
||
|
+ mvsw61xx {
|
||
|
+ compatible = "marvell,88e6171";
|
||
|
+ status = "okay";
|
||
|
+ reg = <0x10>;
|
||
|
+
|
||
|
+ mii-bus = <&mdio>;
|
||
|
+ cpu-port-0 = <5>;
|
||
|
+ cpu-port-1 = <6>;
|
||
|
+ is-indirect;
|
||
|
+ };
|
||
|
+
|
||
|
dsa {
|
||
|
compatible = "marvell,dsa";
|
||
|
#address-cells = <2>;
|
||
|
@@ -161,22 +172,22 @@
|
||
|
};
|
||
|
|
||
|
partition@200000 {
|
||
|
- label = "kernel";
|
||
|
+ label = "kernel1";
|
||
|
reg = <0x200000 0x2A0000>;
|
||
|
};
|
||
|
|
||
|
partition@4A0000 {
|
||
|
- label = "rootfs";
|
||
|
+ label = "rootfs1";
|
||
|
reg = <0x4A0000 0x1760000>;
|
||
|
};
|
||
|
|
||
|
partition@1C00000 {
|
||
|
- label = "alt_kernel";
|
||
|
+ label = "kernel2";
|
||
|
reg = <0x1C00000 0x2A0000>;
|
||
|
};
|
||
|
|
||
|
partition@1EA0000 {
|
||
|
- label = "alt_rootfs";
|
||
|
+ label = "rootfs2";
|
||
|
reg = <0x1EA0000 0x1760000>;
|
||
|
};
|
||
|
|
||
|
@@ -225,10 +236,14 @@
|
||
|
};
|
||
|
|
||
|
/* eth1 is connected to the switch at port 6. However DSA only supports a
|
||
|
- * single CPU port. So leave this port disabled to avoid confusion.
|
||
|
+ * single CPU port. Upstream uses DSA so they disable this port to avoid confusion.
|
||
|
*/
|
||
|
ð1 {
|
||
|
- status = "disabled";
|
||
|
+ status = "okay";
|
||
|
+ ethernet1-port@0 {
|
||
|
+ speed = <1000>;
|
||
|
+ duplex = <1>;
|
||
|
+ };
|
||
|
};
|
||
|
|
||
|
/* There is no battery on the board, so the RTC does not keep
|