| .. | .. |
|---|
| 7 | 7 | #ifndef __GXBB_AOCLKC_H |
|---|
| 8 | 8 | #define __GXBB_AOCLKC_H |
|---|
| 9 | 9 | |
|---|
| 10 | | -#define NR_CLKS 7 |
|---|
| 11 | | - |
|---|
| 12 | | -/* AO Configuration Clock registers offsets */ |
|---|
| 13 | | -#define AO_RTI_PWR_CNTL_REG1 0x0c |
|---|
| 14 | | -#define AO_RTI_PWR_CNTL_REG0 0x10 |
|---|
| 15 | | -#define AO_RTI_GEN_CNTL_REG0 0x40 |
|---|
| 16 | | -#define AO_OSCIN_CNTL 0x58 |
|---|
| 17 | | -#define AO_CRT_CLK_CNTL1 0x68 |
|---|
| 18 | | -#define AO_RTC_ALT_CLK_CNTL0 0x94 |
|---|
| 19 | | -#define AO_RTC_ALT_CLK_CNTL1 0x98 |
|---|
| 20 | | - |
|---|
| 21 | | -struct aoclk_cec_32k { |
|---|
| 22 | | - struct clk_hw hw; |
|---|
| 23 | | - struct regmap *regmap; |
|---|
| 24 | | -}; |
|---|
| 25 | | - |
|---|
| 26 | | -#define to_aoclk_cec_32k(_hw) container_of(_hw, struct aoclk_cec_32k, hw) |
|---|
| 27 | | - |
|---|
| 28 | | -extern const struct clk_ops meson_aoclk_cec_32k_ops; |
|---|
| 10 | +#define NR_CLKS 14 |
|---|
| 29 | 11 | |
|---|
| 30 | 12 | #include <dt-bindings/clock/gxbb-aoclkc.h> |
|---|
| 31 | 13 | #include <dt-bindings/reset/gxbb-aoclkc.h> |
|---|