Skip to contentSkip to conversation

ARM: dts: NSP: MX65: add qca8k falling-edge, PLL properties

PATCH Applied Matthew Hagan 2 participants 2 messages Oct 15, 2021 – Oct 20, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: NSP: MX65: add qca8k falling-edge, PLL properties

This patch enables two properties for the QCA8337 switches on the MX65.

Set the SGMII transmit clock to falling edge "qca,sgmii-txclk-falling-edge" to conform to the OEM configuration [1].

The new explicit PLL enable option "qca,sgmii-enable-pll" is required [2].

[1] https://git.kernel.org/netdev/net-next/c/6c43809bf1be
[2] https://git.kernel.org/netdev/net-next/c/bbc4799e8bb6

---
 arch/arm/boot/dts/bcm958625-meraki-alamo.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/bcm958625-meraki-alamo.dtsi +4 -0
index 102acd85fab2..ba01054a76cf 100644
@@ -118,6 +118,8 @@ port@0 {
 						reg = <0>;
 						ethernet = <&sgmii1>;
 						phy-mode = "sgmii";
+						qca,sgmii-enable-pll;
+						qca,sgmii-txclk-falling-edge;
 						fixed-link {
 							speed = <1000>;
 							full-duplex;
@@ -194,6 +196,8 @@ port@0 {
 						reg = <0>;
 						ethernet = <&sgmii0>;
 						phy-mode = "sgmii";
+						qca,sgmii-enable-pll;
+						qca,sgmii-txclk-falling-edge;
 						fixed-link {
 							speed = <1000>;
 							full-duplex;
Signature · 1 line
2.27.0
#1 lore raw
Quoted 5 lines · Matthew Hagan

This patch enables two properties for the QCA8337 switches on the MX65.

Set the SGMII transmit clock to falling edge "qca,sgmii-txclk-falling-edge" to conform to the OEM configuration [1].

Quoted 8 lines

The new explicit PLL enable option "qca,sgmii-enable-pll" is required [2].

[1] https://git.kernel.org/netdev/net-next/c/6c43809bf1be
[2] https://git.kernel.org/netdev/net-next/c/bbc4799e8bb6

---

Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks! --
Florian