head 1.11; access; symbols; locks; strict; comment @# @; 1.11 date 2026.08.12.09.22.58; author yurix; state Exp; branches; next 1.10; commitid 9FRb9CkovLpWtkRG; 1.10 date 2026.07.31.19.46.10; author andvar; state Exp; branches; next 1.9; commitid gsjCgErdaVjxjQPG; 1.9 date 2026.07.05.21.40.09; author yurix; state Exp; branches; next 1.8; commitid Iw4CGFdQjjjpMvMG; 1.8 date 2026.03.30.08.17.30; author yurix; state Exp; branches; next 1.7; commitid ZE9YQyaZJnlwsYzG; 1.7 date 2026.03.30.08.15.47; author yurix; state Exp; branches; next 1.6; commitid ISwDIC4IL3PVrYzG; 1.6 date 2026.03.30.08.14.45; author yurix; state Exp; branches; next 1.5; commitid EmaLxbqe2ICzrYzG; 1.5 date 2026.03.30.08.13.52; author yurix; state Exp; branches; next 1.4; commitid qPxOyUBJVU6hrYzG; 1.4 date 2026.03.30.08.08.33; author yurix; state Exp; branches; next 1.3; commitid l56eyC7l4DgspYzG; 1.3 date 2026.03.30.08.05.46; author yurix; state Exp; branches; next 1.2; commitid Sb2J7ziXec1voYzG; 1.2 date 2026.02.01.11.31.29; author yurix; state Exp; branches; next 1.1; commitid ofvcvL7QbmAbmFsG; 1.1 date 2025.10.09.06.15.17; author skrll; state Exp; branches; next ; commitid UBhRwKIcmMVPhRdG; desc @@ 1.11 log @evbarm/ti_edma: enable on am18xx SoCs The linux dt-bindings allow two different ways to specify power/clock domains for the edma3. This commit adds support for the way used on the am18xx (powerdomains). @ text @# $NetBSD: GENERIC_V5,v 1.10 2026/07/31 19:46:10 andvar Exp $ # # GENERIC ARMv5 kernel # include "arch/evbarm/conf/std.generic_v5" include "arch/evbarm/conf/files.generic_v5" include "arch/evbarm/conf/GENERIC.common" options CPU_ARM9E options SOC_IMX23 options SOC_AM18XX #options DIAGNOSTIC # internal consistency checks #options DEBUG #options LOCKDEBUG #options UVMHIST # kernhist for uvm/pmap subsystems # These options enable verbose messages for several subsystems. # Warning, these may compile large string tables into the kernel! # options USBVERBOSE # verbose USB device autoconfig messages # Heartbeat checks options HEARTBEAT options HEARTBEAT_MAX_PERIOD_DEFAULT=15 options MSGBUFSIZE=32768 #options VERBOSE_INIT_ARM # verbose bootstrapping messages # EARLYCONS is required for early init messages from VERBOSE_INIT_ARM. #options EARLYCONS=imx23, CONSADDR=0x80070000 #options EARLYCONS=am18xx, CONSADDR=0x01D0C000 # serial1 # Kernel Undefined Behavior Sanitizer (kUBSan). Use UBSAN_ALWAYS_FATAL # if you want panics instead of warnings. #options KUBSAN # mandatory #options UBSAN_ALWAYS_FATAL # optional # Kernel Address Sanitizer (kASan). The quarantine is optional and can # help KASAN find more use-after-frees. Use KASAN_PANIC if you want panics # instead of warnings. #makeoptions KASAN=1 # mandatory #options KASAN # mandatory #options POOL_QUARANTINE # optional #options KASAN_PANIC # optional makeoptions DEBUG="-g" # compile full symbol table makeoptions COPY_SYMTAB=1 config netbsd root on ? type ? # Device tree support armfdt0 at root simplebus* at fdt? pass 0 # CPUs cpus* at fdt? pass 0 cpu* at fdt? pass 0 # interrupt handlers imx23icoll* at fdt? pass 1 # imx23 interrupt driver am18xxintc* at fdt? pass 1 # TI AM18XX interrupt controller # Timers imx23timrot* at fdt? pass 2 # imx23 timer am18xxtimer* at fdt? pass 2 # TI AM18XX timer # DMA controller imx23apbdma* at fdt? pass 1 # NXP i.MX23 DMA controller tiedma* at fdt? pass 5 # TI EDMA controller titptc* at fdt? pass 5 # TI EDMA controller # Clock Controllers imx23clkctrl* at fdt? pass 1 # i.MX23 clock controller am18xxpllc* at fdt? pass 2 # TI AM18XX pll controller am18xxaclk* at fdt? pass 3 # TI AM18XX async-clk clkgates am18xxpsc* at fdt? pass 4 # TI AM18XX power&sleep controller am18xxuphyclk* at fdt? pass 5 # TI AM18XX usb phy pll # System Controller syscon* at fdt? pass 1 # Generic System Controller # general FDT devices fclock* at fdt? pass 1 ffclock* at fdt? pass 1 fregulator* at fdt? pass 5 gregulator* at fdt? pass 4 gpiokeys* at fdt? wskbd* at gpiokeys? console ? mux 1 gpioleds* at fdt? # SDMMC imx23mmc* at fdt? pass 2 # i.MX23 SD/MMC sdmmc* at sdmmcbus? ld0 at sdmmc0 ld1 at sdmmc1 ld2 at sdmmc2 ld3 at sdmmc3 ld* at sdmmc? # Performance monitors pseudo-device tprof # GPIOs imx23pctl* at fdt? pass 1 # imx23 pin control+gpio gpio* at gpiobus? # UART com* at fdt? pass 5 # UART plcom* at fdt? pass 5 # ARM PL011 UART # Various imx23digctl* at fdt? pass 1 # i.MX23 digctl block imx23rtc* at fdt? pass 2 # i.MX23 rtc block # I2C - needed for the USB subsystem iicmux* at fdt? pass 5 # I2C mux virtual controllers iic* at i2cbus? # USB imx23usbphy* at fdt? pass 1 # i.MX23 usb phy am18xxusbphy* at fdt? pass 6 # TI AM18XX usb phy imxusbc* at fdt? pass 6 # i.MX23 usb controller ohci* at fdt? pass 7 ehci* at imxusbc? usb* at usbus? usb* at ehci? uhub* at usb? uhub* at uhub? port ? ugen* at uhub? port ? include "dev/usb/usbdevices.config" midi* at midibus? # Audio imx23digfilt* at fdt? pass 6 # i.MX23 audio output audio* at audiobus? # MII/PHY support atphy* at mii? phy ? # Attansic/Atheros PHYs exphy* at mii? phy ? # 3Com internal PHYs gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs glxtphy* at mii? phy ? # Level One LXT-1000 PHYs gphyter* at mii? phy ? # NS83861 Gig-E PHY icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x igphy* at mii? phy ? # Intel IGP01E1000 ihphy* at mii? phy ? # Intel 82577 PHYs ikphy* at mii? phy ? # Intel 82563 PHYs inphy* at mii? phy ? # Intel 82555 PHYs iophy* at mii? phy ? # Intel 82553 PHYs lxtphy* at mii? phy ? # Level One LXT-970 PHYs makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs micphy* at mii? phy ? # Micrel KSZ[89]xxx PHYs nsphy* at mii? phy ? # NS83840 PHYs nsphyter* at mii? phy ? # NS83843 PHYs pnaphy* at mii? phy ? # generic HomePNA PHYs qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs rdcphy* at mii? phy ? # RDC R6040 10/100 PHY rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs rlphy* at mii? phy ? # Realtek 8139/8201L PHYs smscphy* at mii? phy ? # SMSC LAN87xx PHYs sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs tlphy* at mii? phy ? # ThunderLAN PHYs tqphy* at mii? phy ? # TDK Semiconductor PHYs urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs ukphy* at mii? phy ? # generic unknown PHYs # Pull in optional local configuration - always at end cinclude "arch/evbarm/conf/GENERIC_V5.local" @ 1.10 log @Couple more RCSIDs to fix. @ text @d1 1 a1 1 # $NetBSD$ d72 2 @ 1.9 log @evbarm/am18xx: usb 1.1 port Add support for the USB 1.1 port. @ text @d1 1 a1 1 # $NetBSD $ @ 1.8 log @evbarm/am18xx: add async-clk clkgate driver @ text @d78 1 d122 1 d126 1 d129 1 @ 1.7 log @evbarm/am18xx: add pll controller @ text @d76 1 d108 2 a109 2 com* at fdt? pass 4 # UART plcom* at fdt? pass 4 # ARM PL011 UART @ 1.6 log @evbarm/am18xx: add psc driver The PSC is the power and sleep controller. @ text @d75 5 a79 1 am18xxpsc* at fdt? pass 3 # TI AM18XX power&sleep controller @ 1.5 log @evbarm/am18xx: add timer @ text @d75 1 @ 1.4 log @evbarm/am18xx: add interrupt controller @ text @d68 1 @ 1.3 log @evbarm/am18xx: basic plaform code @ text @d64 1 @ 1.2 log @arm: fdtize the imx23_olinuxino Switch the imx23-olinuxino over to device trees; remove the old non-devicetree implementation. @ text @d13 1 d34 1 @ 1.1 log @Add the beginnings of a GENERIC_V5 kernel that targets armv5 boards and uses FDT. In this first iteration some support is added for OLinuXino boards. Thanks to Yuri Honegger for doing the vast majority of the work. @ text @d19 4 d66 6 d81 9 d93 4 d101 24 d126 1 d129 29 @