head 1.43; access; symbols perseant-exfatfs-base-20250801:1.43 perseant-exfatfs-base-20240630:1.43 perseant-exfatfs:1.43.0.24 perseant-exfatfs-base:1.43 bouyer-sunxi-drm:1.43.0.22 bouyer-sunxi-drm-base:1.43 cjep_sun2x:1.43.0.20 cjep_sun2x-base:1.43 cjep_staticlib_x-base1:1.43 cjep_staticlib_x:1.43.0.18 cjep_staticlib_x-base:1.43 thorpej-futex-base:1.43 bouyer-xenpvh-base2:1.43 phil-wifi-20200421:1.43 bouyer-xenpvh-base1:1.43 phil-wifi-20200411:1.43 bouyer-xenpvh:1.43.0.16 bouyer-xenpvh-base:1.43 phil-wifi-20200406:1.43 ad-namecache-base3:1.43 ad-namecache-base2:1.43 ad-namecache-base1:1.43 ad-namecache:1.43.0.14 ad-namecache-base:1.43 isaki-audio2:1.43.0.12 isaki-audio2-base:1.43 pgoyette-compat-merge-20190127:1.43 pgoyette-compat-20190127:1.43 pgoyette-compat-20190118:1.43 pgoyette-compat-1226:1.43 pgoyette-compat-1126:1.43 pgoyette-compat-1020:1.43 pgoyette-compat-0930:1.43 pgoyette-compat-0906:1.43 pgoyette-compat-0728:1.43 pgoyette-compat-0625:1.43 pgoyette-compat-0521:1.43 pgoyette-compat-0502:1.43 pgoyette-compat-0422:1.43 pgoyette-compat-0415:1.43 pgoyette-compat-0407:1.43 pgoyette-compat-0330:1.43 pgoyette-compat-0322:1.43 pgoyette-compat-0315:1.43 pgoyette-compat:1.43.0.10 pgoyette-compat-base:1.43 perseant-stdc-iso10646:1.43.0.8 perseant-stdc-iso10646-base:1.43 prg-localcount2-base3:1.43 prg-localcount2-base2:1.43 prg-localcount2-base1:1.43 prg-localcount2:1.43.0.6 prg-localcount2-base:1.43 pgoyette-localcount-20170426:1.43 bouyer-socketcan-base1:1.43 pgoyette-localcount-20170320:1.43 bouyer-socketcan:1.43.0.4 bouyer-socketcan-base:1.43 pgoyette-localcount-20170107:1.43 pgoyette-localcount-20161104:1.43 localcount-20160914:1.43 pgoyette-localcount-20160806:1.43 pgoyette-localcount-20160726:1.43 pgoyette-localcount:1.43.0.2 pgoyette-localcount-base:1.43 nick-nhusb-base-20150921:1.31 nick-nhusb-base-20150606:1.28 nick-nhusb:1.3.0.2 nick-nhusb-base-20150406:1.3; locks; strict; comment @# @; 1.43 date 2015.12.13.23.02.56; author jmcneill; state dead; branches; next 1.42; commitid YajIraf5PU8ldQMy; 1.42 date 2015.12.13.17.39.19; author jmcneill; state Exp; branches; next 1.41; commitid 6hhLZAcBxLCiqOMy; 1.41 date 2015.11.21.22.55.46; author jmcneill; state Exp; branches; next 1.40; commitid yV0V8NftwZeYS0Ky; 1.40 date 2015.11.21.12.09.39; author jmcneill; state Exp; branches; next 1.39; commitid UZcHjxo5LetViXJy; 1.39 date 2015.11.19.22.09.16; author jmcneill; state Exp; branches; next 1.38; commitid ASlpQs2AiJCYGKJy; 1.38 date 2015.11.18.18.04.45; author jakllsch; state Exp; branches; next 1.37; commitid oyU2qmrmGoNEmBJy; 1.37 date 2015.11.11.14.04.12; author jakllsch; state Exp; branches; next 1.36; commitid 9w6SoZLKglEogGIy; 1.36 date 2015.11.11.12.35.40; author jmcneill; state Exp; branches; next 1.35; commitid du55xoHtNuJaMFIy; 1.35 date 2015.11.09.23.05.58; author jmcneill; state Exp; branches; next 1.34; commitid foLO6SWuLQ6vhtIy; 1.34 date 2015.10.30.19.11.57; author jmcneill; state Exp; branches; next 1.33; commitid Ip8EotVVvAT1maHy; 1.33 date 2015.10.21.20.02.12; author jmcneill; state Exp; branches; next 1.32; commitid ALltUOziToy2V0Gy; 1.32 date 2015.10.17.21.18.47; author jmcneill; state Exp; branches; next 1.31; commitid fA4AdaNcfb9stvFy; 1.31 date 2015.08.02.00.24.45; author jmcneill; state Exp; branches; next 1.30; commitid wsosglhbisJHYCvy; 1.30 date 2015.08.01.21.20.46; author jmcneill; state Exp; branches; next 1.29; commitid efwQKPGoRxexXBvy; 1.29 date 2015.07.26.10.09.53; author jmcneill; state Exp; branches; next 1.28; commitid 4peyjj7HA5rorMuy; 1.28 date 2015.05.31.14.43.59; author jmcneill; state Exp; branches; next 1.27; commitid K8F4quSSnGR1LBny; 1.27 date 2015.05.30.15.36.27; author jmcneill; state Exp; branches; next 1.26; commitid ogSAl87ZM3R05uny; 1.26 date 2015.05.30.14.13.12; author jmcneill; state Exp; branches; next 1.25; commitid dCiCNTtWwlgsCtny; 1.25 date 2015.05.30.13.47.17; author jmcneill; state Exp; branches; next 1.24; commitid fKl67obqCYbzttny; 1.24 date 2015.05.30.13.25.55; author jmcneill; state Exp; branches; next 1.23; commitid F15JDP5ARMITltny; 1.23 date 2015.05.29.23.18.30; author jmcneill; state Exp; branches; next 1.22; commitid prpkPrjhSNeiFony; 1.22 date 2015.05.18.20.36.42; author jmcneill; state Exp; branches; next 1.21; commitid dpLg5EE5wsDM7Yly; 1.21 date 2015.05.18.19.32.48; author jmcneill; state Exp; branches; next 1.20; commitid qJWJG9SNOGlSLXly; 1.20 date 2015.05.16.11.49.01; author jmcneill; state Exp; branches; next 1.19; commitid idqxdOgsJrETgFly; 1.19 date 2015.05.15.12.18.48; author jmcneill; state Exp; branches; next 1.18; commitid w01JtEteCIL6txly; 1.18 date 2015.05.15.11.49.58; author jmcneill; state Exp; branches; next 1.17; commitid 4fatAWdBT5xdjxly; 1.17 date 2015.05.13.11.07.28; author jmcneill; state Exp; branches; next 1.16; commitid 6e4gJoHpdFqC8hly; 1.16 date 2015.05.12.20.54.30; author jmcneill; state Exp; branches; next 1.15; commitid 9TZevZRPoHc0qcly; 1.15 date 2015.05.11.21.46.50; author jmcneill; state Exp; branches; next 1.14; commitid BwrXLstePXGWJ4ly; 1.14 date 2015.05.10.23.51.08; author jmcneill; state Exp; branches; next 1.13; commitid w7FBbrwlhEGzsXky; 1.13 date 2015.05.10.13.24.11; author jmcneill; state Exp; branches; next 1.12; commitid 2ARmPlSJJVevZTky; 1.12 date 2015.05.07.23.55.31; author jmcneill; state Exp; branches; next 1.11; commitid tRXagobRmcI3Azky; 1.11 date 2015.05.05.00.25.44; author jmcneill; state Exp; branches; next 1.10; commitid JFx97yglMlhfQbky; 1.10 date 2015.05.03.18.49.28; author jmcneill; state Exp; branches; next 1.9; commitid 6X1E7QBCduH212ky; 1.9 date 2015.05.03.01.07.44; author jmcneill; state Exp; branches; next 1.8; commitid rIMgxwJtPehh8Wjy; 1.8 date 2015.05.02.17.15.20; author jmcneill; state Exp; branches; next 1.7; commitid wY3qxLY3153KwTjy; 1.7 date 2015.05.02.12.09.34; author jmcneill; state Exp; branches; next 1.6; commitid ji0XV8cxNPEQPRjy; 1.6 date 2015.04.28.11.15.55; author jmcneill; state Exp; branches; next 1.5; commitid Fnvj44XGfJ8jFljy; 1.5 date 2015.04.27.09.56.36; author jmcneill; state Exp; branches; next 1.4; commitid hZ7jecrfbQacgdjy; 1.4 date 2015.04.18.08.06.13; author skrll; state Exp; branches; next 1.3; commitid coK26e77AX9fW2iy; 1.3 date 2015.04.03.23.25.07; author jmcneill; state Exp; branches 1.3.2.1; next 1.2; commitid c8RX6hKDhZZkvcgy; 1.2 date 2015.03.31.17.37.47; author riz; state Exp; branches; next 1.1; commitid 2aTrGLmakbu0GMfy; 1.1 date 2015.03.29.10.41.59; author jmcneill; state Exp; branches; next ; commitid lX1uoIYXP4wrrufy; 1.3.2.1 date 2015.04.03.23.25.07; author skrll; state dead; branches; next 1.3.2.2; commitid pz01Zhy7RP6iGxgy; 1.3.2.2 date 2015.04.06.15.17.55; author skrll; state Exp; branches; next 1.3.2.3; commitid pz01Zhy7RP6iGxgy; 1.3.2.3 date 2015.06.06.14.39.58; author skrll; state Exp; branches; next 1.3.2.4; commitid O6LVO5i6UulOvnoy; 1.3.2.4 date 2015.09.22.12.05.40; author skrll; state Exp; branches; next 1.3.2.5; commitid CpNWKp3ozVNTafCy; 1.3.2.5 date 2015.12.27.12.09.34; author skrll; state dead; branches; next ; commitid BTSqUD4SdJ5k7AOy; desc @@ 1.43 log @Remove JETSONTK1 and NYAN-BIG kernels, add a new unified kernel named TEGRA. @ text @# # $NetBSD: JETSONTK1,v 1.42 2015/12/13 17:39:19 jmcneill Exp $ # # NVIDIA Jetson TK1 - Tegra K1 development kit # https://developer.nvidia.com/jetson-tk1 # include "arch/evbarm/conf/std.tegra" include "arch/evbarm/conf/GENERIC.common" options CPU_CORTEXA15 options SOC_TEGRA124 options BOARD_JETSONTK1 options MULTIPROCESSOR #options MEMSIZE=2048 options FDT # Flattened Device Tree support pseudo-device openfirm # /dev/openfirm options DIAGNOSTIC # internal consistency checks #options DEBUG #options LOCKDEBUG #options PMAP_DEBUG # Enable pmap_debug_level code #options IPKDB # remote kernel debugging #options VERBOSE_INIT_ARM # verbose bootstraping messages makeoptions DEBUG="-g" # compile full symbol table makeoptions COPY_SYMTAB=1 config netbsd root on ? type ? mainbus0 at root cpu* at mainbus? # A15 core devices armperiph0 at mainbus? armgic0 at armperiph? # Interrupt Controller armgtmr0 at armperiph? # ARM Generic Timer # On-board I/O tegrafdt0 at mainbus? fdt0 at tegrafdt0 simplebus* at fdt? fdt* at simplebus? fregulator* at fdt? # Interrupt controller tegralic* at fdt? # LIC gic* at fdt? # GIC # Memory controller tegramc* at fdt? # MC # FUSE controller tegrafuse* at fdt? # FUSE # Power management controller tegrapmc* at fdt? # PMC # Clock and Reset controller tegracar0 at fdt? # CAR # GPIO controller tegragpio* at fdt? # GPIO gpio* at gpiobus? # Timers tegratimer* at fdt? # Timers # MPIO / Pinmux tegrampio* at fdt? # MPIO # XUSB PADCTL tegraxusbpad* at fdt? # XUSB PADCTL # PCIE tegrapcie0 at fdt? # PCIE pci* at tegrapcie0 ppb* at pci? dev ? function ? pci* at ppb? # Ethernet re* at pci? dev ? function ? # Realtek RTL8111GS rgephy* at mii? phy ? ukphy* at mii? phy ? # Mini-PCIe Wireless options ATHHAL_AR5212,ATHHAL_RF2425 # AR5BHB63 ath* at pci? dev ? function ? # Atheros IEEE 802.11 athn* at pci? dev ? function ? # Atheros IEEE 802.11 # UART com* at fdt? # UART options CONSADDR=0x70006300, CONSPEED=115200 # I2C tegrai2c* at fdt? # I2C iic* at tegrai2c? titemp* at iic? seeprom* at iic? as3722pmic* at iic? #titemp0 at iic0 addr 0x4c # TI TMP451 #seeprom0 at iic0 addr 0x56 size 256 # Atmel 24C02 serial EEPROM #ddc0 at iic3 addr 0x50 # HDMI DDC #as3722pmic0 at iic4 addr 0x40 # AMS AS3722 PMIC # RTC tegrartc* at fdt? # RTC # SDMMC sdhc* at fdt? # SDMMC sdmmc* at sdhc? ld* at sdmmc? # SATA ahcisata* at fdt? # SATA atabus* at ata? atapibus* at atapi? wd* at atabus? drive ? cd* at atapibus? drive ? # HDA hdaudio* at fdt? # HDA hdafg* at hdaudiobus? audio* at audiobus? options HDAUDIOVERBOSE options HDAUDIO_32BIT_ACCESS options HDAUDIO_ENABLE_HDMI options HDAUDIO_ENABLE_DISPLAYPORT # HDMI CEC tegracec0 at fdt? # HDMI CEC hdmicec* at hdmicecbus? # Display tegradrm* at fdt? # Display tegrafb* at tegrafbbus? wsdisplay* at wsemuldisplaydev? options VCONS_DRAW_INTR options WSEMUL_VT100 options WS_DEFAULT_FG=WSCOL_WHITE options WS_DEFAULT_BG=WSCOL_BLACK options WS_KERNEL_FG=WSCOL_GREEN options WS_KERNEL_BG=WSCOL_BLACK options WSDISPLAY_COMPAT_PCVT options WSDISPLAY_COMPAT_SYSCONS options WSDISPLAY_COMPAT_USL options WSDISPLAY_COMPAT_RAWKBD options WSDISPLAY_DEFAULTSCREENS=4 pseudo-device wsmux pseudo-device wsfont # GPU #nouveau0 at fdt? # GPU # Thermal throttling controller tegrasoctherm* at fdt? # SOC_THERM # USB 2.0 tegrausbphy* at fdt? # USB PHY ehci* at fdt? # USB usb* at ehci? include "dev/usb/usbdevices.config" midi* at midibus? cinclude "arch/evbarm/conf/JETSONTK1.local" @ 1.42 log @Use fdt for device enumeration. @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.41 2015/11/21 22:55:46 jmcneill Exp $ @ 1.41 log @enable tegrasoctherm @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.40 2015/11/21 12:09:39 jmcneill Exp $ d17 3 d40 10 a49 1 tegraio0 at mainbus? d52 1 a52 1 tegramc0 at tegraio? # MC d55 1 a55 1 tegrafuse0 at tegraio? # FUSE d58 1 a58 1 tegrapmc0 at tegraio? # PMC d61 1 a61 1 tegracar0 at tegraio? # CAR d64 1 a64 1 tegragpio0 at tegraio? # GPIO a65 2 gpiobutton0 at gpio16 offset 0 mask 1 flag 0x01 # Power button gpiorfkill0 at gpio23 offset 7 mask 1 # WiFi enable d68 1 a68 1 tegratimer0 at tegraio? # Timers d71 1 a71 1 tegrampio0 at tegraio? # MPIO d74 1 a74 1 tegraxusbpad0 at tegraio? # XUSB PADCTL d77 1 a77 1 tegrapcie0 at tegraio? # PCIE d93 1 a93 1 com3 at tegraio? port 3 # UART-D d97 10 a106 14 tegrai2c0 at tegraio? port 0 # I2C1 iic0 at tegrai2c0 titemp0 at iic0 addr 0x4c # TI TMP451 seeprom0 at iic0 addr 0x56 size 256 # Atmel 24C02 serial EEPROM tegrai2c1 at tegraio? port 1 # I2C2 iic1 at tegrai2c1 tegrai2c2 at tegraio? port 2 # I2C3 iic2 at tegrai2c2 tegrai2c3 at tegraio? port 3 # I2C4 iic3 at tegrai2c3 ddc0 at iic3 addr 0x50 # HDMI DDC tegrai2c4 at tegraio? port 4 # I2C5 iic4 at tegrai2c4 as3722pmic0 at iic4 addr 0x40 # AMS AS3722 PMIC d109 1 a109 1 tegrartc0 at tegraio? # RTC d112 3 a114 7 sdhc2 at tegraio? port 2 # SDMMC3 (SD card) sdmmc2 at sdhc2 sdhc3 at tegraio? port 3 # SDMMC4 (eMMC) sdmmc3 at sdhc3 ld0 at sdmmc3 # eMMC ld1 at sdmmc2 # SD card d117 1 a117 1 ahcisata0 at tegraio? # SATA d124 1 a124 1 hdaudio* at tegraio? # HDA d133 1 a133 1 tegracec0 at tegraio? # HDMI CEC a135 3 # Host1x subsystem tegrahost1x0 at tegraio? # HOST1X d137 1 a137 1 tegradrm0 at tegraio? # Display d155 1 a155 1 #nouveau0 at tegraio? # GPU d158 1 a158 1 tegrasoctherm0 at tegraio? # SOC_THERM d161 3 a163 5 tegraehci0 at tegraio? port 0 # USB1 tegraehci1 at tegraio? port 1 # USB2 tegraehci2 at tegraio? port 2 # USB3 tegrausbphy* at tegrausbphybus? # USB PHY usb* at tegraehci? @ 1.40 log @Add FUSE driver, use it to determine maximum CPU frequency for the board. Retire CPUFREQ_BOOT option and always use highest available CPU frequency. @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.39 2015/11/19 22:09:16 jmcneill Exp $ d158 3 @ 1.39 log @Remove HOST1X and AHB_A2 from pmap_devmap @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.38 2015/11/18 18:04:45 jakllsch Exp $ a13 1 options CPUFREQ_BOOT=2292 d42 3 @ 1.38 log @Add support for the AR5BHB63 ath(4) (the only ath(4) in Half Mini Card form that isn't supported by athn(4)). @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.37 2015/11/11 14:04:12 jakllsch Exp $ d157 5 a161 7 tegrausbphy0 at tegraio? port 0 # USB PHY1 tegrausbphy1 at tegraio? port 1 # USB PHY2 tegrausbphy2 at tegraio? port 2 # USB PHY3 ehci0 at tegraio? port 0 # USB1 ehci1 at tegraio? port 1 # USB2 ehci2 at tegraio? port 2 # USB3 usb* at ehci? @ 1.37 log @enable cd(4) in JETSONTK1 @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.36 2015/11/11 12:35:40 jmcneill Exp $ d76 2 @ 1.36 log @enable as3722pmic @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.35 2015/11/09 23:05:58 jmcneill Exp $ d115 1 a115 1 #cd* at atapibus? drive ? @ 1.35 log @Port the Tegra (2D) display drivers to the DRM framework. tegradrm0 at tegraio0 tegrafb0 at tegradrm0 tegrafb0: framebuffer at 0x9b000000, size 1280x720, depth 32, stride 5120 wsdisplay0 at tegrafb0 kbdmux 1 wsmux1: connecting to wsdisplay0 wsdisplay0: screen 0-3 added (default, vt100 emulation) tegradrm0: info: registered panic notifier tegradrm0: initialized tegra 0.1.0 20151108 on minor 0 Same features as before (fb console, X wsfb driver works) with the addition of being able to use xf86-video-modesetting and xrandr to switch video modes at runtime. @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.34 2015/10/30 19:11:57 jmcneill Exp $ d96 1 @ 1.34 log @initialize phy for the third EHCI controller @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.33 2015/10/21 20:02:12 jmcneill Exp $ d125 4 d132 4 a135 5 # Display controller tegradc0 at tegraio? port 0 # DISPLAYA tegradc1 at tegraio? port 1 # DISPLAYB genfb* at tegradc? wsdisplay* at genfb? a149 5 # HDMI tegrahdmi0 at tegraio? # HDMI tegracec0 at tegraio? # HDMI CEC hdmicec* at hdmicecbus? @ 1.33 log @Split out USB PHY support out of the ehci glue and into a separate driver. @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.32 2015/10/17 21:18:47 jmcneill Exp $ d158 1 @ 1.32 log @add nouveau, commented out for now @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.31 2015/08/02 00:24:45 jmcneill Exp $ d156 2 @ 1.31 log @enable eMMC @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.30 2015/08/01 21:20:46 jmcneill Exp $ d152 3 @ 1.30 log @Enable tegracec and hdmicec @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.29 2015/07/26 10:09:53 jmcneill Exp $ d103 2 a104 2 #sdhc3 at tegraio? port 3 # SDMMC4 (eMMC) #sdmmc3 at sdhc3 d106 1 a106 1 #ld0 at sdmmc3 # eMMC @ 1.29 log @disable DEBUG and LOCKDEBUG @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.28 2015/05/31 14:43:59 jmcneill Exp $ d149 2 @ 1.28 log @enable MULTIPROCESSOR @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.27 2015/05/30 15:36:27 jmcneill Exp $ d19 2 a20 2 options DEBUG options LOCKDEBUG @ 1.27 log @attach gpiobutton to power button pin @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.26 2015/05/30 14:13:12 jmcneill Exp $ d15 1 a15 1 #options MULTIPROCESSOR @ 1.26 log @add HDAUDIOVERBOSE @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.25 2015/05/30 13:47:17 jmcneill Exp $ d52 2 a53 1 gpiorfkill0 at gpio23 offset 7 mask 1 # WF_EN @ 1.25 log @enable hdaudio @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.24 2015/05/30 13:25:55 jmcneill Exp $ d119 1 @ 1.24 log @Tegra K1 Watchdog support. @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.23 2015/05/29 23:18:30 jmcneill Exp $ d116 6 a121 5 #hdaudio* at tegraio? # HDA #hdafg* at hdaudiobus? #audio* at audiobus? #options HDAUDIO_ENABLE_HDMI #options HDAUDIO_ENABLE_DISPLAYPORT @ 1.23 log @Replace ath with athn, and attach gpiorfkill to GPIO X7 @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.22 2015/05/18 20:36:42 jmcneill Exp $ d54 3 @ 1.22 log @Power-on Host1x subsystem @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.21 2015/05/18 19:32:48 jmcneill Exp $ d52 1 d72 1 a72 2 ath* at pci? dev ? function ? # Atheros IEEE 802.11 include "external/isc/atheros_hal/conf/std.ath_hal" @ 1.21 log @Work in progress HDMI / framebuffer support for Tegra K1. @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.20 2015/05/16 11:49:01 jmcneill Exp $ d119 3 @ 1.20 log @add ddc at iic3 (HDMI DDC) @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.19 2015/05/15 12:18:48 jmcneill Exp $ d119 22 @ 1.19 log @enable SATA, maybe it will inspire someone to fix it @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.18 2015/05/15 11:49:58 jmcneill Exp $ d87 1 a87 1 tegrai2c3 at tegraio? port 3 # I2C4 (HDMI DDC) d89 1 @ 1.18 log @enable XUSB PADCTL @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.17 2015/05/13 11:07:28 jmcneill Exp $ d105 4 a108 4 #ahcisata0 at tegraio? # SATA #atabus* at ata? #atapibus* at atapi? #wd* at atabus? drive ? @ 1.17 log @select max cpu frequency (~2.3GHz) at boot @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.16 2015/05/12 20:54:30 jmcneill Exp $ d56 3 @ 1.16 log @add titemp @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.15 2015/05/11 21:46:50 jmcneill Exp $ d14 1 @ 1.15 log @add ath@@pci (mini-PCIe expansion slot) @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.14 2015/05/10 23:51:08 jmcneill Exp $ d77 1 @ 1.14 log @add tegrai2c (I2C[12345]) and seeprom on I2C1 @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.13 2015/05/10 13:24:11 jmcneill Exp $ d66 4 @ 1.13 log @half-attached sdhc breaks reset for some reason, so disable eMMC until we fix it @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.12 2015/05/07 23:55:31 jmcneill Exp $ d70 13 @ 1.12 log @enable tegrampio @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.11 2015/05/05 00:25:44 jmcneill Exp $ d76 2 a77 2 sdhc3 at tegraio? port 3 # SDMMC4 (eMMC) sdmmc3 at sdhc3 d79 1 a79 1 ld0 at sdmmc3 # eMMC @ 1.11 log @Tegra K1 RTC driver. @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.10 2015/05/03 18:49:28 jmcneill Exp $ d52 3 @ 1.10 log @disable MULTIPROCESSOR for now @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.9 2015/05/03 01:07:44 jmcneill Exp $ d67 3 @ 1.9 log @Add Tegra K1 PCIE support. @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.8 2015/05/02 17:15:20 jmcneill Exp $ d14 1 a14 1 options MULTIPROCESSOR @ 1.8 log @jetsontk1 specific gpio setup for sdhc @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.7 2015/05/02 12:09:34 jmcneill Exp $ d22 1 a22 1 options VERBOSE_INIT_ARM # verbose bootstraping messages d52 11 @ 1.7 log @enable tegragpio @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.6 2015/04/28 11:15:55 jmcneill Exp $ d13 1 @ 1.6 log @Add a basic driver for the Clock and Reset controller, use it to determine CPU frequency. @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.5 2015/04/27 09:56:36 jmcneill Exp $ d47 4 @ 1.5 log @disable sata and hda until we learn how to power them up @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.4 2015/04/18 08:06:13 skrll Exp $ d44 3 @ 1.4 log @Typo @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.3 2015/04/03 23:25:07 jmcneill Exp $ d58 5 a62 5 ahcisata0 at tegraio? # SATA atabus* at ata? atapibus* at atapi? wd* at atabus? drive ? cd* at atapibus? drive ? d65 5 a69 5 hdaudio* at tegraio? # HDA hdafg* at hdaudiobus? audio* at audiobus? options HDAUDIO_ENABLE_HDMI options HDAUDIO_ENABLE_DISPLAYPORT @ 1.3 log @Move common non-device stuff to GENERIC.common. Simplify board configs, and let them all share common settings. @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.2 2015/03/31 17:37:47 riz Exp $ d30 1 a30 1 # A5 core devices @ 1.3.2.1 log @file JETSONTK1 was added on branch nick-nhusb on 2015-04-06 15:17:55 +0000 @ text @d1 80 @ 1.3.2.2 log @Sync with HEAD @ text @a0 80 # # $NetBSD: JETSONTK1,v 1.3 2015/04/03 23:25:07 jmcneill Exp $ # # NVIDIA Jetson TK1 - Tegra K1 development kit # https://developer.nvidia.com/jetson-tk1 # include "arch/evbarm/conf/std.tegra" include "arch/evbarm/conf/GENERIC.common" options CPU_CORTEXA15 options SOC_TEGRA124 options MULTIPROCESSOR #options MEMSIZE=2048 options DIAGNOSTIC # internal consistency checks options DEBUG options LOCKDEBUG #options PMAP_DEBUG # Enable pmap_debug_level code #options IPKDB # remote kernel debugging options VERBOSE_INIT_ARM # verbose bootstraping messages makeoptions DEBUG="-g" # compile full symbol table makeoptions COPY_SYMTAB=1 config netbsd root on ? type ? mainbus0 at root cpu* at mainbus? # A5 core devices armperiph0 at mainbus? armgic0 at armperiph? # Interrupt Controller armgtmr0 at armperiph? # ARM Generic Timer # On-board I/O tegraio0 at mainbus? # Memory controller tegramc0 at tegraio? # MC # Power management controller tegrapmc0 at tegraio? # PMC # UART com3 at tegraio? port 3 # UART-D options CONSADDR=0x70006300, CONSPEED=115200 # SDMMC sdhc2 at tegraio? port 2 # SDMMC3 (SD card) sdmmc2 at sdhc2 sdhc3 at tegraio? port 3 # SDMMC4 (eMMC) sdmmc3 at sdhc3 ld0 at sdmmc3 # eMMC ld1 at sdmmc2 # SD card # SATA ahcisata0 at tegraio? # SATA atabus* at ata? atapibus* at atapi? wd* at atabus? drive ? cd* at atapibus? drive ? # HDA hdaudio* at tegraio? # HDA hdafg* at hdaudiobus? audio* at audiobus? options HDAUDIO_ENABLE_HDMI options HDAUDIO_ENABLE_DISPLAYPORT # USB 2.0 ehci0 at tegraio? port 0 # USB1 ehci1 at tegraio? port 1 # USB2 ehci2 at tegraio? port 2 # USB3 usb* at ehci? include "dev/usb/usbdevices.config" midi* at midibus? cinclude "arch/evbarm/conf/JETSONTK1.local" @ 1.3.2.3 log @Sync with HEAD @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.3.2.2 2015/04/06 15:17:55 skrll Exp $ a12 2 options BOARD_JETSONTK1 options CPUFREQ_BOOT=2292 d21 1 a21 1 #options VERBOSE_INIT_ARM # verbose bootstraping messages d30 1 a30 1 # A15 core devices a43 32 # Clock and Reset controller tegracar0 at tegraio? # CAR # GPIO controller tegragpio0 at tegraio? # GPIO gpio* at gpiobus? gpiobutton0 at gpio16 offset 0 mask 1 flag 0x01 # Power button gpiorfkill0 at gpio23 offset 7 mask 1 # WiFi enable # Timers tegratimer0 at tegraio? # Timers # MPIO / Pinmux tegrampio0 at tegraio? # MPIO # XUSB PADCTL tegraxusbpad0 at tegraio? # XUSB PADCTL # PCIE tegrapcie0 at tegraio? # PCIE pci* at tegrapcie0 ppb* at pci? dev ? function ? pci* at ppb? # Ethernet re* at pci? dev ? function ? # Realtek RTL8111GS rgephy* at mii? phy ? ukphy* at mii? phy ? # Mini-PCIe Wireless athn* at pci? dev ? function ? # Atheros IEEE 802.11 a47 18 # I2C tegrai2c0 at tegraio? port 0 # I2C1 iic0 at tegrai2c0 titemp0 at iic0 addr 0x4c # TI TMP451 seeprom0 at iic0 addr 0x56 size 256 # Atmel 24C02 serial EEPROM tegrai2c1 at tegraio? port 1 # I2C2 iic1 at tegrai2c1 tegrai2c2 at tegraio? port 2 # I2C3 iic2 at tegrai2c2 tegrai2c3 at tegraio? port 3 # I2C4 iic3 at tegrai2c3 ddc0 at iic3 addr 0x50 # HDMI DDC tegrai2c4 at tegraio? port 4 # I2C5 iic4 at tegrai2c4 # RTC tegrartc0 at tegraio? # RTC d51 2 a52 2 #sdhc3 at tegraio? port 3 # SDMMC4 (eMMC) #sdmmc3 at sdhc3 d54 1 a54 1 #ld0 at sdmmc3 # eMMC d62 1 a62 1 #cd* at atapibus? drive ? a67 2 options HDAUDIOVERBOSE options HDAUDIO_32BIT_ACCESS a70 25 # Host1x subsystem tegrahost1x0 at tegraio? # HOST1X # Display controller tegradc0 at tegraio? port 0 # DISPLAYA tegradc1 at tegraio? port 1 # DISPLAYB genfb* at tegradc? wsdisplay* at genfb? options VCONS_DRAW_INTR options WSEMUL_VT100 options WS_DEFAULT_FG=WSCOL_WHITE options WS_DEFAULT_BG=WSCOL_BLACK options WS_KERNEL_FG=WSCOL_GREEN options WS_KERNEL_BG=WSCOL_BLACK options WSDISPLAY_COMPAT_PCVT options WSDISPLAY_COMPAT_SYSCONS options WSDISPLAY_COMPAT_USL options WSDISPLAY_COMPAT_RAWKBD options WSDISPLAY_DEFAULTSCREENS=4 pseudo-device wsmux pseudo-device wsfont # HDMI tegrahdmi0 at tegraio? # HDMI @ 1.3.2.4 log @Sync with HEAD @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.3.2.3 2015/06/06 14:39:58 skrll Exp $ d19 2 a20 2 #options DEBUG #options LOCKDEBUG d103 2 a104 2 sdhc3 at tegraio? port 3 # SDMMC4 (eMMC) sdmmc3 at sdhc3 d106 1 a106 1 ld0 at sdmmc3 # eMMC a148 2 tegracec0 at tegraio? # HDMI CEC hdmicec* at hdmicecbus? @ 1.3.2.5 log @Sync with HEAD (as of 26th Dec) @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.3.2.4 2015/09/22 12:05:40 skrll Exp $ @ 1.2 log @Spell "Independent" correctly in cargo-culted comments. @ text @d2 1 a2 1 # $NetBSD: JETSONTK1,v 1.1 2015/03/29 10:41:59 jmcneill Exp $ d9 1 a9 11 # estimated number of users maxusers 32 # Standard system options options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT #options NTP # NTP phase/frequency locked loop # CPU options d13 2 a14 5 options PMAPCOUNTERS # Architecture options # File systems a15 109 file-system FFS # UFS #file-system LFS # log-structured file system file-system MFS # memory file system file-system NFS # Network file system #file-system ADOSFS # AmigaDOS-compatible file system #file-system EXT2FS # second extended file system (linux) #file-system CD9660 # ISO 9660 + Rock Ridge file system file-system MSDOSFS # MS-DOS file system #file-system FDESC # /dev/fd file-system KERNFS # /kern #file-system NULLFS # loopback file system file-system PROCFS # /proc #file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) #file-system UMAPFS # NULLFS + uid and gid remapping #file-system UNION # union file system file-system TMPFS # memory file system file-system PTYFS # /dev/pts/N support # File system options #options QUOTA # legacy UFS quotas #options QUOTA2 # new, in-filesystem UFS quotas #options FFS_EI # FFS Endian Independent support #options NFSSERVER #options WAPBL # File system journaling support - Experimental #options FFS_NO_SNAPSHOT # No FFS snapshot support # Networking options #options GATEWAY # packet forwarding options INET # IP + ICMP + TCP + UDP options INET6 # IPV6 #options IPSEC # IP security #options IPSEC_DEBUG # debug for IP security #options MROUTING # IP multicast routing #options PIM # Protocol Independent Multicast #options NETATALK # AppleTalk networking #options PPP_BSDCOMP # BSD-Compress compression support for PPP #options PPP_DEFLATE # Deflate compression support for PPP #options PPP_FILTER # Active filter support for PPP (requires bpf) #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG options NFS_BOOT_BOOTP #options NFS_BOOT_DHCP #options NFS_BOOT_BOOTSTATIC #options NFS_BOOTSTATIC_MYIP="\"192.168.1.4\"" #options NFS_BOOTSTATIC_GWIP="\"192.168.1.1\"" #options NFS_BOOTSTATIC_MASK="\"255.255.255.0\"" #options NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\"" #options NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\"" options NFS_BOOT_RWSIZE=1024 # Compatibility options #options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries #options COMPAT_43 # 4.3BSD compatibility. #options COMPAT_09 # NetBSD 0.9, #options COMPAT_10 # NetBSD 1.0, #options COMPAT_11 # NetBSD 1.1, #options COMPAT_12 # NetBSD 1.2, #options COMPAT_13 # NetBSD 1.3, #options COMPAT_14 # NetBSD 1.4, #options COMPAT_15 # NetBSD 1.5, #options COMPAT_16 # NetBSD 1.6, #options COMPAT_20 # NetBSD 2.0, #options COMPAT_30 # NetBSD 3.0, #options COMPAT_40 # NetBSD 4.0, #options COMPAT_50 # NetBSD 5.0, #options COMPAT_60 # NetBSD 6.0, and options COMPAT_70 # NetBSD 7.0 binary compatibility. #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. #options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. # Shared memory options options SYSVMSG # System V-like message queues options SYSVSEM # System V-like semaphores #options SEMMNI=10 # number of semaphore identifiers #options SEMMNS=60 # number of semaphores in system #options SEMUME=10 # max number of undo entries per process #options SEMMNU=30 # number of undo structures in system options SYSVSHM # System V-like memory sharing # Device options #options MEMORY_DISK_HOOKS # boottime setup of ramdisk #options MEMORY_DISK_ROOT_SIZE=8192 # Size in blocks #options MEMORY_DISK_DYNAMIC #options MINIROOTSIZE=1000 # Size in blocks #options MEMORY_DISK_IS_ROOT # use memory disk as root #options MEMORY_DISK_FBFLAGS=RB_SINGLE # Miscellaneous kernel options options KTRACE # system call tracing, a la ktrace(1) #options KMEMSTATS # kernel memory statistics #options SCSIVERBOSE # Verbose SCSI errors #options MIIVERBOSE # Verbose MII autoconfuration messages #options DDB_KEYCODE=0x40 #options USERCONF # userconf(4) support #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) # Alternate buffer queue strategies for better responsiveness under high # disk I/O load. #options BUFQ_READPRIO options BUFQ_PRIOCSCAN # Development and Debugging options #options PERFCTRS # performance counters a21 5 options DDB # in-kernel debugger options DDB_ONPANIC=1 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB options DDB_COMMANDONENTER="bt" #options KGDB a24 2 options BOOT_ARGS="\"\"" a26 1 # The main bus device a27 2 # The boot cpu a28 1 options MULTIPROCESSOR a34 3 # Specify the memory size in megabytes. #options MEMSIZE=2048 a79 21 # Pseudo-Devices # disk/mass storage pseudo-devices #pseudo-device md # memory disk device (ramdisk) pseudo-device vnd # disk-like interface to files #pseudo-device fss # file system snapshot device pseudo-device drvctl # driver control #pseudo-device putter # for puffs and pud # network pseudo-devices pseudo-device bpfilter # Berkeley packet filter pseudo-device loop # network loopback #pseudo-device kttcp # network loopback # miscellaneous pseudo-devices pseudo-device pty # pseudo-terminals #options RND_COM #pseudo-device clockctl # user control of clock subsystem pseudo-device ksyms # /dev/ksyms pseudo-device lockstat # lock profiling @ 1.1 log @NVIDIA Tegra K1 support, work in progress. @ text @d2 1 a2 1 # $NetBSD: ODROID-C1,v 1.13 2015/03/22 17:28:22 jmcneill Exp $ d50 1 a50 1 #options FFS_EI # FFS Endian Independant support @