]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ARM: dts: ls1021a: Specify TBIPA register address
authorEsben Haabendal <eha@deif.com>
Fri, 6 Apr 2018 12:46:35 +0000 (14:46 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 Apr 2018 16:44:49 +0000 (12:44 -0400)
The current (mildly evil) fsl_pq_mdio code uses an undocumented shadow of
the TBIPA register on LS1021A, which happens to be read-only.
Changing TBI PHY address therefore does not work on LS1021A.

The real (and documented) address of the TBIPA registere lies in the eTSEC
block and not in MDIO/MII, which is read/write, so using that fixes
the problem.

Signed-off-by: Esben Haabendal <eha@deif.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm/boot/dts/ls1021a.dtsi

index c31dad98f989d26a7f3ae1252fce5bfce62432aa..728e206009eaba7a80336277952992833709e5c5 100644 (file)
                        device_type = "mdio";
                        #address-cells = <1>;
                        #size-cells = <0>;
-                       reg = <0x0 0x2d24000 0x0 0x4000>;
+                       reg = <0x0 0x2d24000 0x0 0x4000>,
+                             <0x0 0x2d10030 0x0 0x4>;
                };
 
                ptp_clock@2d10e00 {