Skip to content

Commit f036064

Browse files
krzkConchuOD
authored andcommitted
riscv: dts: starfive: replace underscores in node names
Underscores should not be used in node names (dtc with W=2 warns about them), so replace them with hyphens. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
1 parent 6613476 commit f036064

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

arch/riscv/boot/dts/starfive/jh7100.dtsi

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,14 @@
9696
thermal-sensors = <&sfctemp>;
9797

9898
trips {
99-
cpu_alert0 {
99+
cpu-alert0 {
100100
/* milliCelsius */
101101
temperature = <75000>;
102102
hysteresis = <2000>;
103103
type = "passive";
104104
};
105105

106-
cpu_crit {
106+
cpu-crit {
107107
/* milliCelsius */
108108
temperature = <90000>;
109109
hysteresis = <2000>;
@@ -113,28 +113,28 @@
113113
};
114114
};
115115

116-
osc_sys: osc_sys {
116+
osc_sys: osc-sys {
117117
compatible = "fixed-clock";
118118
#clock-cells = <0>;
119119
/* This value must be overridden by the board */
120120
clock-frequency = <0>;
121121
};
122122

123-
osc_aud: osc_aud {
123+
osc_aud: osc-aud {
124124
compatible = "fixed-clock";
125125
#clock-cells = <0>;
126126
/* This value must be overridden by the board */
127127
clock-frequency = <0>;
128128
};
129129

130-
gmac_rmii_ref: gmac_rmii_ref {
130+
gmac_rmii_ref: gmac-rmii-ref {
131131
compatible = "fixed-clock";
132132
#clock-cells = <0>;
133133
/* Should be overridden by the board when needed */
134134
clock-frequency = <0>;
135135
};
136136

137-
gmac_gr_mii_rxclk: gmac_gr_mii_rxclk {
137+
gmac_gr_mii_rxclk: gmac-gr-mii-rxclk {
138138
compatible = "fixed-clock";
139139
#clock-cells = <0>;
140140
/* Should be overridden by the board when needed */

arch/riscv/boot/dts/starfive/jh7110.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,14 +237,14 @@
237237
};
238238

239239
trips {
240-
cpu_alert0: cpu_alert0 {
240+
cpu_alert0: cpu-alert0 {
241241
/* milliCelsius */
242242
temperature = <85000>;
243243
hysteresis = <2000>;
244244
type = "passive";
245245
};
246246

247-
cpu_crit {
247+
cpu-crit {
248248
/* milliCelsius */
249249
temperature = <100000>;
250250
hysteresis = <2000>;

0 commit comments

Comments
 (0)