1# 2# Custom kernel for Marvell Armada XP 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://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config 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 MV-88F78XX0 24 25include "std.armv7" 26include "../mv/armadaxp/std.mv78x60" 27 28options SOC_MV_ARMADAXP 29 30options SCHED_ULE # ULE scheduler 31options SMP # Enable multiple cores 32 33# NFS root from boopt/dhcp 34options BOOTP 35options BOOTP_NFSROOT 36options BOOTP_NFSV3 37options BOOTP_WIRED_TO=mge0 38 39options ROOTDEVNAME=\"ufs:/dev/da0p1\" 40 41options MUTEX_NOINLINE 42options RWLOCK_NOINLINE 43options NO_FFS_SNAPSHOT 44options NO_SWAPPING 45 46# Pseudo devices 47device pty 48device loop 49device md 50 51# USB 52device usb 53device ehci 54device umass 55device scbus 56device pass 57device da 58 59# SATA 60device mvs 61 62# Serial ports 63device uart 64 65# I2C (TWSI) 66device iic 67device iicbus 68device twsi 69 70#Network 71device ether 72device mge # Marvell Gigabit Ethernet controller 73device mii 74device mdio 75device e1000phy 76device bpf 77options DEVICE_POLLING 78device vlan 79 80# pseudo devices 81device clk 82device phy 83device hwreset 84device nvmem 85device regulator 86device syscon 87 88# Minimal GPIO support 89device gpio 90 91#PCI/PCIE 92device pci 93 94# Flattened Device Tree 95options FDT # Configure using FDT/DTB data 96options FDT_DTB_STATIC 97makeoptions FDT_DTS_FILE=db78460.dts 98 99options PLATFORM 100