[PATCH 1/2] arm64: dts: arm: Use hyphen in node names

Vincenzo Frascino vincenzo.frascino at arm.com
Wed Dec 24 03:58:44 PST 2025



On 23/12/2025 15:24, Krzysztof Kozlowski wrote:
> DTS coding style prefers hyphens instead of underscores in the node
> names.  Change should be safe, because node names are not considered an
> ABI.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at oss.qualcomm.com>
>

Acked-by: Vincenzo Frascino <vincenzo.frascino at arm.com>

> ---
> 
> Patches done with sed, verified with comparing unflattened DTB and
> dtx_diff.
> ---
>  arch/arm64/boot/dts/arm/morello-fvp.dts | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/arm/morello-fvp.dts b/arch/arm64/boot/dts/arm/morello-fvp.dts
> index 2072c0b72325..4a3f217555f7 100644
> --- a/arch/arm64/boot/dts/arm/morello-fvp.dts
> +++ b/arch/arm64/boot/dts/arm/morello-fvp.dts
> @@ -25,25 +25,25 @@ bp_refclock24mhz: clock-24000000 {
>  		clock-output-names = "bp:clock24mhz";
>  	};
>  
> -	block_0: virtio_block at 1c170000 {
> +	block_0: virtio-block at 1c170000 {
>  		compatible = "virtio,mmio";
>  		reg = <0x0 0x1c170000 0x0 0x200>;
>  		interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
>  	};
>  
> -	net_0: virtio_net at 1c180000 {
> +	net_0: virtio-net at 1c180000 {
>  		compatible = "virtio,mmio";
>  		reg = <0x0 0x1c180000 0x0 0x200>;
>  		interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
>  	};
>  
> -	rng_0: virtio_rng at 1c190000 {
> +	rng_0: virtio-rng at 1c190000 {
>  		compatible = "virtio,mmio";
>  		reg = <0x0 0x1c190000 0x0 0x200>;
>  		interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
>  	};
>  
> -	p9_0: virtio_p9 at 1c1a0000 {
> +	p9_0: virtio-p9 at 1c1a0000 {
>  		compatible = "virtio,mmio";
>  		reg = <0x0 0x1c1a0000 0x0 0x200>;
>  		interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;

-- 
Regards,
Vincenzo




More information about the linux-arm-kernel mailing list