]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: ti: k3-j784s4-evm: Consolidate serdes0 references
authorAndrew Halaney <ahalaney@redhat.com>
Wed, 10 Jul 2024 15:36:14 +0000 (10:36 -0500)
committerVignesh Raghavendra <vigneshr@ti.com>
Fri, 12 Jul 2024 11:38:40 +0000 (17:08 +0530)
Subnodes were added to serdes0 in two different spots (due to independent
development of their consumer usage). Let's go ahead and combine those
into one reference for readability's sake.

Signed-off-by: Andrew Halaney <ahalaney@redhat.com>
Reviewed-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Link: https://lore.kernel.org/r/20240710-k3-j784s4-evm-serdes0-cleanup-v1-2-03850fe33922@redhat.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-j784s4-evm.dts

index e54ccf4f3795526c03bc20808d846777565922ce..ffa38f41679d8436f570682dc6133c53f51bbef3 100644 (file)
 &serdes0 {
        status = "okay";
 
+       serdes0_pcie1_link: phy@0 {
+               reg = <0>;
+               cdns,num-lanes = <2>;
+               #phy-cells = <0>;
+               cdns,phy-type = <PHY_TYPE_PCIE>;
+               resets = <&serdes_wiz0 1>, <&serdes_wiz0 2>;
+       };
+
        serdes0_usb_link: phy@3 {
                reg = <3>;
                cdns,num-lanes = <1>;
        phys = <&transceiver3>;
 };
 
-&serdes0 {
-       status = "okay";
-
-       serdes0_pcie1_link: phy@0 {
-               reg = <0>;
-               cdns,num-lanes = <2>;
-               #phy-cells = <0>;
-               cdns,phy-type = <PHY_TYPE_PCIE>;
-               resets = <&serdes_wiz0 1>, <&serdes_wiz0 2>;
-       };
-};
-
-&serdes_wiz0 {
-       status = "okay";
-};
-
 &pcie1_rc {
        status = "okay";
        num-lanes = <2>;