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

From: Vincenzo Frascino
Date: Wed Dec 24 2025 - 06:59:06 EST




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@xxxxxxxxxxxxxxxx>
>

Acked-by: Vincenzo Frascino <vincenzo.frascino@xxxxxxx>

> ---
>
> 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@1c170000 {
> + block_0: virtio-block@1c170000 {
> compatible = "virtio,mmio";
> reg = <0x0 0x1c170000 0x0 0x200>;
> interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
> };
>
> - net_0: virtio_net@1c180000 {
> + net_0: virtio-net@1c180000 {
> compatible = "virtio,mmio";
> reg = <0x0 0x1c180000 0x0 0x200>;
> interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
> };
>
> - rng_0: virtio_rng@1c190000 {
> + rng_0: virtio-rng@1c190000 {
> compatible = "virtio,mmio";
> reg = <0x0 0x1c190000 0x0 0x200>;
> interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
> };
>
> - p9_0: virtio_p9@1c1a0000 {
> + p9_0: virtio-p9@1c1a0000 {
> compatible = "virtio,mmio";
> reg = <0x0 0x1c1a0000 0x0 0x200>;
> interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;

--
Regards,
Vincenzo