Skip to content

Commit c52ced1

Browse files
kylebonnicinashif
authored andcommitted
devicetree: format files in dts/riscv/starfive
Applying dts-linter results for files in dts/riscv/starfive Signed-off-by: Kyle Micallef Bonnici <[email protected]>
1 parent 8019bce commit c52ced1

File tree

2 files changed

+23
-15
lines changed

2 files changed

+23
-15
lines changed

dts/riscv/starfive/jh7110-visionfive-v2.dtsi

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
reg = <0>;
2626
riscv,isa = "rv64imac_zicsr_zifencei";
2727
status = "okay";
28+
2829
cpu0_intc: interrupt-controller {
2930
compatible = "riscv,cpu-intc";
3031
interrupt-controller;
@@ -50,6 +51,7 @@
5051
reg = <0x1>;
5152
riscv,isa = "rv64imafdcg";
5253
tlb-spilt;
54+
5355
cpu1_intc: interrupt-controller {
5456
compatible = "riscv,cpu-intc";
5557
#interrupt-cells = <1>;
@@ -75,6 +77,7 @@
7577
reg = <0x2>;
7678
riscv,isa = "rv64imafdcg";
7779
tlb-split;
80+
7881
cpu2_intc: interrupt-controller {
7982
compatible = "riscv,cpu-intc";
8083
#interrupt-cells = <1>;
@@ -100,6 +103,7 @@
100103
reg = <0x3>;
101104
riscv,isa = "rv64imafdcg";
102105
tlb-split;
106+
103107
cpu3_intc: interrupt-controller {
104108
compatible = "riscv,cpu-intc";
105109
#interrupt-cells = <1>;
@@ -125,6 +129,7 @@
125129
reg = <0x4>;
126130
riscv,isa = "rv64imafdcg";
127131
tlb-split;
132+
128133
cpu4_intc: interrupt-controller {
129134
compatible = "riscv,cpu-intc";
130135
#interrupt-cells = <1>;
@@ -148,20 +153,20 @@
148153
clint: clint@2000000 {
149154
compatible = "sifive,clint0";
150155
interrupts-extended = <&cpu0_intc 3 &cpu0_intc 7
151-
&cpu1_intc 3 &cpu1_intc 7
152-
&cpu2_intc 3 &cpu2_intc 7
153-
&cpu3_intc 3 &cpu3_intc 7
154-
&cpu4_intc 3 &cpu4_intc 7>;
156+
&cpu1_intc 3 &cpu1_intc 7
157+
&cpu2_intc 3 &cpu2_intc 7
158+
&cpu3_intc 3 &cpu3_intc 7
159+
&cpu4_intc 3 &cpu4_intc 7>;
155160
reg = <0x0 0x2000000 0x0 0x10000>;
156161
};
157162

158163
mtimer: timer@200bff8 {
159164
compatible = "riscv,machine-timer";
160165
interrupts-extended = <&cpu0_intc 7
161-
&cpu1_intc 7
162-
&cpu2_intc 7
163-
&cpu3_intc 7
164-
&cpu4_intc 7>;
166+
&cpu1_intc 7
167+
&cpu2_intc 7
168+
&cpu3_intc 7
169+
&cpu4_intc 7>;
165170
reg = <0x0 0x200bff8 0x0 0x8 0x0 0x2004000 0x0 0x8>;
166171
reg-names = "mtime", "mtimecmp";
167172
};
@@ -184,10 +189,10 @@
184189
#interrupt-cells = <2>;
185190
interrupt-controller;
186191
interrupts-extended = <&cpu0_intc 11>,
187-
<&cpu1_intc 11>, <&cpu1_intc 9>,
188-
<&cpu2_intc 11>, <&cpu2_intc 9>,
189-
<&cpu3_intc 11>, <&cpu3_intc 9>,
190-
<&cpu4_intc 11>, <&cpu4_intc 9>;
192+
<&cpu1_intc 11>, <&cpu1_intc 9>,
193+
<&cpu2_intc 11>, <&cpu2_intc 9>,
194+
<&cpu3_intc 11>, <&cpu3_intc 9>,
195+
<&cpu4_intc 11>, <&cpu4_intc 9>;
191196
reg = <0x0 0x0c000000 0x0 0x04000000>;
192197
riscv,max-priority = <7>;
193198
riscv,ndev = <52>;

dts/riscv/starfive/starfive_jh7100_beagle_v.dtsi

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#address-cells = <1>;
1818
#size-cells = <0>;
1919
compatible = "starfive,fu74-g000";
20+
2021
cpu@0 {
2122
clock-frequency = <0>;
2223
compatible = "starfive,rocket0", "riscv";
@@ -38,6 +39,7 @@
3839
starfive,itim = <&itim0>;
3940
status = "okay";
4041
tlb-split;
42+
4143
cpu0intctrl: interrupt-controller {
4244
compatible = "riscv,cpu-intc";
4345
#address-cells = <0>;
@@ -67,6 +69,7 @@
6769
starfive,itim = <&itim1>;
6870
status = "okay";
6971
tlb-split;
72+
7073
cpu1intctrl: interrupt-controller {
7174
compatible = "riscv,cpu-intc";
7275
#address-cells = <0>;
@@ -76,7 +79,7 @@
7679
};
7780
};
7881

79-
ram0:memory@80000000 {
82+
ram0: memory@80000000 {
8083
device_type = "memory";
8184
reg = <0x0 0x80000000 0x2 0x0>;
8285
};
@@ -134,7 +137,7 @@
134137
#interrupt-cells = <2>;
135138
interrupt-controller;
136139
interrupts-extended = <&cpu0intctrl 11 &cpu0intctrl 9
137-
&cpu1intctrl 11 &cpu1intctrl 9 >;
140+
&cpu1intctrl 11 &cpu1intctrl 9>;
138141
reg = <0x0 0x0c000000 0x0 0x04000000>;
139142
riscv,max-priority = <7>;
140143
riscv,ndev = <127>;
@@ -173,7 +176,7 @@
173176
reg = <0x0 0x11880000 0x0 0x10000>;
174177
reg-shift = <2>;
175178
clocks = <&hs_uartclk>, <&apb1clk>;
176-
clock-names = "baudclk","apb_pclk";
179+
clock-names = "baudclk", "apb_pclk";
177180
clock-frequency = <74250000>;
178181
current-speed = <115200>;
179182
status = "disabled";

0 commit comments

Comments
 (0)