1# 2# Kernel configuration for Rockchip RK3188 systems. 3# 4# For more information on this file, please read the config(5) manual page, 5# and/or the handbook section on Kernel Configuration Files: 6# 7# https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 8# 9# The handbook is also available locally in /usr/share/doc/handbook 10# if you've installed the doc distribution, otherwise always see the 11# FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the 12# latest information. 13# 14# An exhaustive list of options and more detailed explanations of the 15# device lines is also present in the ../../conf/NOTES and NOTES files. 16# If you are in doubt as to the purpose or necessity of a line, check first 17# in NOTES. 18# 19# $FreeBSD$ 20 21#NO_UNIVERSE 22 23ident RK3188 24 25include "std.armv7" 26include "../rockchip/std.rk30xx" 27 28options SOC_ROCKCHIP_RK3188 29 30options SCHED_ULE # ULE scheduler 31options SMP # Enable multiple cores 32options PLATFORM 33 34# Root mount from MMC/SD card 35options ROOTDEVNAME=\"ufs:/dev/mmcsd0\" 36 37# Interrupt controller 38device gic 39options INTRNG 40 41# ARM MPCore timer 42device mpcore_timer 43 44# MMC/SD/SDIO Card slot support 45device mmc # mmc/sd bus 46device mmcsd # mmc/sd flash cards 47device dwmmc 48 49# Console and misc 50device uart 51device uart_snps 52device pty 53device snp 54device md 55device random # Entropy device 56 57# I2C support 58#device iicbus 59#device iic 60 61# GPIO 62device gpio 63 64device scbus # SCSI bus (required for ATA/SCSI) 65device da # Direct Access (disks) 66device pass 67 68# USB support 69options USB_HOST_ALIGN=32 # Align usb buffers to cache line size. 70device usb 71device dwcotg # DWC OTG controller 72 73device umass 74 75# Ethernet 76device loop 77device ether 78device mii 79device bpf 80 81# Wireless NIC cards 82options IEEE80211_DEBUG 83options IEEE80211_AMPDU_AGE 84options IEEE80211_SUPPORT_MESH 85options IEEE80211_SUPPORT_TDMA 86device wlan # 802.11 support 87device wlan_wep # 802.11 WEP support 88device wlan_ccmp # 802.11 CCMP support 89device wlan_tkip # 802.11 TKIP support 90device firmware # Used by the above 91 92# USB Ethernet support, requires miibus 93device miibus 94device udav 95 96# Flattened Device Tree 97options FDT # Configure using FDT/DTB data 98