Skip to content

Commit 4625068

Browse files
kylebonnicinashif
authored andcommitted
devicetree: format SoC-level files in dts/arm
Applying dts-linter results for SoC-level files in dts/arm Signed-off-by: Kyle Micallef Bonnici <[email protected]>
1 parent e85a797 commit 4625068

File tree

5 files changed

+24
-17
lines changed

5 files changed

+24
-17
lines changed

dts/arm/armv6-m.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
interrupt-parent = <&nvic>;
1111
ranges;
1212

13-
nvic: interrupt-controller@e000e100 {
13+
nvic: interrupt-controller@e000e100 {
1414
#address-cells = <1>;
1515
compatible = "arm,v6m-nvic";
1616
reg = <0xe000e100 0xc00>;

dts/arm/armv7-m.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
interrupt-parent = <&nvic>;
1111
ranges;
1212

13-
nvic: interrupt-controller@e000e100 {
13+
nvic: interrupt-controller@e000e100 {
1414
#address-cells = <1>;
1515
compatible = "arm,v7m-nvic";
1616
reg = <0xe000e100 0xc00>;

dts/arm/armv8-m.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
interrupt-parent = <&nvic>;
1111
ranges;
1212

13-
nvic: interrupt-controller@e000e100 {
13+
nvic: interrupt-controller@e000e100 {
1414
#address-cells = <1>;
1515
compatible = "arm,v8m-nvic";
1616
reg = <0xe000e100 0xc00>;

dts/arm/armv8.1-m.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
interrupt-parent = <&nvic>;
1515
ranges;
1616

17-
nvic: interrupt-controller@e000e100 {
17+
nvic: interrupt-controller@e000e100 {
1818
#address-cells = <1>;
1919
compatible = "arm,v8.1m-nvic";
2020
reg = <0xe000e100 0xc00>;

dts/arm/cortex_r8_virt.dtsi

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,51 +13,58 @@
1313
cpus {
1414
#address-cells = <1>;
1515
#size-cells = <0>;
16+
1617
cpu@0 {
1718
device_type = "cpu";
1819
compatible = "arm,cortex-r8f";
1920
reg = <0>;
2021
};
2122
};
23+
2224
soc {
2325
#address-cells = <1>;
2426
#size-cells = <1>;
2527
compatible = "simple-bus";
2628
ranges;
27-
interrupt-parent = < &gic >;
29+
interrupt-parent = <&gic>;
30+
2831
flash0: flash@c0000000 {
2932
compatible = "soc-nv-flash";
30-
reg = < 0xc0000000 0x2000000 >;
33+
reg = <0xc0000000 0x2000000>;
3134
};
35+
3236
sram0: memory@0 {
3337
compatible = "mmio-sram";
34-
reg = < 0x0 0x4000000 >;
38+
reg = <0x0 0x4000000>;
3539
};
40+
3641
uart0: uart@ff000000 {
3742
compatible = "xlnx,xuartps";
38-
reg = < 0xff000000 0x4c >;
43+
reg = <0xff000000 0x4c>;
3944
status = "disabled";
4045
interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL
41-
IRQ_DEFAULT_PRIORITY>;
46+
IRQ_DEFAULT_PRIORITY>;
4247
interrupt-names = "irq_0";
4348
};
49+
4450
ttc0: timer@ff110000 {
4551
compatible = "xlnx,ttcps";
4652
status = "okay";
47-
interrupts = < 0x0 0x24 0x2 0xa0 >,
48-
< 0x0 0x25 0x2 0xa0 >,
49-
< 0x0 0x26 0x2 0xa0 >;
53+
interrupts = <0x0 0x24 0x2 0xa0>,
54+
<0x0 0x25 0x2 0xa0>,
55+
<0x0 0x26 0x2 0xa0>;
5056
interrupt-names = "irq_0", "irq_1", "irq_2";
51-
reg = < 0xff110000 0x1000 >;
52-
clock-frequency = < 5000000 >;
57+
reg = <0xff110000 0x1000>;
58+
clock-frequency = <5000000>;
5359
};
60+
5461
gic: interrupt-controller@f9000000 {
5562
compatible = "arm,gic-v1", "arm,gic";
56-
reg = < 0xf9000000 0x1000 >, < 0xf9001000 0x100 >;
63+
reg = <0xf9000000 0x1000>, <0xf9001000 0x100>;
5764
interrupt-controller;
58-
#interrupt-cells = < 0x4 >;
65+
#interrupt-cells = <0x4>;
5966
status = "okay";
60-
phandle = < 0x1 >;
67+
phandle = <0x1>;
6168
};
6269
};
6370
};

0 commit comments

Comments
 (0)