NetBSD/sys/arch/evbarm/conf/files.netwalker
2014-05-06 12:02:52 +00:00

60 lines
1.6 KiB
Plaintext

# $NetBSD: files.netwalker,v 1.8 2014/05/06 12:02:52 hkenken Exp $
#
# Sharp Netwalker configuration info
#
file arch/arm/arm32/arm32_boot.c
file arch/arm/arm32/arm32_kvminit.c
file arch/arm/arm32/arm32_reboot.c
file arch/evbarm/netwalker/netwalker_machdep.c
# Kernel boot arguments
defparam opt_machdep.h BOOT_ARGS
# CPU support and integrated peripherals
include "arch/arm/imx/files.imx51"
device imxusbc_axi
attach imxusbc at axi with imxusbc_axi
file arch/evbarm/netwalker/netwalker_usb.c imxusbc_axi
# LCD controller
attach ipu at axi with lcd_netwalker
file arch/evbarm/netwalker/netwalker_lcd.c lcd_netwalker
defflag opt_netwalker_lcd.h LCD_DEBUG
# CSPI & eCSPI Controller
attach imxspi at axi with spi_netwalker
file arch/evbarm/netwalker/netwalker_spi.c spi_netwalker
# Mouse button
device mousebtn: wsmousedev
attach mousebtn at gpio with netwalker_btn
file arch/evbarm/netwalker/netwalker_btn.c netwalker_btn
defflag opt_mousebtn.h MOUSEBTN_POLLING
# Power button
device pwrbtn: sysmon_envsys
attach pwrbtn at gpio with netwalker_pwr
file arch/evbarm/netwalker/netwalker_pwr.c netwalker_pwr
# Lid close switch
device lidsw: sysmon_envsys
attach lidsw at gpio with netwalker_lid
file arch/evbarm/netwalker/netwalker_lid.c netwalker_lid
# LCD BackLight
attach imxpwm at axi with netwalker_backlight
file arch/evbarm/netwalker/netwalker_backlight.c netwalker_backlight needs-flag
# OJ6SH-T25 Optical Joystick
device oj6sh: wsmousedev
attach oj6sh at spi
file dev/spi/oj6sh.c oj6sh
defflag opt_oj6sh.h OJ6SH_UP_Y_RIGHT_X
OJ6SH_DOWN_Y_LEFT_X
OJ6SH_UP_X_LEFT_Y
OJ6SH_DOWN_X_RIGHT_Y