Skip to content

Commit 4f8575a

Browse files
committed
devicetree: format SoC-level files in dts/riscv
1 parent 560228a commit 4f8575a

File tree

3 files changed

+188
-189
lines changed

3 files changed

+188
-189
lines changed

dts/riscv/neorv32.dtsi

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -34,23 +34,23 @@
3434
#address-cells = <1>;
3535
interrupt-map-mask = <0x0 0xffffffff>;
3636
interrupt-map = <
37-
0 0 &intc 0 16
38-
0 1 &intc 0 17
39-
0 2 &intc 0 18
40-
0 3 &intc 0 19
41-
0 4 &intc 0 20
42-
0 5 &intc 0 21
43-
0 6 &intc 0 22
44-
0 7 &intc 0 23
45-
0 8 &intc 0 24
46-
0 9 &intc 0 25
47-
0 10 &intc 0 26
48-
0 11 &intc 0 27
49-
0 12 &intc 0 28
50-
0 13 &intc 0 29
51-
0 14 &intc 0 30
52-
0 15 &intc 0 31
53-
>;
37+
0 0 &intc 0 16
38+
0 1 &intc 0 17
39+
0 2 &intc 0 18
40+
0 3 &intc 0 19
41+
0 4 &intc 0 20
42+
0 5 &intc 0 21
43+
0 6 &intc 0 22
44+
0 7 &intc 0 23
45+
0 8 &intc 0 24
46+
0 9 &intc 0 25
47+
0 10 &intc 0 26
48+
0 11 &intc 0 27
49+
0 12 &intc 0 28
50+
0 13 &intc 0 29
51+
0 14 &intc 0 30
52+
0 15 &intc 0 31
53+
>;
5454
#interrupt-cells = <1>;
5555
};
5656
};

dts/riscv/renode_riscv32_virt.dtsi

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,24 +80,24 @@
8080
};
8181

8282
uart0: uart@10000000 {
83-
interrupts = < 0x0a 1 >;
84-
interrupt-parent = < &plic0 >;
83+
interrupts = <0x0a 1>;
84+
interrupt-parent = <&plic0>;
8585
clock-frequency = <150000000>;
8686
current-speed = <115200>;
87-
reg = < 0x10000000 0x100 >;
87+
reg = <0x10000000 0x100>;
8888
compatible = "ns16550";
89-
reg-shift = < 0 >;
89+
reg-shift = <0>;
9090
status = "disabled";
9191
};
9292

9393
uart1: uart@10000100 {
94-
interrupts = < 0x0a 1 >;
95-
interrupt-parent = < &plic1 >;
94+
interrupts = <0x0a 1>;
95+
interrupt-parent = <&plic1>;
9696
clock-frequency = <150000000>;
9797
current-speed = <115200>;
98-
reg = < 0x10000100 0x100 >;
98+
reg = <0x10000100 0x100>;
9999
compatible = "ns16550";
100-
reg-shift = < 0 >;
100+
reg-shift = <0>;
101101
status = "disabled";
102102
};
103103
};

0 commit comments

Comments
 (0)