diff mbox

[2/2] arm64: dts: stratix10: Add SPI clocks for Stratix10

Message ID 1527617612-2205-2-git-send-email-thor.thayer@linux.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Thor Thayer May 29, 2018, 6:13 p.m. UTC
From: Thor Thayer <thor.thayer@linux.intel.com>

Add the SPI clocks to the Stratix10 device tree.

Signed-off-by: Thor Thayer <thor.thayer@linux.intel.com>
---
 arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Thor Thayer June 21, 2018, 6:25 p.m. UTC | #1
Hi Dinh,

On 05/29/2018 01:13 PM, thor.thayer@linux.intel.com wrote:
> From: Thor Thayer <thor.thayer@linux.intel.com>
> 
> Add the SPI clocks to the Stratix10 device tree.
> 
> Signed-off-by: Thor Thayer <thor.thayer@linux.intel.com>
> ---
>   arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 4 ++++
>   1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
> index 47fa4b450324..34658f135daf 100644
> --- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
> +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
> @@ -316,6 +316,8 @@
>   			resets = <&rst SPIM0_RESET>;
>   			reg-io-width = <4>;
>   			num-cs = <4>;
> +			clocks = <&clkmgr STRATIX10_L4_MAIN_CLK>,
> +				 <&clkmgr STRATIX10_SPI_M_CLK>;
>   			status = "disabled";
>   		};
>   
> @@ -328,6 +330,8 @@
>   			resets = <&rst SPIM1_RESET>;
>   			reg-io-width = <4>;
>   			num-cs = <4>;
> +			clocks = <&clkmgr STRATIX10_L4_MAIN_CLK>,
> +				 <&clkmgr STRATIX10_SPI_M_CLK>;
>   			status = "disabled";
>   		};
>   
> 
Any comments on this patch?
diff mbox

Patch

diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
index 47fa4b450324..34658f135daf 100644
--- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
+++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
@@ -316,6 +316,8 @@ 
 			resets = <&rst SPIM0_RESET>;
 			reg-io-width = <4>;
 			num-cs = <4>;
+			clocks = <&clkmgr STRATIX10_L4_MAIN_CLK>,
+				 <&clkmgr STRATIX10_SPI_M_CLK>;
 			status = "disabled";
 		};
 
@@ -328,6 +330,8 @@ 
 			resets = <&rst SPIM1_RESET>;
 			reg-io-width = <4>;
 			num-cs = <4>;
+			clocks = <&clkmgr STRATIX10_L4_MAIN_CLK>,
+				 <&clkmgr STRATIX10_SPI_M_CLK>;
 			status = "disabled";
 		};