File tree Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 14
14
15
15
#include "rzg2l-cpg.h"
16
16
17
+ /* Specific registers. */
18
+ #define CPG_PL2SDHI_DSEL (0x218)
19
+
20
+ /* Clock select configuration. */
21
+ #define SEL_SDHI0 SEL_PLL_PACK(CPG_PL2SDHI_DSEL, 0, 2)
22
+ #define SEL_SDHI1 SEL_PLL_PACK(CPG_PL2SDHI_DSEL, 4, 2)
23
+
17
24
enum clk_ids {
18
25
/* Core Clock Outputs exported to DT */
19
26
LAST_DT_CORE_CLK = R9A07G043_CLK_P0_DIV2 ,
Original file line number Diff line number Diff line change 15
15
16
16
#include "rzg2l-cpg.h"
17
17
18
+ /* Specific registers. */
19
+ #define CPG_PL2SDHI_DSEL (0x218)
20
+
21
+ /* Clock select configuration. */
22
+ #define SEL_SDHI0 SEL_PLL_PACK(CPG_PL2SDHI_DSEL, 0, 2)
23
+ #define SEL_SDHI1 SEL_PLL_PACK(CPG_PL2SDHI_DSEL, 4, 2)
24
+
18
25
enum clk_ids {
19
26
/* Core Clock Outputs exported to DT */
20
27
LAST_DT_CORE_CLK = R9A07G054_CLK_DRP_A ,
Original file line number Diff line number Diff line change 19
19
#define CPG_PL2_DDIV (0x204)
20
20
#define CPG_PL3A_DDIV (0x208)
21
21
#define CPG_PL6_DDIV (0x210)
22
- #define CPG_PL2SDHI_DSEL (0x218)
23
22
#define CPG_CLKSTATUS (0x280)
24
23
#define CPG_PL3_SSEL (0x408)
25
24
#define CPG_PL6_SSEL (0x414)
69
68
#define SEL_PLL6_2 SEL_PLL_PACK(CPG_PL6_ETH_SSEL, 0, 1)
70
69
#define SEL_GPU2 SEL_PLL_PACK(CPG_PL6_SSEL, 12, 1)
71
70
72
- #define SEL_SDHI0 DDIV_PACK(CPG_PL2SDHI_DSEL, 0, 2)
73
- #define SEL_SDHI1 DDIV_PACK(CPG_PL2SDHI_DSEL, 4, 2)
74
-
75
71
#define EXTAL_FREQ_IN_MEGA_HZ (24)
76
72
77
73
/**
You can’t perform that action at this time.
0 commit comments