Skip to content

Commit 72b2921

Browse files
hsinyi527mbgg
authored andcommitted
arm64: dts: mt8173: fix unit name warnings
Fixing several unit name warnings: Warning (unit_address_vs_reg): /oscillator@0: node has a unit name, but no reg property Warning (unit_address_vs_reg): /oscillator@1: node has a unit name, but no reg property Warning (unit_address_vs_reg): /oscillator@2: node has a unit name, but no reg property Warning (unit_address_vs_reg): /thermal-zones/cpu_thermal/trips/trip-point@0: node has a unit name, but no reg property Warning (unit_address_vs_reg): /thermal-zones/cpu_thermal/trips/trip-point@1: node has a unit name, but no reg property Warning (unit_address_vs_reg): /thermal-zones/cpu_thermal/trips/cpu_crit@0: node has a unit name, but no reg property Warning (unit_address_vs_reg): /thermal-zones/cpu_thermal/cooling-maps/map@0: node has a unit name, but no reg property Warning (unit_address_vs_reg): /thermal-zones/cpu_thermal/cooling-maps/map@1: node has a unit name, but no reg property Warning (unit_address_vs_reg): /reserved-memory/vpu_dma_mem_region: node has a reg or ranges property, but no unit name Warning (simple_bus_reg): /soc/pinctrl@10005000: simple-bus unit address format error, expected "1000b000" Warning (simple_bus_reg): /soc/interrupt-controller@10220000: simple-bus unit address format error, expected "10221000" Signed-off-by: Hsin-Yi Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] [mb: drop fixes for '_' in property name] Signed-off-by: Matthias Brugger <[email protected]>
1 parent 0f5da28 commit 72b2921

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

arch/arm64/boot/dts/mediatek/mt8173.dtsi

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -246,21 +246,21 @@
246246
cpu_on = <0x84000003>;
247247
};
248248

249-
clk26m: oscillator@0 {
249+
clk26m: oscillator0 {
250250
compatible = "fixed-clock";
251251
#clock-cells = <0>;
252252
clock-frequency = <26000000>;
253253
clock-output-names = "clk26m";
254254
};
255255

256-
clk32k: oscillator@1 {
256+
clk32k: oscillator1 {
257257
compatible = "fixed-clock";
258258
#clock-cells = <0>;
259259
clock-frequency = <32000>;
260260
clock-output-names = "clk32k";
261261
};
262262

263-
cpum_ck: oscillator@2 {
263+
cpum_ck: oscillator2 {
264264
compatible = "fixed-clock";
265265
#clock-cells = <0>;
266266
clock-frequency = <0>;
@@ -276,33 +276,33 @@
276276
sustainable-power = <1500>; /* milliwatts */
277277

278278
trips {
279-
threshold: trip-point@0 {
279+
threshold: trip-point0 {
280280
temperature = <68000>;
281281
hysteresis = <2000>;
282282
type = "passive";
283283
};
284284

285-
target: trip-point@1 {
285+
target: trip-point1 {
286286
temperature = <85000>;
287287
hysteresis = <2000>;
288288
type = "passive";
289289
};
290290

291-
cpu_crit: cpu_crit@0 {
291+
cpu_crit: cpu_crit0 {
292292
temperature = <115000>;
293293
hysteresis = <2000>;
294294
type = "critical";
295295
};
296296
};
297297

298298
cooling-maps {
299-
map@0 {
299+
map0 {
300300
trip = <&target>;
301301
cooling-device = <&cpu0 0 0>,
302302
<&cpu1 0 0>;
303303
contribution = <3072>;
304304
};
305-
map@1 {
305+
map1 {
306306
trip = <&target>;
307307
cooling-device = <&cpu2 0 0>,
308308
<&cpu3 0 0>;
@@ -316,7 +316,7 @@
316316
#address-cells = <2>;
317317
#size-cells = <2>;
318318
ranges;
319-
vpu_dma_reserved: vpu_dma_mem_region {
319+
vpu_dma_reserved: vpu_dma_mem_region@b7000000 {
320320
compatible = "shared-dma-pool";
321321
reg = <0 0xb7000000 0 0x500000>;
322322
alignment = <0x1000>;
@@ -369,7 +369,7 @@
369369
reg = <0 0x10005000 0 0x1000>;
370370
};
371371

372-
pio: pinctrl@10005000 {
372+
pio: pinctrl@1000b000 {
373373
compatible = "mediatek,mt8173-pinctrl";
374374
reg = <0 0x1000b000 0 0x1000>;
375375
mediatek,pctl-regmap = <&syscfg_pctl_a>;
@@ -576,7 +576,7 @@
576576
status = "disabled";
577577
};
578578

579-
gic: interrupt-controller@10220000 {
579+
gic: interrupt-controller@10221000 {
580580
compatible = "arm,gic-400";
581581
#interrupt-cells = <3>;
582582
interrupt-parent = <&gic>;

0 commit comments

Comments
 (0)