mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 18:59:44 +00:00
f132c4967e
This patchset has following changes: - introduce stm32h750.dtsi to support stm32h750 value line - add pin groups for usart3/uart4/spi1/sdmmc2 - add stm32h750i-art-pi.dtb (arch/arm/boot/dts/Makefile) - add stm32h750i-art-pi.dts to support art-pi board - add stm32h750i-art-pi-u-boot.dtsi to support art-pi board (u-boot) art-pi board component: - 8MiB qspi flash - 16MiB spi flash - 32MiB sdram - ap6212 wifi&bt&fm the detail board information can be found at: https://art-pi.gitee.io/website/ Signed-off-by: dillon min <dillon.minfei@gmail.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
48 lines
995 B
C
48 lines
995 B
C
#ifndef DT_BINDINGS_STM32_SDRAM_H
|
|
#define DT_BINDINGS_STM32_SDRAM_H
|
|
|
|
#define NO_COL_8 0x0
|
|
#define NO_COL_9 0x1
|
|
#define NO_COL_10 0x2
|
|
#define NO_COL_11 0x3
|
|
|
|
#define NO_ROW_11 0x0
|
|
#define NO_ROW_12 0x1
|
|
#define NO_ROW_13 0x2
|
|
|
|
#define MWIDTH_8 0x0
|
|
#define MWIDTH_16 0x1
|
|
#define MWIDTH_32 0x2
|
|
#define BANKS_2 0x0
|
|
#define BANKS_4 0x1
|
|
#define CAS_1 0x1
|
|
#define CAS_2 0x2
|
|
#define CAS_3 0x3
|
|
#define SDCLK_DIS 0x0
|
|
#define SDCLK_2 0x2
|
|
#define SDCLK_3 0x3
|
|
#define RD_BURST_EN 0x1
|
|
#define RD_BURST_DIS 0x0
|
|
#define RD_PIPE_DL_0 0x0
|
|
#define RD_PIPE_DL_1 0x1
|
|
#define RD_PIPE_DL_2 0x2
|
|
|
|
/* Timing = value +1 cycles */
|
|
#define TMRD_1 (1 - 1)
|
|
#define TMRD_2 (2 - 1)
|
|
#define TMRD_3 (3 - 1)
|
|
#define TXSR_1 (1 - 1)
|
|
#define TXSR_6 (6 - 1)
|
|
#define TXSR_7 (7 - 1)
|
|
#define TXSR_8 (8 - 1)
|
|
#define TRAS_1 (1 - 1)
|
|
#define TRAS_4 (4 - 1)
|
|
#define TRAS_6 (6 - 1)
|
|
#define TRC_6 (6 - 1)
|
|
#define TWR_1 (1 - 1)
|
|
#define TWR_2 (2 - 1)
|
|
#define TRP_2 (2 - 1)
|
|
#define TRCD_1 (1 - 1)
|
|
#define TRCD_2 (2 - 1)
|
|
|
|
#endif
|