Skip to content

Commit 8e9b1c9

Browse files
geertupalmer-dabbelt
authored andcommitted
riscv: dts: sifive: Group tuples in register properties
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 <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent cc79be0 commit 8e9b1c9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

arch/riscv/boot/dts/sifive/fu540-c000.dtsi

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@
196196
};
197197
qspi0: spi@10040000 {
198198
compatible = "sifive,fu540-c000-spi", "sifive,spi0";
199-
reg = <0x0 0x10040000 0x0 0x1000
200-
0x0 0x20000000 0x0 0x10000000>;
199+
reg = <0x0 0x10040000 0x0 0x1000>,
200+
<0x0 0x20000000 0x0 0x10000000>;
201201
interrupt-parent = <&plic0>;
202202
interrupts = <51>;
203203
clocks = <&prci PRCI_CLK_TLCLK>;
@@ -207,8 +207,8 @@
207207
};
208208
qspi1: spi@10041000 {
209209
compatible = "sifive,fu540-c000-spi", "sifive,spi0";
210-
reg = <0x0 0x10041000 0x0 0x1000
211-
0x0 0x30000000 0x0 0x10000000>;
210+
reg = <0x0 0x10041000 0x0 0x1000>,
211+
<0x0 0x30000000 0x0 0x10000000>;
212212
interrupt-parent = <&plic0>;
213213
interrupts = <52>;
214214
clocks = <&prci PRCI_CLK_TLCLK>;
@@ -230,8 +230,8 @@
230230
compatible = "sifive,fu540-c000-gem";
231231
interrupt-parent = <&plic0>;
232232
interrupts = <53>;
233-
reg = <0x0 0x10090000 0x0 0x2000
234-
0x0 0x100a0000 0x0 0x1000>;
233+
reg = <0x0 0x10090000 0x0 0x2000>,
234+
<0x0 0x100a0000 0x0 0x1000>;
235235
local-mac-address = [00 00 00 00 00 00];
236236
clock-names = "pclk", "hclk";
237237
clocks = <&prci PRCI_CLK_GEMGXLPLL>,

0 commit comments

Comments
 (0)