diff options
author | Esben Haabendal <eha@deif.com> | 2018-04-06 14:46:35 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-08 12:44:49 -0400 |
commit | 5571196135abb6d51e01592812997403c136067c (patch) | |
tree | ec449b20b8c669ccb3e4932093b693d000e720f5 /arch/arm | |
parent | 21481189e8ffa4016e398d46ac6d66fb0f23acc3 (diff) | |
download | linux-stable-5571196135abb6d51e01592812997403c136067c.tar.gz linux-stable-5571196135abb6d51e01592812997403c136067c.tar.bz2 linux-stable-5571196135abb6d51e01592812997403c136067c.zip |
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/ls1021a.dtsi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index c31dad98f989..728e206009ea 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -587,7 +587,8 @@ 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 { |