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

Subsystems: the rest

STALE1797d

2 messages, 2 authors, 2021-10-20 · open the first message on its own page

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

From: Matthew Hagan <hidden>
Date: 2021-10-15 22:51:14

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

Signed-off-by: Matthew Hagan <redacted>
---
 arch/arm/boot/dts/bcm958625-meraki-alamo.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/bcm958625-meraki-alamo.dtsi b/arch/arm/boot/dts/bcm958625-meraki-alamo.dtsi
index 102acd85fab2..ba01054a76cf 100644
--- a/arch/arm/boot/dts/bcm958625-meraki-alamo.dtsi
+++ b/arch/arm/boot/dts/bcm958625-meraki-alamo.dtsi
@@ -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;
-- 
2.27.0

Re: [PATCH] ARM: dts: NSP: MX65: add qca8k falling-edge, PLL properties

From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2021-10-20 22:56:54

On Fri, 15 Oct 2021 23:50:22 +0100, Matthew Hagan [off-list ref] wrote:
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

Signed-off-by: Matthew Hagan <redacted>
---
Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks!
--
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help