xtensa: intel_s1000: Move some functions to SoC level SYS_INIT
Mux configuration for I2C and GPIO are now done in SYS_INIT which were earlier done in the respective tests. Signed-off-by: Rajavardhan Gundi <rajavardhan.gundi@intel.com>
This commit is contained in:
parent
b5eb656142
commit
6bcb9c6a98
3 changed files with 38 additions and 47 deletions
|
@ -87,6 +87,17 @@
|
|||
#define SOC_NUM_LPGPDMAC 3
|
||||
#define SOC_NUM_CHANNELS_IN_DMAC 8
|
||||
|
||||
#define IOMUX_BASE 0x00081C00
|
||||
#define SOC_I2C_I0_I1_MS BIT(0)
|
||||
#define SOC_UART_RTS_CTS_MS BIT(16)
|
||||
|
||||
struct soc_io_mux_regs {
|
||||
u32_t reserved[12];
|
||||
u32_t io_mux_ctl0;
|
||||
u32_t io_mux_ctl1;
|
||||
u32_t io_mux_ctl2;
|
||||
};
|
||||
|
||||
/* SOC Resource Allocation Registers */
|
||||
#define SOC_RESOURCE_ALLOC_REG_BASE 0x00071A60
|
||||
/* bit field definition for LP GPDMA ownership register */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue