riscv: dts: sifive: Group tuples in register properties
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 17 Dec 2021 12:49:30 +0000 (13:49 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Sun, 9 Jan 2022 18:11:36 +0000 (10:11 -0800)
To improve human readability and enable automatic validation, the tuples
in "reg" properties containing register blocks should be grouped using
angle brackets.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/boot/dts/sifive/fu540-c000.dtsi

index 0caca0c..e2efcf0 100644 (file)
                };
                qspi0: spi@10040000 {
                        compatible = "sifive,fu540-c000-spi", "sifive,spi0";
-                       reg = <0x0 0x10040000 0x0 0x1000
-                              0x0 0x20000000 0x0 0x10000000>;
+                       reg = <0x0 0x10040000 0x0 0x1000>,
+                             <0x0 0x20000000 0x0 0x10000000>;
                        interrupt-parent = <&plic0>;
                        interrupts = <51>;
                        clocks = <&prci PRCI_CLK_TLCLK>;
                };
                qspi1: spi@10041000 {
                        compatible = "sifive,fu540-c000-spi", "sifive,spi0";
-                       reg = <0x0 0x10041000 0x0 0x1000
-                              0x0 0x30000000 0x0 0x10000000>;
+                       reg = <0x0 0x10041000 0x0 0x1000>,
+                             <0x0 0x30000000 0x0 0x10000000>;
                        interrupt-parent = <&plic0>;
                        interrupts = <52>;
                        clocks = <&prci PRCI_CLK_TLCLK>;
                        compatible = "sifive,fu540-c000-gem";
                        interrupt-parent = <&plic0>;
                        interrupts = <53>;
-                       reg = <0x0 0x10090000 0x0 0x2000
-                              0x0 0x100a0000 0x0 0x1000>;
+                       reg = <0x0 0x10090000 0x0 0x2000>,
+                             <0x0 0x100a0000 0x0 0x1000>;
                        local-mac-address = [00 00 00 00 00 00];
                        clock-names = "pclk", "hclk";
                        clocks = <&prci PRCI_CLK_GEMGXLPLL>,