Browse Source

ipq806x: fix MAC_POWER_SEL switch configuration

Fixes instability/corruption on the ethernet interface connected to port0 on the switch.

Signed-off-by: Josh Bendavid <[email protected]>
Josh Bendavid 9 years ago
parent
commit
66ffd0ddf9

+ 1 - 1
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts

@@ -301,7 +301,7 @@
 					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 */

+ 1 - 1
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-d7800.dts

@@ -246,7 +246,7 @@
 					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 */

+ 1 - 1
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts

@@ -284,7 +284,7 @@
 					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 */

+ 1 - 1
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-r7500.dts

@@ -216,7 +216,7 @@
 					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 */

+ 2 - 2
target/linux/ipq806x/patches-4.4/707-ARM-dts-qcom-add-mdio-nodes-to-ap148-db149.patch

@@ -58,7 +58,7 @@ Signed-off-by: Mathieu Olivari <[email protected]>
 +					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 <[email protected]>
 +					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 */