ipq806x: fix MAC_POWER_SEL switch configuration
authorJosh Bendavid <joshbendavid@gmail.com>
Sat, 18 Jun 2016 09:50:29 +0000 (11:50 +0200)
committerJohn Crispin <john@phrozen.org>
Mon, 20 Jun 2016 09:45:44 +0000 (11:45 +0200)
Fixes instability/corruption on the ethernet interface connected to port0 on the switch.

Signed-off-by: Josh Bendavid <joshbendavid@gmail.com>
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-d7800.dts
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-r7500.dts
target/linux/ipq806x/patches-4.4/707-ARM-dts-qcom-add-mdio-nodes-to-ap148-db149.patch

index fc13637..d62d53e 100644 (file)
                                        0x00004 0x7600000   /* PAD0_MODE */
                                        0x00008 0x1000000   /* PAD5_MODE */
                                        0x0000c 0x80        /* PAD6_MODE */
-                                       0x000e4 0xaa545     /* MAC_POWER_SEL */
+                                       0x000e4 0x6a545     /* MAC_POWER_SEL */
                                        0x000e0 0xc74164de  /* SGMII_CTRL */
                                        0x0007c 0x4e        /* PORT0_STATUS */
                                        0x00094 0x4e        /* PORT6_STATUS */
index bd294c5..4dd7a32 100644 (file)
                                        0x00004 0x7600000   /* PAD0_MODE */
                                        0x00008 0x1000000   /* PAD5_MODE */
                                        0x0000c 0x80        /* PAD6_MODE */
-                                       0x000e4 0xaa545     /* MAC_POWER_SEL */
+                                       0x000e4 0x6a545     /* MAC_POWER_SEL */
                                        0x000e0 0xc74164de  /* SGMII_CTRL */
                                        0x0007c 0x4e        /* PORT0_STATUS */
                                        0x00094 0x4e        /* PORT6_STATUS */
index 4576a71..1bcbc9f 100644 (file)
                                        0x00004 0x7600000   /* PAD0_MODE */
                                        0x00008 0x1000000   /* PAD5_MODE */
                                        0x0000c 0x80        /* PAD6_MODE */
-                                       0x000e4 0xaa545     /* MAC_POWER_SEL */
+                                       0x000e4 0x6a545     /* MAC_POWER_SEL */
                                        0x000e0 0xc74164de  /* SGMII_CTRL */
                                        0x0007c 0x4e        /* PORT0_STATUS */
                                        0x00094 0x4e        /* PORT6_STATUS */
index ca1f612..2ecd493 100644 (file)
                                        0x00004 0x7600000   /* PAD0_MODE */
                                        0x00008 0x1000000   /* PAD5_MODE */
                                        0x0000c 0x80        /* PAD6_MODE */
-                                       0x000e4 0xaa545     /* MAC_POWER_SEL */
+                                       0x000e4 0x6a545     /* MAC_POWER_SEL */
                                        0x000e0 0xc74164de  /* SGMII_CTRL */
                                        0x0007c 0x4e        /* PORT0_STATUS */
                                        0x00094 0x4e        /* PORT6_STATUS */
index 625ff0a..102cd76 100644 (file)
@@ -58,7 +58,7 @@ Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
 +                                      0x00004 0x7600000   /* PAD0_MODE */
 +                                      0x00008 0x1000000   /* PAD5_MODE */
 +                                      0x0000c 0x80        /* PAD6_MODE */
-+                                      0x000e4 0xaa545     /* MAC_POWER_SEL */
++                                      0x000e4 0x6a545     /* MAC_POWER_SEL */
 +                                      0x000e0 0xc74164de  /* SGMII_CTRL */
 +                                      0x0007c 0x4e        /* PORT0_STATUS */
 +                                      0x00094 0x4e        /* PORT6_STATUS */
@@ -120,7 +120,7 @@ Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
 +                                      0x00004 0x7600000   /* PAD0_MODE */
 +                                      0x00008 0x1000000   /* PAD5_MODE */
 +                                      0x0000c 0x80        /* PAD6_MODE */
-+                                      0x000e4 0xaa545     /* MAC_POWER_SEL */
++                                      0x000e4 0x6a545     /* MAC_POWER_SEL */
 +                                      0x000e0 0xc74164de  /* SGMII_CTRL */
 +                                      0x0007c 0x4e        /* PORT0_STATUS */
 +                                      0x00094 0x4e        /* PORT6_STATUS */