]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: ti: k3-j722s-main: Disable "serdes_wiz0" and "serdes_wiz1"
authorSiddharth Vadapalli <s-vadapalli@ti.com>
Thu, 17 Apr 2025 12:32:44 +0000 (18:02 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Jun 2025 12:45:08 +0000 (14:45 +0200)
commit 320d8a84f6f045dc876d4c2983f9024c7ac9d6df upstream.

Since "serdes0" and "serdes1" which are the sub-nodes of "serdes_wiz0"
and "serdes_wiz1" respectively, have been disabled in the SoC file already,
and, given that these sub-nodes will only be enabled in a board file if the
board utilizes any of the SERDES instances and the peripherals bound to
them, we end up in a situation where the board file doesn't explicitly
disable "serdes_wiz0" and "serdes_wiz1". As a consequence of this, the
following errors show up when booting Linux:

  wiz bus@f0000:phy@f000000: probe with driver wiz failed with error -12
  ...
  wiz bus@f0000:phy@f010000: probe with driver wiz failed with error -12

To not only fix the above, but also, in order to follow the convention of
disabling device-tree nodes in the SoC file and enabling them in the board
files for those boards which require them, disable "serdes_wiz0" and
"serdes_wiz1" device-tree nodes.

Fixes: 628e0a0118e6 ("arm64: dts: ti: k3-j722s-main: Add SERDES and PCIe support")
Cc: stable@vger.kernel.org
Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Reviewed-by: Udit Kumar <u-kumar1@ti.com>
Link: https://lore.kernel.org/r/20250417123246.2733923-3-s-vadapalli@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/ti/k3-j722s-main.dtsi

index 6da7b3a2943c44c10d926ee3003821dac5a750a8..43204084568c38833d8b65cdb52d8ee393cf0150 100644 (file)
@@ -32,6 +32,8 @@
                assigned-clocks = <&k3_clks 279 1>;
                assigned-clock-parents = <&k3_clks 279 5>;
 
+               status = "disabled";
+
                serdes0: serdes@f000000 {
                        compatible = "ti,j721e-serdes-10g";
                        reg = <0x0f000000 0x00010000>;
@@ -70,6 +72,8 @@
                assigned-clocks = <&k3_clks 280 1>;
                assigned-clock-parents = <&k3_clks 280 5>;
 
+               status = "disabled";
+
                serdes1: serdes@f010000 {
                        compatible = "ti,j721e-serdes-10g";
                        reg = <0x0f010000 0x00010000>;