]> git.baikalelectronics.ru Git - kernel.git/commitdiff
powerpc/fsl/dts: add fsl,erratum-a011043
authorMadalin Bucur <madalin.bucur@oss.nxp.com>
Wed, 22 Jan 2020 13:20:28 +0000 (15:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Jan 2020 20:17:13 +0000 (21:17 +0100)
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: Madalin Bucur <madalin.bucur@oss.nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 files changed:
arch/powerpc/boot/dts/fsl/qoriq-fman3-0-10g-0-best-effort.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-0-10g-0.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-0-10g-1-best-effort.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-0-10g-1.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-0-1g-0.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-0-1g-1.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-0-1g-2.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-0-1g-3.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-0-1g-4.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-0-1g-5.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-1-10g-0.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-1-10g-1.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-1-1g-0.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-1-1g-1.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-1-1g-2.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-1-1g-3.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-1-1g-4.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-1-1g-5.dtsi

index e1a961f05dcd5b04b640827810cd198ff6fcb753..baa0c503e741b87f89609ca66c907fd5b36ecea7 100644 (file)
@@ -63,6 +63,7 @@ fman@400000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xe1000 0x1000>;
+               fsl,erratum-a011043; /* must ignore read errors */
 
                pcsphy0: ethernet-phy@0 {
                        reg = <0x0>;
index c288f3c6c6378dc5fd3c20cf1605ecd031013c89..93095600e8086f617b515047a4c70275d1cf88f8 100644 (file)
@@ -60,6 +60,7 @@ fman@400000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xf1000 0x1000>;
+               fsl,erratum-a011043; /* must ignore read errors */
 
                pcsphy6: ethernet-phy@0 {
                        reg = <0x0>;
index 94f3e71750124b5c8a58861909d5d017b05262ca..ff4bd38f064599947096249e51149f8a0e43383f 100644 (file)
@@ -63,6 +63,7 @@ fman@400000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xe3000 0x1000>;
+               fsl,erratum-a011043; /* must ignore read errors */
 
                pcsphy1: ethernet-phy@0 {
                        reg = <0x0>;
index 94a76982d214b7b963d4b66a9f5161793a2b8b55..1fa38ed6f59e269c70a6de0e8ca41d40024bcb62 100644 (file)
@@ -60,6 +60,7 @@ fman@400000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xf3000 0x1000>;
+               fsl,erratum-a011043; /* must ignore read errors */
 
                pcsphy7: ethernet-phy@0 {
                        reg = <0x0>;
index b5ff5f71c6b8b01874dd1b436e416409c2ac0759..a8cc9780c0c4225ac48c3fba7ca096089bf1c2f3 100644 (file)
@@ -59,6 +59,7 @@ fman@400000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xe1000 0x1000>;
+               fsl,erratum-a011043; /* must ignore read errors */
 
                pcsphy0: ethernet-phy@0 {
                        reg = <0x0>;
index ee44182c634853566c9740b04631c3564e8bd020..8b8bd70c93823df4ca8fc71574f6e9417c7bf1cb 100644 (file)
@@ -59,6 +59,7 @@ fman@400000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xe3000 0x1000>;
+               fsl,erratum-a011043; /* must ignore read errors */
 
                pcsphy1: ethernet-phy@0 {
                        reg = <0x0>;
index f05f0d775039b53aab57cdcd28fa8ac3ebde3490..619c880b54d8d39202cb58579974992ef2bf919f 100644 (file)
@@ -59,6 +59,7 @@ fman@400000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xe5000 0x1000>;
+               fsl,erratum-a011043; /* must ignore read errors */
 
                pcsphy2: ethernet-phy@0 {
                        reg = <0x0>;
index a9114ec510759e74036766b1ec1dbcaf42bcfa07..d7ebb73a400d06978aaedadd2efd62770159393c 100644 (file)
@@ -59,6 +59,7 @@ fman@400000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xe7000 0x1000>;
+               fsl,erratum-a011043; /* must ignore read errors */
 
                pcsphy3: ethernet-phy@0 {
                        reg = <0x0>;
index 44dd00ac7367fd6a100131eec3b7388741062383..b151d696a0699b24e90a5c290dba6cc41e6acccf 100644 (file)
@@ -59,6 +59,7 @@ fman@400000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xe9000 0x1000>;
+               fsl,erratum-a011043; /* must ignore read errors */
 
                pcsphy4: ethernet-phy@0 {
                        reg = <0x0>;
index 5b1b84b58602fa46e06cebb7be6b390d59372434..adc0ae0013a3ce89f8d1e26bd14a6f6f15af4526 100644 (file)
@@ -59,6 +59,7 @@ fman@400000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xeb000 0x1000>;
+               fsl,erratum-a011043; /* must ignore read errors */
 
                pcsphy5: ethernet-phy@0 {
                        reg = <0x0>;
index 0e1daaef9e74b8fe2b6f51369a11c66b238e7dfd..435047e0e250e2e95d73d0e3de6b605060beb378 100644 (file)
@@ -60,6 +60,7 @@ fman@500000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xf1000 0x1000>;
+               fsl,erratum-a011043; /* must ignore read errors */
 
                pcsphy14: ethernet-phy@0 {
                        reg = <0x0>;
index 68c5ef779266a8692e712a0ddcfa51db0822d945..c098657cca0a7b8330590ef69b129af4b06b8e4d 100644 (file)
@@ -60,6 +60,7 @@ fman@500000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xf3000 0x1000>;
+               fsl,erratum-a011043; /* must ignore read errors */
 
                pcsphy15: ethernet-phy@0 {
                        reg = <0x0>;
index 605363cc1117fbf38b334e68a9b21815325cfe74..9d06824815f342ca7b1d30c5e94159da76e936e9 100644 (file)
@@ -59,6 +59,7 @@ fman@500000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xe1000 0x1000>;
+               fsl,erratum-a011043; /* must ignore read errors */
 
                pcsphy8: ethernet-phy@0 {
                        reg = <0x0>;
index 1955dfa136348f12ea29e0c4fdd3abb7438784fe..70e947730c4ba72b715763fb1fe2ddf6c6ef0fec 100644 (file)
@@ -59,6 +59,7 @@ fman@500000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xe3000 0x1000>;
+               fsl,erratum-a011043; /* must ignore read errors */
 
                pcsphy9: ethernet-phy@0 {
                        reg = <0x0>;
index 2c1476454ee01bb81069c325ed7c02c20f70963d..ad96e6529595960f14be688feee58d3e3a6b84e9 100644 (file)
@@ -59,6 +59,7 @@ fman@500000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xe5000 0x1000>;
+               fsl,erratum-a011043; /* must ignore read errors */
 
                pcsphy10: ethernet-phy@0 {
                        reg = <0x0>;
index b8b541ff5fb034e597c427431e15b4e01ed0de26..034bc4b71f7a506a064b37c320beea2bedd0f390 100644 (file)
@@ -59,6 +59,7 @@ fman@500000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xe7000 0x1000>;
+               fsl,erratum-a011043; /* must ignore read errors */
 
                pcsphy11: ethernet-phy@0 {
                        reg = <0x0>;
index 4b2cfddd1b1553bbb34d53a236cd399fb96441b1..93ca23d82b39ba9cfdf0558afe1da18d0518550d 100644 (file)
@@ -59,6 +59,7 @@ fman@500000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xe9000 0x1000>;
+               fsl,erratum-a011043; /* must ignore read errors */
 
                pcsphy12: ethernet-phy@0 {
                        reg = <0x0>;
index 0a52ddf7cc171e6b830bc2707bc0be9d8ac26ee0..23b3117a2fd2a3871627bc34a68e14d0159e52ca 100644 (file)
@@ -59,6 +59,7 @@ fman@500000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xeb000 0x1000>;
+               fsl,erratum-a011043; /* must ignore read errors */
 
                pcsphy13: ethernet-phy@0 {
                        reg = <0x0>;