1f9162b15SAkshay Bhat /* 2f9162b15SAkshay Bhat * Copyright (C) 2015 Timesys Corporation 3f9162b15SAkshay Bhat * Copyright (C) 2015 General Electric Company 4f9162b15SAkshay Bhat * Copyright (C) 2014 Advantech 5f9162b15SAkshay Bhat * Copyright (C) 2012 Freescale Semiconductor, Inc. 6f9162b15SAkshay Bhat * 7f9162b15SAkshay Bhat * Configuration settings for the GE MX6Q Bx50v3 boards. 8f9162b15SAkshay Bhat * 9f9162b15SAkshay Bhat * SPDX-License-Identifier: GPL-2.0+ 10f9162b15SAkshay Bhat */ 11f9162b15SAkshay Bhat 12f9162b15SAkshay Bhat #ifndef __GE_BX50V3_CONFIG_H 13f9162b15SAkshay Bhat #define __GE_BX50V3_CONFIG_H 14f9162b15SAkshay Bhat 15f9162b15SAkshay Bhat #include <asm/arch/imx-regs.h> 16f9162b15SAkshay Bhat #include <asm/imx-common/gpio.h> 17f9162b15SAkshay Bhat 18*3dddc793SKen Lin #define BX50V3_BOOTARGS_EXTRA 19f9162b15SAkshay Bhat #if defined(CONFIG_TARGET_GE_B450V3) 20f9162b15SAkshay Bhat #define CONFIG_BOARD_NAME "General Electric B450v3" 21f9162b15SAkshay Bhat #define CONFIG_DEFAULT_FDT_FILE "/boot/imx6q-b450v3.dtb" 22f9162b15SAkshay Bhat #elif defined(CONFIG_TARGET_GE_B650V3) 23f9162b15SAkshay Bhat #define CONFIG_BOARD_NAME "General Electric B650v3" 24f9162b15SAkshay Bhat #define CONFIG_DEFAULT_FDT_FILE "/boot/imx6q-b650v3.dtb" 25f9162b15SAkshay Bhat #elif defined(CONFIG_TARGET_GE_B850V3) 26f9162b15SAkshay Bhat #define CONFIG_BOARD_NAME "General Electric B850v3" 27f9162b15SAkshay Bhat #define CONFIG_DEFAULT_FDT_FILE "/boot/imx6q-b850v3.dtb" 28*3dddc793SKen Lin #undef BX50V3_BOOTARGS_EXTRA 29*3dddc793SKen Lin #define BX50V3_BOOTARGS_EXTRA "video=DP-1:1024x768@60 " \ 30*3dddc793SKen Lin "video=HDMI-A-1:1024x768@60 " 31f9162b15SAkshay Bhat #else 32f9162b15SAkshay Bhat #define CONFIG_BOARD_NAME "General Electric BA16 Generic" 33f9162b15SAkshay Bhat #define CONFIG_DEFAULT_FDT_FILE "/boot/imx6q-ba16.dtb" 34f9162b15SAkshay Bhat #endif 35f9162b15SAkshay Bhat 36f9162b15SAkshay Bhat #define CONFIG_MXC_UART_BASE UART3_BASE 37f9162b15SAkshay Bhat #define CONFIG_CONSOLE_DEV "ttymxc2" 38f9162b15SAkshay Bhat 39f9162b15SAkshay Bhat #define CONFIG_SUPPORT_EMMC_BOOT 40f9162b15SAkshay Bhat 41f9162b15SAkshay Bhat 42f9162b15SAkshay Bhat #include "mx6_common.h" 43f9162b15SAkshay Bhat #include <linux/sizes.h> 44f9162b15SAkshay Bhat 45f9162b15SAkshay Bhat #define CONFIG_DISPLAY_CPUINFO 46f9162b15SAkshay Bhat #define CONFIG_DISPLAY_BOARDINFO 47f9162b15SAkshay Bhat 48f9162b15SAkshay Bhat #define CONFIG_CMDLINE_TAG 49f9162b15SAkshay Bhat #define CONFIG_SETUP_MEMORY_TAGS 50f9162b15SAkshay Bhat #define CONFIG_INITRD_TAG 51f9162b15SAkshay Bhat #define CONFIG_REVISION_TAG 52f9162b15SAkshay Bhat #define CONFIG_SYS_MALLOC_LEN (10 * SZ_1M) 53f9162b15SAkshay Bhat 54f9162b15SAkshay Bhat #define CONFIG_BOARD_EARLY_INIT_F 55f9162b15SAkshay Bhat #define CONFIG_BOARD_LATE_INIT 56f9162b15SAkshay Bhat 57f9162b15SAkshay Bhat #define CONFIG_MXC_GPIO 58f9162b15SAkshay Bhat #define CONFIG_MXC_UART 59f9162b15SAkshay Bhat 60f9162b15SAkshay Bhat #define CONFIG_CMD_FUSE 61f9162b15SAkshay Bhat #define CONFIG_MXC_OCOTP 62f9162b15SAkshay Bhat 63f9162b15SAkshay Bhat /* SATA Configs */ 64aacc10c5SAndrew Shadura #ifdef CONFIG_CMD_SATA 65f9162b15SAkshay Bhat #define CONFIG_DWC_AHSATA 66f9162b15SAkshay Bhat #define CONFIG_SYS_SATA_MAX_DEVICE 1 67f9162b15SAkshay Bhat #define CONFIG_DWC_AHSATA_PORT_ID 0 68f9162b15SAkshay Bhat #define CONFIG_DWC_AHSATA_BASE_ADDR SATA_ARB_BASE_ADDR 69f9162b15SAkshay Bhat #define CONFIG_LBA48 70f9162b15SAkshay Bhat #define CONFIG_LIBATA 71aacc10c5SAndrew Shadura #endif 72f9162b15SAkshay Bhat 73f9162b15SAkshay Bhat /* MMC Configs */ 74f9162b15SAkshay Bhat #define CONFIG_FSL_ESDHC 75f9162b15SAkshay Bhat #define CONFIG_FSL_USDHC 76f9162b15SAkshay Bhat #define CONFIG_SYS_FSL_ESDHC_ADDR 0 77f9162b15SAkshay Bhat #define CONFIG_MMC 78f9162b15SAkshay Bhat #define CONFIG_GENERIC_MMC 79f9162b15SAkshay Bhat #define CONFIG_BOUNCE_BUFFER 80f9162b15SAkshay Bhat #define CONFIG_DOS_PARTITION 81f9162b15SAkshay Bhat 82f9162b15SAkshay Bhat /* USB Configs */ 83fc44902aSAndrew Shadura #ifdef CONFIG_USB 84f9162b15SAkshay Bhat #define CONFIG_USB_EHCI 85f9162b15SAkshay Bhat #define CONFIG_USB_EHCI_MX6 86f9162b15SAkshay Bhat #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 87f9162b15SAkshay Bhat #define CONFIG_EHCI_HCD_INIT_AFTER_RESET 88f9162b15SAkshay Bhat #define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW) 89f9162b15SAkshay Bhat #define CONFIG_MXC_USB_FLAGS 0 90f9162b15SAkshay Bhat #define CONFIG_USB_KEYBOARD 91f9162b15SAkshay Bhat #define CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP 92f9162b15SAkshay Bhat 93f9162b15SAkshay Bhat #define CONFIG_CI_UDC 94f9162b15SAkshay Bhat #define CONFIG_USBD_HS 95f9162b15SAkshay Bhat #define CONFIG_USB_GADGET_DUALSPEED 96f9162b15SAkshay Bhat #define CONFIG_USB_GADGET 97f9162b15SAkshay Bhat #define CONFIG_USB_GADGET_DOWNLOAD 98f9162b15SAkshay Bhat #define CONFIG_USB_GADGET_MASS_STORAGE 99f9162b15SAkshay Bhat #define CONFIG_USB_FUNCTION_MASS_STORAGE 100f9162b15SAkshay Bhat #define CONFIG_USB_GADGET_VBUS_DRAW 2 101f9162b15SAkshay Bhat #define CONFIG_G_DNL_VENDOR_NUM 0x0525 102f9162b15SAkshay Bhat #define CONFIG_G_DNL_PRODUCT_NUM 0xa4a5 103f9162b15SAkshay Bhat #define CONFIG_G_DNL_MANUFACTURER "Advantech" 104fc44902aSAndrew Shadura #endif 105f9162b15SAkshay Bhat 106f9162b15SAkshay Bhat /* Networking Configs */ 107c26ffd9bSAndrew Shadura #ifdef CONFIG_NET 108f9162b15SAkshay Bhat #define CONFIG_FEC_MXC 109f9162b15SAkshay Bhat #define CONFIG_MII 110f9162b15SAkshay Bhat #define IMX_FEC_BASE ENET_BASE_ADDR 111f9162b15SAkshay Bhat #define CONFIG_FEC_XCV_TYPE RGMII 112f9162b15SAkshay Bhat #define CONFIG_ETHPRIME "FEC" 113f9162b15SAkshay Bhat #define CONFIG_FEC_MXC_PHYADDR 4 114f9162b15SAkshay Bhat #define CONFIG_PHYLIB 115f9162b15SAkshay Bhat #define CONFIG_PHY_ATHEROS 116c26ffd9bSAndrew Shadura #endif 117f9162b15SAkshay Bhat 118f9162b15SAkshay Bhat /* Serial Flash */ 119f9162b15SAkshay Bhat #ifdef CONFIG_CMD_SF 120f9162b15SAkshay Bhat #define CONFIG_MXC_SPI 121f9162b15SAkshay Bhat #define CONFIG_SF_DEFAULT_BUS 0 122f9162b15SAkshay Bhat #define CONFIG_SF_DEFAULT_CS 0 123f9162b15SAkshay Bhat #define CONFIG_SF_DEFAULT_SPEED 20000000 124f9162b15SAkshay Bhat #define CONFIG_SF_DEFAULT_MODE SPI_MODE_0 125f9162b15SAkshay Bhat #endif 126f9162b15SAkshay Bhat 127f9162b15SAkshay Bhat /* allow to overwrite serial and ethaddr */ 128f9162b15SAkshay Bhat #define CONFIG_ENV_OVERWRITE 129f9162b15SAkshay Bhat #define CONFIG_CONS_INDEX 1 130f9162b15SAkshay Bhat #define CONFIG_BAUDRATE 115200 131f9162b15SAkshay Bhat 132f9162b15SAkshay Bhat /* Command definition */ 133f9162b15SAkshay Bhat #define CONFIG_CMD_BMODE 134f9162b15SAkshay Bhat 135f9162b15SAkshay Bhat #define CONFIG_LOADADDR 0x12000000 136f9162b15SAkshay Bhat #define CONFIG_SYS_TEXT_BASE 0x17800000 137f9162b15SAkshay Bhat 138f9162b15SAkshay Bhat #define CONFIG_EXTRA_ENV_SETTINGS \ 139f9162b15SAkshay Bhat "script=boot.scr\0" \ 140f9162b15SAkshay Bhat "image=/boot/uImage\0" \ 141f9162b15SAkshay Bhat "uboot=u-boot.imx\0" \ 142f9162b15SAkshay Bhat "fdt_file=" CONFIG_DEFAULT_FDT_FILE "\0" \ 143f9162b15SAkshay Bhat "fdt_addr=0x18000000\0" \ 144f9162b15SAkshay Bhat "boot_fdt=yes\0" \ 145f9162b15SAkshay Bhat "ip_dyn=yes\0" \ 146f9162b15SAkshay Bhat "console=" CONFIG_CONSOLE_DEV "\0" \ 147f9162b15SAkshay Bhat "fdt_high=0xffffffff\0" \ 148f9162b15SAkshay Bhat "initrd_high=0xffffffff\0" \ 149f9162b15SAkshay Bhat "sddev=0\0" \ 150f9162b15SAkshay Bhat "emmcdev=1\0" \ 151f9162b15SAkshay Bhat "partnum=1\0" \ 152f9162b15SAkshay Bhat "update_sd_firmware=" \ 153f9162b15SAkshay Bhat "if test ${ip_dyn} = yes; then " \ 154f9162b15SAkshay Bhat "setenv get_cmd dhcp; " \ 155f9162b15SAkshay Bhat "else " \ 156f9162b15SAkshay Bhat "setenv get_cmd tftp; " \ 157f9162b15SAkshay Bhat "fi; " \ 158f9162b15SAkshay Bhat "if mmc dev ${mmcdev}; then " \ 159f9162b15SAkshay Bhat "if ${get_cmd} ${update_sd_firmware_filename}; then " \ 160f9162b15SAkshay Bhat "setexpr fw_sz ${filesize} / 0x200; " \ 161f9162b15SAkshay Bhat "setexpr fw_sz ${fw_sz} + 1; " \ 162f9162b15SAkshay Bhat "mmc write ${loadaddr} 0x2 ${fw_sz}; " \ 163f9162b15SAkshay Bhat "fi; " \ 164f9162b15SAkshay Bhat "fi\0" \ 165f9162b15SAkshay Bhat "update_sf_uboot=" \ 166f9162b15SAkshay Bhat "if tftp $loadaddr $uboot; then " \ 167f9162b15SAkshay Bhat "sf probe; " \ 168f9162b15SAkshay Bhat "sf erase 0 0xC0000; " \ 169f9162b15SAkshay Bhat "sf write $loadaddr 0x400 $filesize; " \ 170f9162b15SAkshay Bhat "echo 'U-Boot upgraded. Please reset'; " \ 171f9162b15SAkshay Bhat "fi\0" \ 172f9162b15SAkshay Bhat "setargs=setenv bootargs console=${console},${baudrate} " \ 173*3dddc793SKen Lin "root=/dev/${rootdev} rw rootwait cma=128M " \ 174*3dddc793SKen Lin BX50V3_BOOTARGS_EXTRA "\0" \ 175f9162b15SAkshay Bhat "loadbootscript=" \ 176f9162b15SAkshay Bhat "ext2load ${dev} ${devnum}:${partnum} ${loadaddr} ${script};\0" \ 177f9162b15SAkshay Bhat "bootscript=echo Running bootscript from ${dev}:${devnum}:${partnum};" \ 178f9162b15SAkshay Bhat " source\0" \ 179f9162b15SAkshay Bhat "loadimage=" \ 180f9162b15SAkshay Bhat "ext2load ${dev} ${devnum}:${partnum} ${loadaddr} ${image}\0" \ 181f9162b15SAkshay Bhat "loadfdt=ext2load ${dev} ${devnum}:${partnum} ${fdt_addr} ${fdt_file}\0" \ 182f9162b15SAkshay Bhat "tryboot=" \ 183f9162b15SAkshay Bhat "if run loadbootscript; then " \ 184f9162b15SAkshay Bhat "run bootscript; " \ 185f9162b15SAkshay Bhat "else " \ 186f9162b15SAkshay Bhat "if run loadimage; then " \ 187f9162b15SAkshay Bhat "run doboot; " \ 188f9162b15SAkshay Bhat "fi; " \ 189f9162b15SAkshay Bhat "fi;\0" \ 190f9162b15SAkshay Bhat "doboot=echo Booting from ${dev}:${devnum}:${partnum} ...; " \ 191f9162b15SAkshay Bhat "run setargs; " \ 192f9162b15SAkshay Bhat "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \ 193f9162b15SAkshay Bhat "if run loadfdt; then " \ 194f9162b15SAkshay Bhat "bootm ${loadaddr} - ${fdt_addr}; " \ 195f9162b15SAkshay Bhat "else " \ 196f9162b15SAkshay Bhat "if test ${boot_fdt} = try; then " \ 197f9162b15SAkshay Bhat "bootm; " \ 198f9162b15SAkshay Bhat "else " \ 199f9162b15SAkshay Bhat "echo WARN: Cannot load the DT; " \ 200f9162b15SAkshay Bhat "fi; " \ 201f9162b15SAkshay Bhat "fi; " \ 202f9162b15SAkshay Bhat "else " \ 203f9162b15SAkshay Bhat "bootm; " \ 204f9162b15SAkshay Bhat "fi;\0" \ 205f9162b15SAkshay Bhat "netargs=setenv bootargs console=${console},${baudrate} " \ 206f9162b15SAkshay Bhat "root=/dev/nfs " \ 207f9162b15SAkshay Bhat "ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0" \ 208f9162b15SAkshay Bhat "netboot=echo Booting from net ...; " \ 209f9162b15SAkshay Bhat "run netargs; " \ 210f9162b15SAkshay Bhat "if test ${ip_dyn} = yes; then " \ 211f9162b15SAkshay Bhat "setenv get_cmd dhcp; " \ 212f9162b15SAkshay Bhat "else " \ 213f9162b15SAkshay Bhat "setenv get_cmd tftp; " \ 214f9162b15SAkshay Bhat "fi; " \ 215f9162b15SAkshay Bhat "${get_cmd} ${image}; " \ 216f9162b15SAkshay Bhat "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \ 217f9162b15SAkshay Bhat "if ${get_cmd} ${fdt_addr} ${fdt_file}; then " \ 218f9162b15SAkshay Bhat "bootm ${loadaddr} - ${fdt_addr}; " \ 219f9162b15SAkshay Bhat "else " \ 220f9162b15SAkshay Bhat "if test ${boot_fdt} = try; then " \ 221f9162b15SAkshay Bhat "bootm; " \ 222f9162b15SAkshay Bhat "else " \ 223f9162b15SAkshay Bhat "echo WARN: Cannot load the DT; " \ 224f9162b15SAkshay Bhat "fi; " \ 225f9162b15SAkshay Bhat "fi; " \ 226f9162b15SAkshay Bhat "else " \ 227f9162b15SAkshay Bhat "bootm; " \ 228f9162b15SAkshay Bhat "fi;\0" \ 229f9162b15SAkshay Bhat 230fc44902aSAndrew Shadura #define CONFIG_MMCBOOTCOMMAND \ 231f9162b15SAkshay Bhat "setenv dev mmc; " \ 232f6825e4aSKimmo Surakka "setenv rootdev mmcblk0p${partnum}; " \ 233f9162b15SAkshay Bhat \ 234f9162b15SAkshay Bhat "setenv devnum ${sddev}; " \ 235f9162b15SAkshay Bhat "if mmc dev ${devnum}; then " \ 236f9162b15SAkshay Bhat "run tryboot; " \ 237f6825e4aSKimmo Surakka "setenv rootdev mmcblk1p${partnum}; " \ 238f9162b15SAkshay Bhat "fi; " \ 239f9162b15SAkshay Bhat \ 240f9162b15SAkshay Bhat "setenv devnum ${emmcdev}; " \ 241f9162b15SAkshay Bhat "if mmc dev ${devnum}; then " \ 242f9162b15SAkshay Bhat "run tryboot; " \ 243f9162b15SAkshay Bhat "fi; " \ 244fc44902aSAndrew Shadura 245fc44902aSAndrew Shadura #define CONFIG_USBBOOTCOMMAND \ 246fc44902aSAndrew Shadura "usb start; " \ 247fc44902aSAndrew Shadura "setenv dev usb; " \ 248fc44902aSAndrew Shadura "setenv devnum 0; " \ 249f6825e4aSKimmo Surakka "setenv rootdev sda${partnum}; " \ 250fc44902aSAndrew Shadura "run tryboot; " \ 251f9162b15SAkshay Bhat \ 252fc44902aSAndrew Shadura CONFIG_MMCBOOTCOMMAND \ 253f9162b15SAkshay Bhat "bmode usb; " \ 254f9162b15SAkshay Bhat 255fc44902aSAndrew Shadura #ifdef CONFIG_CMD_USB 256fc44902aSAndrew Shadura #define CONFIG_BOOTCOMMAND CONFIG_USBBOOTCOMMAND 257fc44902aSAndrew Shadura #else 258fc44902aSAndrew Shadura #define CONFIG_BOOTCOMMAND CONFIG_MMCBOOTCOMMAND 259fc44902aSAndrew Shadura #endif 260fc44902aSAndrew Shadura 261f9162b15SAkshay Bhat #define CONFIG_ARP_TIMEOUT 200UL 262f9162b15SAkshay Bhat 263f9162b15SAkshay Bhat /* Miscellaneous configurable options */ 264f9162b15SAkshay Bhat #define CONFIG_SYS_LONGHELP 265f9162b15SAkshay Bhat #define CONFIG_AUTO_COMPLETE 266f9162b15SAkshay Bhat 267f9162b15SAkshay Bhat /* Print Buffer Size */ 268f9162b15SAkshay Bhat #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) 269f9162b15SAkshay Bhat #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE 270f9162b15SAkshay Bhat 271f9162b15SAkshay Bhat #define CONFIG_SYS_MEMTEST_START 0x10000000 272f9162b15SAkshay Bhat #define CONFIG_SYS_MEMTEST_END 0x10010000 273f9162b15SAkshay Bhat #define CONFIG_SYS_MEMTEST_SCRATCH 0x10800000 274f9162b15SAkshay Bhat 275f9162b15SAkshay Bhat #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR 276f9162b15SAkshay Bhat 277f9162b15SAkshay Bhat #define CONFIG_CMDLINE_EDITING 278f9162b15SAkshay Bhat #define CONFIG_STACKSIZE (128 * 1024) 279f9162b15SAkshay Bhat 280f9162b15SAkshay Bhat /* Physical Memory Map */ 281f9162b15SAkshay Bhat #define CONFIG_NR_DRAM_BANKS 1 282f9162b15SAkshay Bhat #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 283f9162b15SAkshay Bhat 284f9162b15SAkshay Bhat #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 285f9162b15SAkshay Bhat #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 286f9162b15SAkshay Bhat #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 287f9162b15SAkshay Bhat 288f9162b15SAkshay Bhat #define CONFIG_SYS_INIT_SP_OFFSET \ 289f9162b15SAkshay Bhat (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE) 290f9162b15SAkshay Bhat #define CONFIG_SYS_INIT_SP_ADDR \ 291f9162b15SAkshay Bhat (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET) 292f9162b15SAkshay Bhat 293f9162b15SAkshay Bhat /* FLASH and environment organization */ 294f9162b15SAkshay Bhat #define CONFIG_SYS_NO_FLASH 295f9162b15SAkshay Bhat 296f9162b15SAkshay Bhat #define CONFIG_ENV_IS_IN_SPI_FLASH 297f9162b15SAkshay Bhat #define CONFIG_ENV_SIZE (8 * 1024) 298f9162b15SAkshay Bhat #define CONFIG_ENV_OFFSET (768 * 1024) 299f9162b15SAkshay Bhat #define CONFIG_ENV_SECT_SIZE (64 * 1024) 300f9162b15SAkshay Bhat #define CONFIG_ENV_SPI_BUS CONFIG_SF_DEFAULT_BUS 301f9162b15SAkshay Bhat #define CONFIG_ENV_SPI_CS CONFIG_SF_DEFAULT_CS 302f9162b15SAkshay Bhat #define CONFIG_ENV_SPI_MODE CONFIG_SF_DEFAULT_MODE 303f9162b15SAkshay Bhat #define CONFIG_ENV_SPI_MAX_HZ CONFIG_SF_DEFAULT_SPEED 304f9162b15SAkshay Bhat 305f9162b15SAkshay Bhat #ifndef CONFIG_SYS_DCACHE_OFF 306f9162b15SAkshay Bhat #endif 307f9162b15SAkshay Bhat 308f9162b15SAkshay Bhat #define CONFIG_SYS_FSL_USDHC_NUM 3 309f9162b15SAkshay Bhat 31007aa030aSAndrew Shadura #define CONFIG_SYS_CONSOLE_IS_IN_ENV 31107aa030aSAndrew Shadura #define CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE 31207aa030aSAndrew Shadura 313f9162b15SAkshay Bhat /* Framebuffer */ 31407aa030aSAndrew Shadura #ifdef CONFIG_VIDEO 315f9162b15SAkshay Bhat #define CONFIG_VIDEO_IPUV3 316f9162b15SAkshay Bhat #define CONFIG_CFB_CONSOLE 317f9162b15SAkshay Bhat #define CONFIG_VGA_AS_SINGLE_DEVICE 318f9162b15SAkshay Bhat #define CONFIG_VIDEO_BMP_RLE8 319f9162b15SAkshay Bhat #define CONFIG_SPLASH_SCREEN 320f9162b15SAkshay Bhat #define CONFIG_SPLASH_SCREEN_ALIGN 321f9162b15SAkshay Bhat #define CONFIG_BMP_16BPP 322f9162b15SAkshay Bhat #define CONFIG_VIDEO_LOGO 323f9162b15SAkshay Bhat #define CONFIG_VIDEO_BMP_LOGO 324f9162b15SAkshay Bhat #define CONFIG_IPUV3_CLK 260000000 325f9162b15SAkshay Bhat #define CONFIG_IMX_HDMI 326f9162b15SAkshay Bhat #define CONFIG_IMX_VIDEO_SKIP 32707aa030aSAndrew Shadura #endif 328f9162b15SAkshay Bhat 32954971ac6SAkshay Bhat #define CONFIG_PWM_IMX 33054971ac6SAkshay Bhat #define CONFIG_IMX6_PWM_PER_CLK 66000000 33154971ac6SAkshay Bhat 332f9162b15SAkshay Bhat #undef CONFIG_CMD_PCI 333f9162b15SAkshay Bhat #ifdef CONFIG_CMD_PCI 334f9162b15SAkshay Bhat #define CONFIG_PCI 335f9162b15SAkshay Bhat #define CONFIG_PCI_PNP 336f9162b15SAkshay Bhat #define CONFIG_PCI_SCAN_SHOW 337f9162b15SAkshay Bhat #define CONFIG_PCIE_IMX 338f9162b15SAkshay Bhat #define CONFIG_PCIE_IMX_PERST_GPIO IMX_GPIO_NR(7, 12) 339f9162b15SAkshay Bhat #define CONFIG_PCIE_IMX_POWER_GPIO IMX_GPIO_NR(1, 5) 340f9162b15SAkshay Bhat #endif 341f9162b15SAkshay Bhat 342f9162b15SAkshay Bhat /* I2C Configs */ 343f9162b15SAkshay Bhat #define CONFIG_SYS_I2C 344f9162b15SAkshay Bhat #define CONFIG_SYS_I2C_MXC 345f9162b15SAkshay Bhat #define CONFIG_SYS_I2C_SPEED 100000 346f9162b15SAkshay Bhat #define CONFIG_SYS_I2C_MXC_I2C1 347f9162b15SAkshay Bhat #define CONFIG_SYS_I2C_MXC_I2C2 348f9162b15SAkshay Bhat #define CONFIG_SYS_I2C_MXC_I2C3 349f9162b15SAkshay Bhat 350f9162b15SAkshay Bhat #endif /* __GE_BX50V3_CONFIG_H */ 351