diff --git a/sys/arm/conf/AM335X b/sys/arm/conf/AM335X new file mode 100644 --- /dev/null +++ b/sys/arm/conf/AM335X @@ -0,0 +1,170 @@ +# Kernel configuration for TI AM335x SoC + +ident AM335X + +cpu CPU_CORTEXA +cpu CPU_MV_PJ4B +options SMP_ON_UP +machine arm armv7 +makeoptions CONF_CFLAGS="-march=armv7a" + +include "std.armv7" +files "../ti/files.ti" +files "../ti/am335x/files.am335x" + +options SOC_TI_AM335X + +options SCHED_ULE # ULE scheduler +options SMP # Enable multiple cores +options PLATFORM +options LINUX_BOOT_ABI + +# To optimize the boot process +# See 'man 4 tslog' for details +#options TSLOG +#options TSLOGSIZE=1500000 + + +# To get parent UID for new files +options SUIDDIR + +# pseudo devices +device clk +device phy +device hwreset +device nvmem +device regulator +device syscon + +# CPU frequency control +device cpufreq + +# PMU support (for CCNT). +device pmu + +# MMC/SD/SDIO Card slot support +device sdhci # SD controller +device mmc # mmc/sd bus +device mmcsd # mmc/sd flash cards + +# SRAM +#device mmio_sram +#device ti_sram + +# Console and misc +device uart +device uart_ns8250 +device pty +device md # Memory "disks" + +# I2C support +device iicbus +device iic +device ti_i2c +device am335x_pmic # AM335x Power Management IC (TPC65217) +device am335x_rtc # RTC support (power management only) + +# i2c RTCs +device ds1307 # Dallas DS1307 RTC and compatible + +# GPIO +device gpio +device gpioled + +# EVDEV support +device evdev # input event device support +options EVDEV_SUPPORT # evdev support in legacy drivers +device uinput # install /dev/uinput cdev + +# HID support +device hid # Generic HID support + +# SPI +device spibus +device spigen +device ti_spi + +# ADC support +device ti_adc + +# PWM +device pwm +device pwmbus +device pwmc + +# Watchdog support +# If we don't enable the watchdog driver, the BealeBone could potentially +# reboot automatically because the boot loader might have enabled the +# watchdog. +device ti_wdt + +device scbus # SCSI bus (required for ATA/SCSI) +device da # Direct Access (disks) +device cd # CD +device pass # Passthrough device (direct ATA/SCSI access) + +# USB support +options USB_HOST_ALIGN=64 # Align usb buffers to cache line size. +device usb +#device dwcotg # DWC OTG controller +device musb +device uhid # "Human Interface Devices" +device ukbd # Allow keyboard like HIDs to control console + +# Device mode support +device usb_template # Control of the gadget + +# Ethernet +device loop +device ether +device vlan # 802.1Q VLAN support +device bpf +device mii +device mdio + +# Ethernet NICs that use the common MII bus controller code. +# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! +device cpsw # TI Common Platform Ethernet Switch (CPSW) +device smscphy # LAN8710A + +# Framebuffer support +device vt +device kbdmux +device ums +device uep +device wmt +device videomode + +# TDA19988 HDMI Encoder +device tda19988 + +# Pinmux +device fdt_pinctrl +#device pinctrl_single + +# TI Programmable Realtime Unit support +device ti_pruss + +# AM335x DMTIMER PPS +device am335x_dmtpps + +# Mailbox support +device ti_mbox + +# backlight +device backlight +device pwm_backlight + +# DMA controller +#device ti_sdma + +# one wire temp sensor +device ow +device ow_temp + +# Extensible Firmware Interface +options EFI + +# Flattened Device Tree +options FDT # Configure using FDT/DTB data +makeoptions MODULES_EXTRA="dtb/am335x"