arm64: dts: freescale: sl28: fix RGMII
Subsystems (2)
v2 cover arm64: dts: freescale: sl28: fix RGMII
This fixes the RGMII on the sl28 boards. While the network port was actually working it is still out-of-spec.
Please note, that this is split into two patches because each one fixes a different commit.
Changes since v1:
- use different subjects for the two patches. I didn't use sl28-varN because I'd like to keep "sl28:" for all the sl28 related patches.
Michael Walle (2):
arm64: dts: freescale: sl28: var4: fix RGMII clock and voltage
arm64: dts: freescale: sl28: var1: fix RGMII clock and voltage
.../boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dts | 3 ++- .../boot/dts/freescale/fsl-ls1028a-kontron-sl28-var4.dts | 5 ++--- 2 files changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
2.20.1
PATCH v2 1/2 arm64: dts: freescale: sl28: var4: fix RGMII clock and voltage
During hardware validation it was noticed that the clock isn't continuously enabled when there is no link. This is because the 125MHz clock is derived from the internal PLL which seems to go into some kind of power-down mode every once in a while. The LS1028A expects a contiuous clock. Thus enable the PLL all the time.
Also, the RGMII pad voltage is wrong. It was configured to 2.5V (that is the VDDH regulator). The correct voltage is 1.8V, i.e. the VDDIO regulator.
This fix is for the freescale/fsl-ls1028a-kontron-sl28-var4.dts.
--- .../boot/dts/freescale/fsl-ls1028a-kontron-sl28-var4.dts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var4.dts +2 -3
@@ -31,11 +31,10 @@ reg = <0x4>; eee-broken-1000t; eee-broken-100tx; - qca,clk-out-frequency = <125000000>; qca,clk-out-strength = <AR803X_STRENGTH_FULL>; - - vddio-supply = <&vddh>; + qca,keep-pll-enabled; + vddio-supply = <&vddio>; vddio: vddio-regulator { regulator-name = "VDDIO";
Signature · 1 line
2.20.1
PATCH v2 2/2 arm64: dts: freescale: sl28: var1: fix RGMII clock and voltage
In reply to Michael WalleDuring hardware validation it was noticed that the clock isn't continuously enabled when there is no link. This is because the 125MHz clock is derived from the internal PLL which seems to go into some kind of power-down mode every once in a while. The LS1028A expects a contiuous clock. Thus enable the PLL all the time.
Also, the RGMII pad voltage is wrong, it was configured to 2.5V (that is the VDDH regulator). The correct voltage is 1.8V, i.e. the VDDIO regulator.
This fix is for the freescale/fsl-ls1028a-kontron-sl28-var1.dts.
--- .../arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dts +2 -1
@@ -46,7 +46,8 @@ eee-broken-100tx; qca,clk-out-frequency = <125000000>; qca,clk-out-strength = <AR803X_STRENGTH_FULL>; - vddio-supply = <&vddh>; + qca,keep-pll-enabled; + vddio-supply = <&vddio>; vddio: vddio-regulator { regulator-name = "VDDIO";
Signature · 1 line
2.20.1
Shawn Guo
AppliedQuoted 6 lines · Michael Walle
This fixes the RGMII on the sl28 boards. While the network port was actually working it is still out-of-spec.
Please note, that this is split into two patches because each one fixes a different commit.
Quoted 7 lines
Changes since v1:
- use different subjects for the two patches. I didn't use sl28-varN because I'd like to keep "sl28:" for all the sl28 related patches.Michael Walle (2):
arm64: dts: freescale: sl28: var4: fix RGMII clock and voltage
arm64: dts: freescale: sl28: var1: fix RGMII clock and voltage
Applied both, thanks.