1a9643ea8Slogwang# 2a9643ea8Slogwang# Kernel configuration for Freescale i.MX6 systems. 3a9643ea8Slogwang# 4a9643ea8Slogwang# For more information on this file, please read the config(5) manual page, 5a9643ea8Slogwang# and/or the handbook section on Kernel Configuration Files: 6a9643ea8Slogwang# 7*22ce4affSfengbojiang# https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 8a9643ea8Slogwang# 9a9643ea8Slogwang# The handbook is also available locally in /usr/share/doc/handbook 10a9643ea8Slogwang# if you've installed the doc distribution, otherwise always see the 11*22ce4affSfengbojiang# FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the 12a9643ea8Slogwang# latest information. 13a9643ea8Slogwang# 14a9643ea8Slogwang# An exhaustive list of options and more detailed explanations of the 15a9643ea8Slogwang# device lines is also present in the ../../conf/NOTES and NOTES files. 16a9643ea8Slogwang# If you are in doubt as to the purpose or necessity of a line, check first 17a9643ea8Slogwang# in NOTES. 18a9643ea8Slogwang# 19a9643ea8Slogwang# $FreeBSD$ 20a9643ea8Slogwang 21a9643ea8Slogwangident IMX6 22*22ce4affSfengbojianginclude "std.armv7" 23a9643ea8Slogwanginclude "../freescale/imx/std.imx6" 24a9643ea8Slogwang 25a9643ea8Slogwangoptions SOC_IMX6 26a9643ea8Slogwang 27a9643ea8Slogwangoptions SCHED_ULE # ULE scheduler 28a9643ea8Slogwang#options NFSD # Network Filesystem Server 29a9643ea8Slogwangoptions INCLUDE_CONFIG_FILE # Include this file in kernel 30a9643ea8Slogwangoptions PLATFORM 31a9643ea8Slogwangoptions SMP # Enable multiple cores 32a9643ea8Slogwang 33a9643ea8Slogwang# NFS root from boopt/dhcp 34a9643ea8Slogwang#options BOOTP 35a9643ea8Slogwang#options BOOTP_NFSROOT 36a9643ea8Slogwang#options BOOTP_COMPAT 37a9643ea8Slogwang#options BOOTP_NFSV3 38a9643ea8Slogwang#options BOOTP_WIRED_TO=ffec0 39a9643ea8Slogwang 40a9643ea8Slogwang# U-Boot stuff lives on slice 1, FreeBSD on slice 2. 41a9643ea8Slogwangoptions ROOTDEVNAME=\"ufs:mmcsd0s2a\" 42a9643ea8Slogwang 43a9643ea8Slogwang# Interrupt controller 44a9643ea8Slogwangdevice gic 45a9643ea8Slogwang# Cache controller 46a9643ea8Slogwangdevice pl310 # PL310 L2 cache controller 47a9643ea8Slogwang# ARM MPCore timer 48a9643ea8Slogwangdevice mpcore_timer 49a9643ea8Slogwang 50a9643ea8Slogwang# Pseudo devices. 51a9643ea8Slogwangdevice loop # Network loopback 52a9643ea8Slogwangdevice vlan # 802.1Q VLAN support 53*22ce4affSfengbojiangdevice tuntap # Packet tunnel. 54a9643ea8Slogwangdevice md # Memory "disks" 55a9643ea8Slogwang#device gif # IPv6 and IPv4 tunneling 56a9643ea8Slogwang#device firmware # firmware assist module 57a9643ea8Slogwangdevice ether # Ethernet support 58a9643ea8Slogwangdevice miibus # Required for ethernet 59a9643ea8Slogwangdevice bpf # Berkeley packet filter (required for DHCP) 60a9643ea8Slogwang 61a9643ea8Slogwang# General-purpose input/output 62a9643ea8Slogwangdevice gpio 63a9643ea8Slogwang 64a9643ea8Slogwang# Serial (COM) ports 65a9643ea8Slogwangdevice uart # Multi-uart driver 66a9643ea8Slogwang 67a9643ea8Slogwang# SDCard 68a9643ea8Slogwangdevice sdhci # SD controller 69a9643ea8Slogwangdevice mmc # SD/MMC protocol 70a9643ea8Slogwangdevice mmcsd # SDCard disk device 71a9643ea8Slogwang 72a9643ea8Slogwang# SCSI peripherals 73a9643ea8Slogwangdevice scbus # SCSI bus (required for ATA/SCSI) 74a9643ea8Slogwangdevice da # Direct Access (disks) 75a9643ea8Slogwangdevice cd # CD 76a9643ea8Slogwangdevice pass # Passthrough device (direct ATA/SCSI access) 77a9643ea8Slogwang 78*22ce4affSfengbojiang# ATA controllers 79*22ce4affSfengbojiangdevice ahci # AHCI-compatible SATA controllers 80*22ce4affSfengbojiang 81a9643ea8Slogwang# USB support 82a9643ea8Slogwangdevice ehci # OHCI USB interface 83a9643ea8Slogwangdevice usb # USB Bus (required) 84a9643ea8Slogwangdevice umass # Disks/Mass storage - Requires scbus and da 85a9643ea8Slogwangdevice uhid # "Human Interface Devices" 86a9643ea8Slogwangdevice u3g # USB modems 87a9643ea8Slogwang#device ukbd # Allow keyboard like HIDs to control console 88a9643ea8Slogwang#device ums # USB mouse 89a9643ea8Slogwang 90a9643ea8Slogwang# USB Ethernet, requires miibus 91a9643ea8Slogwang#device aue # ADMtek USB Ethernet 92a9643ea8Slogwang#device axe # ASIX Electronics USB Ethernet 93a9643ea8Slogwang#device cdce # Generic USB over Ethernet 94a9643ea8Slogwang#device cue # CATC USB Ethernet 95a9643ea8Slogwang#device kue # Kawasaki LSI USB Ethernet 96a9643ea8Slogwang#device rue # RealTek RTL8150 USB Ethernet 97a9643ea8Slogwang#device udav # Davicom DM9601E USB 98a9643ea8Slogwang 99a9643ea8Slogwang# USB Wireless 100a9643ea8Slogwang#device rum # Ralink Technology RT2501USB wireless NICs 101a9643ea8Slogwang 102a9643ea8Slogwang# Wireless NIC cards 103a9643ea8Slogwang#device wlan # 802.11 support 104a9643ea8Slogwang#device wlan_wep # 802.11 WEP support 105a9643ea8Slogwang#device wlan_ccmp # 802.11 CCMP support 106a9643ea8Slogwang#device wlan_tkip # 802.11 TKIP support 107a9643ea8Slogwang#device wlan_amrr # AMRR transmit rate control algorithm 108a9643ea8Slogwang 109*22ce4affSfengbojiang# HID support 110*22ce4affSfengbojiangdevice hid # Generic HID support 111*22ce4affSfengbojiang 112a9643ea8Slogwangdevice vt 113a9643ea8Slogwangdevice kbdmux 114a9643ea8Slogwangdevice ukbd 115a9643ea8Slogwangdevice videomode 116a9643ea8Slogwangdevice hdmi 117a9643ea8Slogwang 118a9643ea8Slogwang# Flattened Device Tree 119a9643ea8Slogwangoptions FDT # Configure using FDT/DTB data 120*22ce4affSfengbojiangmakeoptions MODULES_EXTRA="dtb/imx6 imx" 121*22ce4affSfengbojiangdevice fdt_pinctrl # FDT pinmux driver 122*22ce4affSfengbojiang 123*22ce4affSfengbojiang# EXT_RESOURCES pseudo devices 124*22ce4affSfengbojiangoptions EXT_RESOURCES 125*22ce4affSfengbojiangdevice clk 126*22ce4affSfengbojiangdevice phy 127*22ce4affSfengbojiangdevice hwreset 128*22ce4affSfengbojiangdevice nvmem 129*22ce4affSfengbojiangdevice regulator 130*22ce4affSfengbojiangdevice syscon 131a9643ea8Slogwang 132a9643ea8Slogwang# SoC-specific devices 133a9643ea8Slogwangdevice ffec # Freescale Fast Ethernet Controller 134a9643ea8Slogwangdevice fsliic # Freescale i2c/iic 135a9643ea8Slogwangdevice iic # iic protocol 136a9643ea8Slogwangdevice iicbus # iic bus 137*22ce4affSfengbojiangdevice imx6_snvs # On-chip RTC 138a9643ea8Slogwangdevice imxwdt # Watchdog. WARNING: can't be disabled!!! 139a9643ea8Slogwang 140