ixp4xx: Update to 4.9 kernel, refresh patches. Remove kmod-spi-gpio-old usage.
[oweals/openwrt.git] / target / linux / kirkwood / patches-4.9 / 105-ea4500.patch
1 --- a/arch/arm/boot/dts/kirkwood-linksys-viper.dts
2 +++ b/arch/arm/boot/dts/kirkwood-linksys-viper.dts
3 @@ -69,6 +69,17 @@
4                 };
5         };
6  
7 +       mvsw61xx {
8 +               compatible = "marvell,88e6171";
9 +               status = "okay";
10 +               reg = <0x10>;
11 +
12 +               mii-bus = <&mdio>;
13 +               cpu-port-0 = <5>;
14 +               cpu-port-1 = <6>;
15 +               is-indirect;
16 +       };
17 +
18         dsa {
19                 compatible = "marvell,dsa";
20                 #address-cells = <2>;
21 @@ -161,22 +172,22 @@
22                 };
23  
24                 partition@200000 {
25 -                       label = "kernel";
26 +                       label = "kernel1";
27                         reg = <0x200000 0x2A0000>;
28                 };
29  
30                 partition@4A0000 {
31 -                       label = "rootfs";
32 +                       label = "rootfs1";
33                         reg = <0x4A0000 0x1760000>;
34                 };
35  
36                 partition@1C00000 {
37 -                       label = "alt_kernel";
38 +                       label = "kernel2";
39                         reg = <0x1C00000 0x2A0000>;
40                 };
41  
42                 partition@1EA0000 {
43 -                       label = "alt_rootfs";
44 +                       label = "rootfs2";
45                         reg = <0x1EA0000 0x1760000>;
46                 };
47  
48 @@ -225,10 +236,14 @@
49  };
50  
51  /* eth1 is connected to the switch at port 6. However DSA only supports a
52 - * single CPU port. So leave this port disabled to avoid confusion.
53 + * single CPU port. Upstream uses DSA so they disable this port to avoid confusion.
54   */
55  &eth1 {
56 -       status = "disabled";
57 +       status = "okay";
58 +       ethernet1-port@0 {
59 +               speed = <1000>;
60 +               duplex = <1>;
61 +       };
62  };
63  
64  /* There is no battery on the board, so the RTC does not keep