am43xx: Add qspi support
Add QSPI definitions and clock configuration support. Signed-off-by: Sourav Poddar <sourav.poddar@ti.com> Reviewed-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
This commit is contained in:
parent
060aaada06
commit
b56e71e2d4
@ -98,6 +98,7 @@ void enable_basic_clocks(void)
|
|||||||
&cmper->emiffwclkctrl,
|
&cmper->emiffwclkctrl,
|
||||||
&cmper->emifclkctrl,
|
&cmper->emifclkctrl,
|
||||||
&cmper->otfaemifclkctrl,
|
&cmper->otfaemifclkctrl,
|
||||||
|
&cmper->qspiclkctrl,
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -332,7 +332,9 @@ struct cm_perpll {
|
|||||||
unsigned int mcasp1clkctrl; /* offset 0x240 */
|
unsigned int mcasp1clkctrl; /* offset 0x240 */
|
||||||
unsigned int resv11;
|
unsigned int resv11;
|
||||||
unsigned int mmc2clkctrl; /* offset 0x248 */
|
unsigned int mmc2clkctrl; /* offset 0x248 */
|
||||||
unsigned int resv12[5];
|
unsigned int resv12[3];
|
||||||
|
unsigned int qspiclkctrl; /* offset 0x258 */
|
||||||
|
unsigned int resv121;
|
||||||
unsigned int usb0clkctrl; /* offset 0x260 */
|
unsigned int usb0clkctrl; /* offset 0x260 */
|
||||||
unsigned int resv13[103];
|
unsigned int resv13[103];
|
||||||
unsigned int l4lsclkstctrl; /* offset 0x400 */
|
unsigned int l4lsclkstctrl; /* offset 0x400 */
|
||||||
|
@ -29,5 +29,6 @@
|
|||||||
#define SRAM_SCRATCH_SPACE_ADDR 0x40337C00
|
#define SRAM_SCRATCH_SPACE_ADDR 0x40337C00
|
||||||
#define AM4372_BOARD_NAME_START SRAM_SCRATCH_SPACE_ADDR
|
#define AM4372_BOARD_NAME_START SRAM_SCRATCH_SPACE_ADDR
|
||||||
#define AM4372_BOARD_NAME_END SRAM_SCRATCH_SPACE_ADDR + 0xC
|
#define AM4372_BOARD_NAME_END SRAM_SCRATCH_SPACE_ADDR + 0xC
|
||||||
|
#define QSPI_BASE 0x47900000
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user