OSDN Git Service

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)
commit5571196135abb6d51e01592812997403c136067c
treeec449b20b8c669ccb3e4932093b693d000e720f5
parent21481189e8ffa4016e398d46ac6d66fb0f23acc3
ARM: dts: ls1021a: Specify TBIPA register address

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