Skip to content

Commit 5571196

Browse files
Esben Haabendaldavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 2148118 commit 5571196

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/arm/boot/dts/ls1021a.dtsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,8 @@
587587
device_type = "mdio";
588588
#address-cells = <1>;
589589
#size-cells = <0>;
590-
reg = <0x0 0x2d24000 0x0 0x4000>;
590+
reg = <0x0 0x2d24000 0x0 0x4000>,
591+
<0x0 0x2d10030 0x0 0x4>;
591592
};
592593

593594
ptp_clock@2d10e00 {

0 commit comments

Comments
 (0)