Commit 73d527ae authored by Madalin Bucur's avatar Madalin Bucur Committed by David S. Miller

powerpc/fsl/dts: add fsl,erratum-a011043

Add fsl,erratum-a011043 to internal MDIO buses.
Software may get false read error when reading internal
PCS registers through MDIO. As a workaround, all internal
MDIO accesses should ignore the MDIO_CFG[MDIO_RD_ER] bit.
Signed-off-by: default avatarMadalin Bucur <madalin.bucur@oss.nxp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2934d2c6
...@@ -63,6 +63,7 @@ mdio@e1000 { ...@@ -63,6 +63,7 @@ mdio@e1000 {
#size-cells = <0>; #size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio"; compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xe1000 0x1000>; reg = <0xe1000 0x1000>;
fsl,erratum-a011043; /* must ignore read errors */
pcsphy0: ethernet-phy@0 { pcsphy0: ethernet-phy@0 {
reg = <0x0>; reg = <0x0>;
......
...@@ -60,6 +60,7 @@ mdio@f1000 { ...@@ -60,6 +60,7 @@ mdio@f1000 {
#size-cells = <0>; #size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio"; compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xf1000 0x1000>; reg = <0xf1000 0x1000>;
fsl,erratum-a011043; /* must ignore read errors */
pcsphy6: ethernet-phy@0 { pcsphy6: ethernet-phy@0 {
reg = <0x0>; reg = <0x0>;
......
...@@ -63,6 +63,7 @@ mdio@e3000 { ...@@ -63,6 +63,7 @@ mdio@e3000 {
#size-cells = <0>; #size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio"; compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xe3000 0x1000>; reg = <0xe3000 0x1000>;
fsl,erratum-a011043; /* must ignore read errors */
pcsphy1: ethernet-phy@0 { pcsphy1: ethernet-phy@0 {
reg = <0x0>; reg = <0x0>;
......
...@@ -60,6 +60,7 @@ mdio@f3000 { ...@@ -60,6 +60,7 @@ mdio@f3000 {
#size-cells = <0>; #size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio"; compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xf3000 0x1000>; reg = <0xf3000 0x1000>;
fsl,erratum-a011043; /* must ignore read errors */
pcsphy7: ethernet-phy@0 { pcsphy7: ethernet-phy@0 {
reg = <0x0>; reg = <0x0>;
......
...@@ -59,6 +59,7 @@ mdio@e1000 { ...@@ -59,6 +59,7 @@ mdio@e1000 {
#size-cells = <0>; #size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio"; compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xe1000 0x1000>; reg = <0xe1000 0x1000>;
fsl,erratum-a011043; /* must ignore read errors */
pcsphy0: ethernet-phy@0 { pcsphy0: ethernet-phy@0 {
reg = <0x0>; reg = <0x0>;
......
...@@ -59,6 +59,7 @@ mdio@e3000 { ...@@ -59,6 +59,7 @@ mdio@e3000 {
#size-cells = <0>; #size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio"; compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xe3000 0x1000>; reg = <0xe3000 0x1000>;
fsl,erratum-a011043; /* must ignore read errors */
pcsphy1: ethernet-phy@0 { pcsphy1: ethernet-phy@0 {
reg = <0x0>; reg = <0x0>;
......
...@@ -59,6 +59,7 @@ mdio@e5000 { ...@@ -59,6 +59,7 @@ mdio@e5000 {
#size-cells = <0>; #size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio"; compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xe5000 0x1000>; reg = <0xe5000 0x1000>;
fsl,erratum-a011043; /* must ignore read errors */
pcsphy2: ethernet-phy@0 { pcsphy2: ethernet-phy@0 {
reg = <0x0>; reg = <0x0>;
......
...@@ -59,6 +59,7 @@ mdio@e7000 { ...@@ -59,6 +59,7 @@ mdio@e7000 {
#size-cells = <0>; #size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio"; compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xe7000 0x1000>; reg = <0xe7000 0x1000>;
fsl,erratum-a011043; /* must ignore read errors */
pcsphy3: ethernet-phy@0 { pcsphy3: ethernet-phy@0 {
reg = <0x0>; reg = <0x0>;
......
...@@ -59,6 +59,7 @@ mdio@e9000 { ...@@ -59,6 +59,7 @@ mdio@e9000 {
#size-cells = <0>; #size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio"; compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xe9000 0x1000>; reg = <0xe9000 0x1000>;
fsl,erratum-a011043; /* must ignore read errors */
pcsphy4: ethernet-phy@0 { pcsphy4: ethernet-phy@0 {
reg = <0x0>; reg = <0x0>;
......
...@@ -59,6 +59,7 @@ mdio@eb000 { ...@@ -59,6 +59,7 @@ mdio@eb000 {
#size-cells = <0>; #size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio"; compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xeb000 0x1000>; reg = <0xeb000 0x1000>;
fsl,erratum-a011043; /* must ignore read errors */
pcsphy5: ethernet-phy@0 { pcsphy5: ethernet-phy@0 {
reg = <0x0>; reg = <0x0>;
......
...@@ -60,6 +60,7 @@ mdio@f1000 { ...@@ -60,6 +60,7 @@ mdio@f1000 {
#size-cells = <0>; #size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio"; compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xf1000 0x1000>; reg = <0xf1000 0x1000>;
fsl,erratum-a011043; /* must ignore read errors */
pcsphy14: ethernet-phy@0 { pcsphy14: ethernet-phy@0 {
reg = <0x0>; reg = <0x0>;
......
...@@ -60,6 +60,7 @@ mdio@f3000 { ...@@ -60,6 +60,7 @@ mdio@f3000 {
#size-cells = <0>; #size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio"; compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xf3000 0x1000>; reg = <0xf3000 0x1000>;
fsl,erratum-a011043; /* must ignore read errors */
pcsphy15: ethernet-phy@0 { pcsphy15: ethernet-phy@0 {
reg = <0x0>; reg = <0x0>;
......
...@@ -59,6 +59,7 @@ mdio@e1000 { ...@@ -59,6 +59,7 @@ mdio@e1000 {
#size-cells = <0>; #size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio"; compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xe1000 0x1000>; reg = <0xe1000 0x1000>;
fsl,erratum-a011043; /* must ignore read errors */
pcsphy8: ethernet-phy@0 { pcsphy8: ethernet-phy@0 {
reg = <0x0>; reg = <0x0>;
......
...@@ -59,6 +59,7 @@ mdio@e3000 { ...@@ -59,6 +59,7 @@ mdio@e3000 {
#size-cells = <0>; #size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio"; compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xe3000 0x1000>; reg = <0xe3000 0x1000>;
fsl,erratum-a011043; /* must ignore read errors */
pcsphy9: ethernet-phy@0 { pcsphy9: ethernet-phy@0 {
reg = <0x0>; reg = <0x0>;
......
...@@ -59,6 +59,7 @@ mdio@e5000 { ...@@ -59,6 +59,7 @@ mdio@e5000 {
#size-cells = <0>; #size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio"; compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xe5000 0x1000>; reg = <0xe5000 0x1000>;
fsl,erratum-a011043; /* must ignore read errors */
pcsphy10: ethernet-phy@0 { pcsphy10: ethernet-phy@0 {
reg = <0x0>; reg = <0x0>;
......
...@@ -59,6 +59,7 @@ mdio@e7000 { ...@@ -59,6 +59,7 @@ mdio@e7000 {
#size-cells = <0>; #size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio"; compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xe7000 0x1000>; reg = <0xe7000 0x1000>;
fsl,erratum-a011043; /* must ignore read errors */
pcsphy11: ethernet-phy@0 { pcsphy11: ethernet-phy@0 {
reg = <0x0>; reg = <0x0>;
......
...@@ -59,6 +59,7 @@ mdio@e9000 { ...@@ -59,6 +59,7 @@ mdio@e9000 {
#size-cells = <0>; #size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio"; compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xe9000 0x1000>; reg = <0xe9000 0x1000>;
fsl,erratum-a011043; /* must ignore read errors */
pcsphy12: ethernet-phy@0 { pcsphy12: ethernet-phy@0 {
reg = <0x0>; reg = <0x0>;
......
...@@ -59,6 +59,7 @@ mdio@eb000 { ...@@ -59,6 +59,7 @@ mdio@eb000 {
#size-cells = <0>; #size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio"; compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xeb000 0x1000>; reg = <0xeb000 0x1000>;
fsl,erratum-a011043; /* must ignore read errors */
pcsphy13: ethernet-phy@0 { pcsphy13: ethernet-phy@0 {
reg = <0x0>; reg = <0x0>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment