forked from OERV-BSP/u-boot
The Chameleon board is an OpenHardware devboard made by YuzukiTsuru, featuring an Allwinner H616 SoC. The form factor resembles the Raspberry Pi Model A boards, though it differs significantly in its features. Apart from the usual peripherals of those kind of boards (SD card, eMMC, WiFi, HDMI), it features four USB-C 2.0 ports. Add a defconfig for the board, the DRAM parameters have been extracted from the firmware shipped with the board. Signed-off-by: Andre Przywara <andre.przywara@arm.com>
31 lines
857 B
Plaintext
31 lines
857 B
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="allwinner/sun50i-h618-yuzukihd-chameleon"
|
|
CONFIG_SPL=y
|
|
CONFIG_DRAM_SUNXI_DX_ODT=0x03030303
|
|
CONFIG_DRAM_SUNXI_DX_DRI=0x0e0e0e0e
|
|
CONFIG_DRAM_SUNXI_CA_DRI=0x1c12
|
|
CONFIG_DRAM_SUNXI_ODT_EN=0x1
|
|
CONFIG_DRAM_SUNXI_TPR6=0x33808080
|
|
CONFIG_DRAM_SUNXI_TPR10=0x002f0006
|
|
CONFIG_DRAM_SUNXI_TPR11=0xddddcccc
|
|
CONFIG_DRAM_SUNXI_TPR12=0xeddc7564
|
|
CONFIG_MACH_SUN50I_H616=y
|
|
CONFIG_SUNXI_DRAM_H616_DDR3_1333=y
|
|
CONFIG_DRAM_CLK=648
|
|
CONFIG_MMC_SUNXI_SLOT_EXTRA=2
|
|
CONFIG_R_I2C_ENABLE=y
|
|
CONFIG_SPL_SPI_SUNXI=y
|
|
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
|
CONFIG_SPL_I2C=y
|
|
CONFIG_SPL_SYS_I2C_LEGACY=y
|
|
CONFIG_SYS_I2C_MVTWSI=y
|
|
CONFIG_SYS_I2C_SLAVE=0x7f
|
|
CONFIG_SYS_I2C_SPEED=400000
|
|
CONFIG_SUPPORT_EMMC_BOOT=y
|
|
CONFIG_AXP313_POWER=y
|
|
CONFIG_AXP_DCDC3_VOLT=1500
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_OHCI_HCD=y
|
|
CONFIG_USB_MUSB_GADGET=y
|