Skip to content

Commit a71f2ba

Browse files
Raffael Rostagnohenrikbrixandersen
authored andcommitted
dts: bindings: counter: esp32: Fix compatible name
Fix compatible name on device tree, to allow RTC timer based counter driver to be enabled. Disable rtc_timer node for all devices to keep standard. Signed-off-by: Raffael Rostagno <[email protected]>
1 parent 35909d7 commit a71f2ba

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

dts/riscv/espressif/esp32c2/esp32c2_common.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101

102102
rtc_timer: rtc_timer@60008004 {
103103
reg = <0x60008004 0xC>;
104-
compatible = "espressif,esp32-rtc_timer";
104+
compatible = "espressif,esp32-rtc-timer";
105105
clocks = <&clock ESP32_MODULE_MAX>;
106106
interrupts = <RTC_CORE_INTR_SOURCE IRQ_DEFAULT_PRIORITY 0>;
107107
interrupt-parent = <&intc>;

dts/riscv/espressif/esp32c3/esp32c3_common.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,11 @@
128128

129129
rtc_timer: rtc_timer@60008004 {
130130
reg = <0x60008004 0xC>;
131-
compatible = "espressif,esp32-rtc_timer";
131+
compatible = "espressif,esp32-rtc-timer";
132132
clocks = <&clock ESP32_MODULE_MAX>;
133133
interrupts = <RTC_CORE_INTR_SOURCE IRQ_DEFAULT_PRIORITY 0>;
134134
interrupt-parent = <&intc>;
135-
status = "okay";
135+
status = "disabled";
136136
};
137137

138138
flash: flash-controller@60002000 {

dts/riscv/espressif/esp32c6/esp32c6_common.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
};
174174

175175
rtc_timer: rtc_timer@600b0c00 {
176-
compatible = "espressif,esp32-rtc_timer";
176+
compatible = "espressif,esp32-rtc-timer";
177177
reg = <0x600B0C00 DT_SIZE_K(1)>;
178178
clocks = <&clock ESP32_MODULE_MAX>;
179179
interrupts = <LP_RTC_TIMER_INTR_SOURCE IRQ_DEFAULT_PRIORITY 0>;

dts/riscv/espressif/esp32h2/esp32h2_common.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
};
153153

154154
rtc_timer: rtc_timer@600b0c00 {
155-
compatible = "espressif,esp32-rtc_timer";
155+
compatible = "espressif,esp32-rtc-timer";
156156
reg = <0x600B0C00 DT_SIZE_K(1)>;
157157
clocks = <&clock ESP32_MODULE_MAX>;
158158
interrupts = <LP_RTC_TIMER_INTR_SOURCE IRQ_DEFAULT_PRIORITY 0>;

dts/xtensa/espressif/esp32/esp32_common.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@
192192
clocks = <&clock ESP32_MODULE_MAX>;
193193
interrupts = <RTC_CORE_INTR_SOURCE IRQ_DEFAULT_PRIORITY 0>;
194194
interrupt-parent = <&intc>;
195-
status = "okay";
195+
status = "disabled";
196196
};
197197

198198
flash: flash-controller@3ff42000 {

dts/xtensa/espressif/esp32s2/esp32s2_common.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,11 @@
142142

143143
rtc_timer: rtc_timer@3f408004 {
144144
reg = <0x3f408004 0xC>;
145-
compatible = "espressif,esp32-rtc_timer";
145+
compatible = "espressif,esp32-rtc-timer";
146146
clocks = <&clock ESP32_MODULE_MAX>;
147147
interrupts = <RTC_CORE_INTR_SOURCE IRQ_DEFAULT_PRIORITY 0>;
148148
interrupt-parent = <&intc>;
149-
status = "okay";
149+
status = "disabled";
150150
};
151151

152152
flash: flash-controller@3f402000 {

dts/xtensa/espressif/esp32s3/esp32s3_common.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@
181181

182182
rtc_timer: rtc_timer@60008004 {
183183
reg = <0x60008004 0xC>;
184-
compatible = "espressif,esp32-rtc_timer";
184+
compatible = "espressif,esp32-rtc-timer";
185185
clocks = <&clock ESP32_MODULE_MAX>;
186186
interrupts = <RTC_CORE_INTR_SOURCE IRQ_DEFAULT_PRIORITY 0>;
187187
interrupt-parent = <&intc>;

0 commit comments

Comments
 (0)