diff mbox series

[v12,4/4] arm64: dts: sparx5: Add Sparx5 serdes driver node

Message ID 20210107091924.1569575-5-steen.hegelund@microchip.com
State Superseded
Headers show
Series None | expand

Commit Message

Steen Hegelund Jan. 7, 2021, 9:19 a.m. UTC
Add Sparx5 serdes driver node, and enable it generally for all
reference boards.

Signed-off-by: Lars Povlsen <lars.povlsen@microchip.com>
Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
---
 arch/arm64/boot/dts/microchip/sparx5.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Alexandre Belloni Jan. 14, 2021, 11:03 a.m. UTC | #1
On 07/01/2021 10:19:24+0100, Steen Hegelund wrote:
> Add Sparx5 serdes driver node, and enable it generally for all

> reference boards.

> 

> Signed-off-by: Lars Povlsen <lars.povlsen@microchip.com>

> Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com>

> Reviewed-by: Andrew Lunn <andrew@lunn.ch>

Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>


> ---

>  arch/arm64/boot/dts/microchip/sparx5.dtsi | 8 ++++++++

>  1 file changed, 8 insertions(+)

> 

> diff --git a/arch/arm64/boot/dts/microchip/sparx5.dtsi b/arch/arm64/boot/dts/microchip/sparx5.dtsi

> index 380281f312d8..29c606194bc7 100644

> --- a/arch/arm64/boot/dts/microchip/sparx5.dtsi

> +++ b/arch/arm64/boot/dts/microchip/sparx5.dtsi

> @@ -383,5 +383,13 @@ tmon0: tmon@610508110 {

>  			#thermal-sensor-cells = <0>;

>  			clocks = <&ahb_clk>;

>  		};

> +

> +		serdes: serdes@10808000 {

> +			compatible = "microchip,sparx5-serdes";

> +			#phy-cells = <1>;

> +			clocks = <&sys_clk>;

> +			reg = <0x6 0x10808000 0x5d0000>;

> +		};

> +

>  	};

>  };

> -- 

> 2.29.2

> 


-- 
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/microchip/sparx5.dtsi b/arch/arm64/boot/dts/microchip/sparx5.dtsi
index 380281f312d8..29c606194bc7 100644
--- a/arch/arm64/boot/dts/microchip/sparx5.dtsi
+++ b/arch/arm64/boot/dts/microchip/sparx5.dtsi
@@ -383,5 +383,13 @@  tmon0: tmon@610508110 {
 			#thermal-sensor-cells = <0>;
 			clocks = <&ahb_clk>;
 		};
+
+		serdes: serdes@10808000 {
+			compatible = "microchip,sparx5-serdes";
+			#phy-cells = <1>;
+			clocks = <&sys_clk>;
+			reg = <0x6 0x10808000 0x5d0000>;
+		};
+
 	};
 };