linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net v2] powerpc: dts: t208x: Disable 10G on MAC1 and MAC2
@ 2022-12-16 17:29 Sean Anderson
  2022-12-19 16:23 ` Camelia Alexandra Groza
  2022-12-23  2:00 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 7+ messages in thread
From: Sean Anderson @ 2022-12-16 17:29 UTC (permalink / raw)
  To: David S . Miller, netdev
  Cc: devicetree, Sean Anderson, linux-kernel, Nicholas Piggin,
	Rob Herring, Krzysztof Kozlowski, linuxppc-dev,
	Camelia Alexandra Groza

There aren't enough resources to run these ports at 10G speeds. Disable
10G for these ports, reverting to the previous speed.

Fixes: 36926a7d70c2 ("powerpc: dts: t208x: Mark MAC1 and MAC2 as 10G")
Reported-by: Camelia Alexandra Groza <camelia.groza@nxp.com>
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
---

Changes in v2:
- Remove the 10g properties, instead of removing the MAC dtsis.

 arch/powerpc/boot/dts/fsl/t2081si-post.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/powerpc/boot/dts/fsl/t2081si-post.dtsi b/arch/powerpc/boot/dts/fsl/t2081si-post.dtsi
index 74e17e134387..27714dc2f04a 100644
--- a/arch/powerpc/boot/dts/fsl/t2081si-post.dtsi
+++ b/arch/powerpc/boot/dts/fsl/t2081si-post.dtsi
@@ -659,3 +659,19 @@ L2_1: l2-cache-controller@c20000 {
 		interrupts = <16 2 1 9>;
 	};
 };
+
+&fman0_rx_0x08 {
+	/delete-property/ fsl,fman-10g-port;
+};
+
+&fman0_tx_0x28 {
+	/delete-property/ fsl,fman-10g-port;
+};
+
+&fman0_rx_0x09 {
+	/delete-property/ fsl,fman-10g-port;
+};
+
+&fman0_tx_0x29 {
+	/delete-property/ fsl,fman-10g-port;
+};
-- 
2.35.1.1320.gc452695387.dirty


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-12-23  2:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-16 17:29 [PATCH net v2] powerpc: dts: t208x: Disable 10G on MAC1 and MAC2 Sean Anderson
2022-12-19 16:23 ` Camelia Alexandra Groza
2022-12-22 15:41   ` Camelia Alexandra Groza
2022-12-22 19:08     ` Jakub Kicinski
2022-12-22 23:30       ` Michael Ellerman
2022-12-23  1:56         ` Jakub Kicinski
2022-12-23  2:00 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).