* [PATCH] arm64: dts: lx2160a-qds: add the two on-board RGMII PHYs
@ 2025-07-07 15:33 Ioana Ciornei
2025-07-08 18:05 ` Frank Li
2025-07-11 7:34 ` Shawn Guo
0 siblings, 2 replies; 3+ messages in thread
From: Ioana Ciornei @ 2025-07-07 15:33 UTC (permalink / raw)
To: Shawn Guo, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
linux-arm-kernel, devicetree, linux-kernel
Describe the two LX2160AQDS on-board RGMII PHYs on their respective MDIO
buses behind the MDIO multiplexer.
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
---
.../boot/dts/freescale/fsl-lx2160a-qds.dts | 20 +++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
index 4d721197d837..2d01e20b47e7 100644
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
@@ -43,12 +43,22 @@ mdio@0 { /* On-board PHY #1 RGMI1*/
reg = <0x00>;
#address-cells = <1>;
#size-cells = <0>;
+
+ rgmii_phy1: ethernet-phy@1 {
+ compatible = "ethernet-phy-id001c.c916";
+ reg = <0x1>;
+ };
};
mdio@8 { /* On-board PHY #2 RGMI2*/
reg = <0x8>;
#address-cells = <1>;
#size-cells = <0>;
+
+ rgmii_phy2: ethernet-phy@2 {
+ compatible = "ethernet-phy-id001c.c916";
+ reg = <0x2>;
+ };
};
mdio@18 { /* Slot #1 */
@@ -169,6 +179,16 @@ &crypto {
status = "okay";
};
+&dpmac17 {
+ phy-handle = <&rgmii_phy1>;
+ phy-connection-type = "rgmii-id";
+};
+
+&dpmac18 {
+ phy-handle = <&rgmii_phy2>;
+ phy-connection-type = "rgmii-id";
+};
+
&dspi0 {
status = "okay";
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] arm64: dts: lx2160a-qds: add the two on-board RGMII PHYs
2025-07-07 15:33 [PATCH] arm64: dts: lx2160a-qds: add the two on-board RGMII PHYs Ioana Ciornei
@ 2025-07-08 18:05 ` Frank Li
2025-07-11 7:34 ` Shawn Guo
1 sibling, 0 replies; 3+ messages in thread
From: Frank Li @ 2025-07-08 18:05 UTC (permalink / raw)
To: Ioana Ciornei
Cc: Shawn Guo, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
linux-arm-kernel, devicetree, linux-kernel
On Mon, Jul 07, 2025 at 06:33:31PM +0300, Ioana Ciornei wrote:
> Describe the two LX2160AQDS on-board RGMII PHYs on their respective MDIO
> buses behind the MDIO multiplexer.
>
> Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
> ---
Reviewed-by: Frank Li <Frank.Li@nxp.com>
> .../boot/dts/freescale/fsl-lx2160a-qds.dts | 20 +++++++++++++++++++
> 1 file changed, 20 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
> index 4d721197d837..2d01e20b47e7 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
> +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
> @@ -43,12 +43,22 @@ mdio@0 { /* On-board PHY #1 RGMI1*/
> reg = <0x00>;
> #address-cells = <1>;
> #size-cells = <0>;
> +
> + rgmii_phy1: ethernet-phy@1 {
> + compatible = "ethernet-phy-id001c.c916";
> + reg = <0x1>;
> + };
> };
>
> mdio@8 { /* On-board PHY #2 RGMI2*/
> reg = <0x8>;
> #address-cells = <1>;
> #size-cells = <0>;
> +
> + rgmii_phy2: ethernet-phy@2 {
> + compatible = "ethernet-phy-id001c.c916";
> + reg = <0x2>;
> + };
> };
>
> mdio@18 { /* Slot #1 */
> @@ -169,6 +179,16 @@ &crypto {
> status = "okay";
> };
>
> +&dpmac17 {
> + phy-handle = <&rgmii_phy1>;
> + phy-connection-type = "rgmii-id";
> +};
> +
> +&dpmac18 {
> + phy-handle = <&rgmii_phy2>;
> + phy-connection-type = "rgmii-id";
> +};
> +
> &dspi0 {
> status = "okay";
>
> --
> 2.25.1
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] arm64: dts: lx2160a-qds: add the two on-board RGMII PHYs
2025-07-07 15:33 [PATCH] arm64: dts: lx2160a-qds: add the two on-board RGMII PHYs Ioana Ciornei
2025-07-08 18:05 ` Frank Li
@ 2025-07-11 7:34 ` Shawn Guo
1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2025-07-11 7:34 UTC (permalink / raw)
To: Ioana Ciornei
Cc: Shawn Guo, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
linux-arm-kernel, devicetree, linux-kernel
On Mon, Jul 07, 2025 at 06:33:31PM +0300, Ioana Ciornei wrote:
> Describe the two LX2160AQDS on-board RGMII PHYs on their respective MDIO
> buses behind the MDIO multiplexer.
>
> Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Applied, thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-07-11 7:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-07 15:33 [PATCH] arm64: dts: lx2160a-qds: add the two on-board RGMII PHYs Ioana Ciornei
2025-07-08 18:05 ` Frank Li
2025-07-11 7:34 ` Shawn Guo
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).