[PATCH] arm64: zynqmp: Replace '-' by '_' in fixed clock nodes

Michal Simek michal.simek at amd.com
Mon Jan 15 10:29:13 CET 2024



On 1/8/24 10:24, Michal Simek wrote:
> Using '_' in node name is not recommended that's why convert them to use
> '-' instead.
> 
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
> 
>   arch/arm/dts/zynqmp-dlc21-revA.dts         |  4 ++--
>   arch/arm/dts/zynqmp-e-a2197-00-revA.dts    |  2 +-
>   arch/arm/dts/zynqmp-mini-emmc0.dts         |  2 +-
>   arch/arm/dts/zynqmp-mini-emmc1.dts         |  2 +-
>   arch/arm/dts/zynqmp-mini-qspi.dts          |  2 +-
>   arch/arm/dts/zynqmp-p-a2197-00-revA.dts    |  4 ++--
>   arch/arm/dts/zynqmp-sc-revB.dts            |  2 +-
>   arch/arm/dts/zynqmp-sck-kr-g-revA.dtso     | 12 ++++++------
>   arch/arm/dts/zynqmp-vp-x-a2785-00-revA.dts |  6 +++---
>   arch/arm/dts/zynqmp-vpk120-revA.dts        |  6 +++---
>   arch/arm/dts/zynqmp-zcu670-revA.dts        |  2 +-
>   arch/arm/dts/zynqmp-zcu670-revB.dts        |  2 +-
>   12 files changed, 23 insertions(+), 23 deletions(-)
> 
> diff --git a/arch/arm/dts/zynqmp-dlc21-revA.dts b/arch/arm/dts/zynqmp-dlc21-revA.dts
> index f737004d7943..9dabee3f9985 100644
> --- a/arch/arm/dts/zynqmp-dlc21-revA.dts
> +++ b/arch/arm/dts/zynqmp-dlc21-revA.dts
> @@ -43,13 +43,13 @@
>   		reg = <0 0 0 0x80000000>, <0x8 0 0x3 0x80000000>;
>   	};
>   
> -	si5332_1: si5332_1 { /* clk0_sgmii - u142 */
> +	si5332_1: si5332-1 { /* clk0_sgmii - u142 */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
>   		clock-frequency = <125000000>;
>   	};
>   
> -	si5332_2: si5332_2 { /* clk1_usb - u142 */
> +	si5332_2: si5332-2 { /* clk1_usb - u142 */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
>   		clock-frequency = <26000000>;
> diff --git a/arch/arm/dts/zynqmp-e-a2197-00-revA.dts b/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
> index cc57c2a1b0be..f1b0a4aa65dd 100644
> --- a/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
> +++ b/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
> @@ -43,7 +43,7 @@
>   		reg = <0x0 0x0 0x0 0x80000000>;
>   	};
>   
> -	si5332_1: si5332_1 { /* u142 - GEM0 */
> +	si5332_1: si5332-1 { /* u142 - GEM0 */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
>   		clock-frequency = <125000000>;
> diff --git a/arch/arm/dts/zynqmp-mini-emmc0.dts b/arch/arm/dts/zynqmp-mini-emmc0.dts
> index 02e80bd85e1a..7823c58cb272 100644
> --- a/arch/arm/dts/zynqmp-mini-emmc0.dts
> +++ b/arch/arm/dts/zynqmp-mini-emmc0.dts
> @@ -35,7 +35,7 @@
>   		bootph-all;
>   	};
>   
> -	clk_xin: clk_xin {
> +	clk_xin: clk-xin {
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
>   		clock-frequency = <200000000>;
> diff --git a/arch/arm/dts/zynqmp-mini-emmc1.dts b/arch/arm/dts/zynqmp-mini-emmc1.dts
> index ce1cdb207538..2f6ba95073ab 100644
> --- a/arch/arm/dts/zynqmp-mini-emmc1.dts
> +++ b/arch/arm/dts/zynqmp-mini-emmc1.dts
> @@ -35,7 +35,7 @@
>   		bootph-all;
>   	};
>   
> -	clk_xin: clk_xin {
> +	clk_xin: clk-xin {
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
>   		clock-frequency = <200000000>;
> diff --git a/arch/arm/dts/zynqmp-mini-qspi.dts b/arch/arm/dts/zynqmp-mini-qspi.dts
> index ee8be5360004..e35317f3e2d4 100644
> --- a/arch/arm/dts/zynqmp-mini-qspi.dts
> +++ b/arch/arm/dts/zynqmp-mini-qspi.dts
> @@ -53,7 +53,7 @@
>   			#size-cells = <0>;
>   		};
>   
> -		misc_clk: misc_clk {
> +		misc_clk: misc-clk {
>   			compatible = "fixed-clock";
>   			#clock-cells = <0>;
>   			clock-frequency = <125000000>;
> diff --git a/arch/arm/dts/zynqmp-p-a2197-00-revA.dts b/arch/arm/dts/zynqmp-p-a2197-00-revA.dts
> index 9acccad40e77..5a60b86a574e 100644
> --- a/arch/arm/dts/zynqmp-p-a2197-00-revA.dts
> +++ b/arch/arm/dts/zynqmp-p-a2197-00-revA.dts
> @@ -43,13 +43,13 @@
>   		reg = <0x0 0x0 0x0 0x80000000>;
>   	};
>   
> -	si5332_1: si5332_1 { /* clk0_sgmii - u142 */
> +	si5332_1: si5332-1 { /* clk0_sgmii - u142 */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
>   		clock-frequency = <125000000>;
>   	};
>   
> -	si5332_2: si5332_2 { /* clk1_usb - u142 */
> +	si5332_2: si5332-2 { /* clk1_usb - u142 */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
>   		clock-frequency = <27000000>;
> diff --git a/arch/arm/dts/zynqmp-sc-revB.dts b/arch/arm/dts/zynqmp-sc-revB.dts
> index f7349fdc3b4c..8517bdad6f47 100644
> --- a/arch/arm/dts/zynqmp-sc-revB.dts
> +++ b/arch/arm/dts/zynqmp-sc-revB.dts
> @@ -71,7 +71,7 @@
>   		};
>   	};
>   
> -	si5332_2: si5332_2 { /* u42 */
> +	si5332_2: si5332-2 { /* u42 */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
>   		clock-frequency = <26000000>;
> diff --git a/arch/arm/dts/zynqmp-sck-kr-g-revA.dtso b/arch/arm/dts/zynqmp-sck-kr-g-revA.dtso
> index 57cd9ba13e78..7717abf7bd8a 100644
> --- a/arch/arm/dts/zynqmp-sck-kr-g-revA.dtso
> +++ b/arch/arm/dts/zynqmp-sck-kr-g-revA.dtso
> @@ -25,37 +25,37 @@
>   		io-channels = <&u14 0>, <&u14 1>, <&u14 2>;
>   	};
>   
> -	si5332_0: si5332_0 { /* u17 - GEM0/1 */
> +	si5332_0: si5332-0 { /* u17 - GEM0/1 */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
>   		clock-frequency = <125000000>;
>   	};
>   
> -	si5332_1: si5332_1 { /* u17 - DP */
> +	si5332_1: si5332-1 { /* u17 - DP */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
>   		clock-frequency = <27000000>;
>   	};
>   
> -	si5332_2: si5332_2 { /* u17 - USB */
> +	si5332_2: si5332-2 { /* u17 - USB */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
>   		clock-frequency = <26000000>;
>   	};
>   
> -	si5332_3: si5332_3 { /* u17 - SFP+ */
> +	si5332_3: si5332-3 { /* u17 - SFP+ */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
>   		clock-frequency = <156250000>;
>   	};
>   
> -	si5332_4: si5332_4 { /* u17 - GEM2 */
> +	si5332_4: si5332-4 { /* u17 - GEM2 */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
>   		clock-frequency = <25000000>;
>   	};
>   
> -	si5332_5: si5332_5 { /* u17 - GEM3 */
> +	si5332_5: si5332-5 { /* u17 - GEM3 */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
>   		clock-frequency = <25000000>;
> diff --git a/arch/arm/dts/zynqmp-vp-x-a2785-00-revA.dts b/arch/arm/dts/zynqmp-vp-x-a2785-00-revA.dts
> index 088545c87cee..2a3bbe170472 100644
> --- a/arch/arm/dts/zynqmp-vp-x-a2785-00-revA.dts
> +++ b/arch/arm/dts/zynqmp-vp-x-a2785-00-revA.dts
> @@ -65,19 +65,19 @@
>   		};
>   	};
>   
> -	si5332_0: si5332_0 { /* ps_ref_clk - u142 */
> +	si5332_0: si5332-0 { /* ps_ref_clk - u142 */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
>   		clock-frequency = <33333333>;
>   	};
>   
> -	si5332_1: si5332_1 { /* clk0_sgmii - u142 */
> +	si5332_1: si5332-1 { /* clk0_sgmii - u142 */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
>   		clock-frequency = <33333333>; /* FIXME */
>   	};
>   
> -	si5332_2: si5332_2 { /* clk1_usb - u142 */
> +	si5332_2: si5332-2 { /* clk1_usb - u142 */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
>   		clock-frequency = <27000000>;
> diff --git a/arch/arm/dts/zynqmp-vpk120-revA.dts b/arch/arm/dts/zynqmp-vpk120-revA.dts
> index fa6046eb95c4..e0e4f1b13ada 100644
> --- a/arch/arm/dts/zynqmp-vpk120-revA.dts
> +++ b/arch/arm/dts/zynqmp-vpk120-revA.dts
> @@ -65,19 +65,19 @@
>   		};
>   	};
>   
> -	si5332_0: si5332_0 { /* ps_ref_clk */
> +	si5332_0: si5332-0 { /* ps_ref_clk */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
>   		clock-frequency = <33333333>;
>   	};
>   
> -	si5332_1: si5332_1 { /* clk0_sgmii */
> +	si5332_1: si5332-1 { /* clk0_sgmii */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
>   		clock-frequency = <33333333>; /* FIXME */
>   	};
>   
> -	si5332_2: si5332_2 { /* clk1_usb */
> +	si5332_2: si5332-2 { /* clk1_usb */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
>   		clock-frequency = <27000000>;
> diff --git a/arch/arm/dts/zynqmp-zcu670-revA.dts b/arch/arm/dts/zynqmp-zcu670-revA.dts
> index 76410de1edca..7f70904f44e7 100644
> --- a/arch/arm/dts/zynqmp-zcu670-revA.dts
> +++ b/arch/arm/dts/zynqmp-zcu670-revA.dts
> @@ -131,7 +131,7 @@
>   		clock-frequency = <48000000>;
>   	};
>   
> -	si5381_6: si5381_6 { /* refclk_usb3 - u43 */
> +	si5381_6: si5381-6 { /* refclk_usb3 - u43 */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
>   		clock-frequency = <26000000>;
> diff --git a/arch/arm/dts/zynqmp-zcu670-revB.dts b/arch/arm/dts/zynqmp-zcu670-revB.dts
> index c2dd9f696bf0..0adb2062aef1 100644
> --- a/arch/arm/dts/zynqmp-zcu670-revB.dts
> +++ b/arch/arm/dts/zynqmp-zcu670-revB.dts
> @@ -131,7 +131,7 @@
>   		clock-frequency = <48000000>;
>   	};
>   
> -	si5381_6: si5381_6 { /* refclk_usb3 - u43 */
> +	si5381_6: si5381-6 { /* refclk_usb3 - u43 */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
>   		clock-frequency = <26000000>;

Applied.
M


More information about the U-Boot mailing list