File tree Expand file tree Collapse file tree 8 files changed +47
-3
lines changed Expand file tree Collapse file tree 8 files changed +47
-3
lines changed Original file line number Diff line number Diff line change 20
20
device_type = "cpu";
21
21
compatible = "arm,cortex-m4";
22
22
reg = <0>;
23
+ clock-frequency = <48000000>;
23
24
cpu-power-states = <&idle &suspend_to_ram>;
24
25
};
25
26
160
161
compatible = "microchip,xec-rtos-timer";
161
162
reg = <0x40007400 0x10>;
162
163
interrupts = <111 0>;
164
+ clock-frequency = <32768>;
163
165
girqs = <23 10>;
164
166
};
165
167
bbram: bb-ram@4000a800 {
Original file line number Diff line number Diff line change @@ -290,6 +290,7 @@ rtimer: timer@40007400 {
290
290
compatible = "microchip,xec-rtos-timer";
291
291
reg = <0x40007400 0x10>;
292
292
interrupts = <111 0>;
293
+ clock-frequency = <32768>;
293
294
girqs = <23 10>;
294
295
};
295
296
timer0: timer@40000c00 {
Original file line number Diff line number Diff line change 26
26
device_type = "cpu";
27
27
compatible = "arm,cortex-m4";
28
28
reg = <0>;
29
+ clock-frequency = <96000000>;
29
30
cpu-power-states = <&idle &suspend_to_ram>;
30
31
};
31
32
Original file line number Diff line number Diff line change 26
26
device_type = "cpu";
27
27
compatible = "arm,cortex-m4";
28
28
reg = <0>;
29
+ clock-frequency = <96000000>;
29
30
cpu-power-states = <&idle &suspend_to_ram>;
30
31
};
31
32
Original file line number Diff line number Diff line change 7
7
#include <arm/armv7-m.dtsi>
8
8
#include <zephyr/dt-bindings/gpio/gpio.h>
9
9
#include <zephyr/dt-bindings/gpio/microchip-xec-gpio.h>
10
+ #include <zephyr/dt-bindings/i2c/i2c.h>
10
11
#include <freq.h>
11
12
#include <mem.h>
12
13
19
20
device_type = "cpu";
20
21
compatible = "arm,cortex-m4";
21
22
reg = <0>;
23
+ clock-frequency = <96000000>;
22
24
};
23
25
};
24
26
202
204
interrupts = <41 1>;
203
205
status = "disabled";
204
206
};
205
- wdog : watchdog@40000400 {
207
+ watchdog0 : watchdog@40000400 {
206
208
reg = <0x40000400 0x400>;
207
209
interrupts = <171 0>;
208
210
status = "disabled";
311
313
status = "disabled";
312
314
};
313
315
bbram: bb-ram@4000a800 {
314
- reg = <0x4000a800 0x100 >;
316
+ reg = <0x4000a800 0x80 >;
315
317
reg-names = "memory";
316
318
status = "disabled";
317
319
};
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2024 Microchip Technology Inc.
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ /* Microchip MEC5 SoC's Improved I2C(I3C).
8
+ * Include this file in the soc {} section in the relevant chip DTSI files.
9
+ */
10
+ i3c0: i3c@40010800 {
11
+ compatible = "microchip,mec5-i3c";
12
+ #address-cells = <3>;
13
+ #size-cells = <0>;
14
+ reg = <0x40010800 0x800>;
15
+ interrupts = <181 2>;
16
+ input-clock-frequency = <192000000>;
17
+ i3c-scl-hz = <12500000>;
18
+ i2c-scl-hz = <400000>;
19
+ status = "disabled";
20
+ };
21
+
22
+ i3c1: i3c@40010000 {
23
+ compatible = "microchip,mec5-i3c";
24
+ #address-cells = <3>;
25
+ #size-cells = <0>;
26
+ reg = <0x40010000 0x800>;
27
+ interrupts = <182 2>;
28
+ input-clock-frequency = <192000000>;
29
+ i3c-scl-hz = <12500000>;
30
+ i2c-scl-hz = <400000>;
31
+ status = "disabled";
32
+ };
Original file line number Diff line number Diff line change 7
7
#include <arm/armv7-m.dtsi>
8
8
9
9
#include "mec5.dtsi"
10
- #include "mec5/mec5_mec175xsz-espi-host-dev.dtsi"
11
10
12
11
/ {
13
12
flash0: flash@b0000 {
Original file line number Diff line number Diff line change @@ -18,3 +18,9 @@ properties:
18
18
type : array
19
19
required : true
20
20
description : Array of GIRQ numbers [8:26] and bit positions [0:31].
21
+
22
+ clock-frequency :
23
+ type : int
24
+ required : true
25
+ const : 32768
26
+ description : RTOS timer runs at fixed 32 KHz.
You can’t perform that action at this time.
0 commit comments