File tree Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,13 @@ properties:
43
43
enum :
44
44
- 0
45
45
- 1
46
+ - 2
47
+ - 3
48
+ - 4
46
49
description : |
47
50
Drive Capacity Control (for Sub-Clock Oscillator only)
48
51
0: Drive capacity for standard CL.
49
- 1: Drive capacity for low CL.
52
+ 1: Drive capacity for low CL. (in case of rx261, not choose this)
53
+ 2: High-drive output for the low CL.
54
+ 3: Middle-drive output for the low CL
55
+ 4: Low-drive output for the low CL
Original file line number Diff line number Diff line change 17
17
(UTIL_CAT(RX_CLOCKS_SOURCE_, DT_NODE_FULL_NAME_UPPER_TOKEN(node_id))), \
18
18
(RX_CLOCKS_CLOCK_DISABLED))
19
19
20
+ #define RX_IF_CLK_SRC (node_id )\
21
+ COND_CODE_1(DT_NODE_HAS_STATUS(node_id, okay),\
22
+ (UTIL_CAT(RX_IF_CLOCKS_SOURCE_, DT_NODE_FULL_NAME_UPPER_TOKEN(node_id))),\
23
+ (RX_CLOCKS_CLOCK_DISABLED))
24
+
25
+ #define RX_LPT_CLK_SRC (node_id )\
26
+ COND_CODE_1(DT_NODE_HAS_STATUS(node_id, okay),\
27
+ (UTIL_CAT(RX_LPT_CLOCKS_SOURCE_, DT_NODE_FULL_NAME_UPPER_TOKEN(node_id))),\
28
+ (RX_LPT_CLOCKS_NON_USE))
29
+
20
30
struct clock_control_rx_pclk_cfg {
21
31
const struct device * clock_src_dev ;
22
32
uint32_t clk_div ;
Original file line number Diff line number Diff line change 14
14
#define RX_CLOCKS_SOURCE_PLL 4
15
15
#define RX_CLOCKS_SOURCE_CLOCK_DISABLE 0xff
16
16
17
+ #define RX_IF_CLOCKS_SOURCE_CLOCK_HOCO 0
18
+ #define RX_IF_CLOCKS_SOURCE_CLOCK_LOCO 2
19
+ #define RX_IF_CLOCKS_SOURCE_PLL 5
20
+ #define RX_IF_CLOCKS_SOURCE_PLL2 6
21
+
22
+ #define RX_LPT_CLOCKS_SOURCE_CLOCK_SUBCLOCK 0
23
+ #define RX_LPT_CLOCKS_SOURCE_CLOCK_IWDT_LOW_SPEED 1
24
+ #define RX_LPT_CLOCKS_NON_USE 2
25
+ #define RX_LPT_CLOCKS_SOURCE_CLOCK_LOCO 3
26
+
17
27
#define RX_PLL_MUL_4 7
18
28
#define RX_PLL_MUL_4_5 8
19
29
#define RX_PLL_MUL_5 9
You can’t perform that action at this time.
0 commit comments