Date: Wed, 6 May 2009 04:32:10 GMT From: Arnar Mar Sig <antab@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 161646 for review Message-ID: <200905060432.n464WAev081750@repoman.freebsd.org>
index | next in thread | raw e-mail
http://perforce.freebsd.org/chv.cgi?CH=161646 Change 161646 by antab@antab_farm on 2009/05/06 04:31:10 * Add .clk hints for all devices to silance warning from devclk, will need more work later on. * Add devices for board controller and comments in NGW100 config * Uncomment mmc/sd support Affected files ... .. //depot/projects/avr32/src/sys/avr32/conf/NGW100#14 edit .. //depot/projects/avr32/src/sys/avr32/conf/cpu/at32ap7000.hints#3 edit .. //depot/projects/avr32/src/sys/avr32/conf/cpu/at32ap7002.hints#2 edit .. //depot/projects/avr32/src/sys/avr32/conf/cpu/at32ap700x.hints#6 edit Differences ... ==== //depot/projects/avr32/src/sys/avr32/conf/NGW100#14 (text+ko) ==== @@ -58,6 +58,7 @@ options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS options WITNESS #Enable checks to detect deadlocks and cycles #options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed +options ALT_BREAK_TO_DEBUGGER device at32_intc # Interrupt controller @@ -71,17 +72,27 @@ device at32_tc_channel # Timer/Counter channel device mii # Requred for ate device ate # MACB Ethernet driver - device uart # USART support -#device atmel_twi # TWI (I2C) support #device atmel_ssc # Sync Serial controller -device atmel_mci # Media card interface + +# Drivers needed for MMC/SD support +device atmel_mci # Media card interface device driver +device mmc # MultiMediaCard and SD Card bus driver +device mmcsd # MMC and SD memory card driver # Drivers for onboard parallel flash device cfi device cfid device geom_hints +# Drivers needed for board controller +#device atmel_twi # TWI device driver +#device iicbus # I2C bus system +#device iic # I2C generic I/O device driver +#device iicsmb # I2C to SMB software bridge +#device smbus # System Management Bus +#device smb # SMB generic I/O device driver + # Pseudo devices. device loop # Network loopback device random # Entropy device @@ -91,5 +102,3 @@ #device md # Memory "disks" #device gif # IPv6 and IPv4 tunneling #device faith # IPv6-to-IPv4 relaying (translation) -#device mmc -#device mmcsd ==== //depot/projects/avr32/src/sys/avr32/conf/cpu/at32ap7000.hints#3 (text+ko) ==== @@ -5,13 +5,18 @@ hint.at32_lcdc.0.maddr="0xFF000000" hint.at32_lcdc.0.msize="0x200000" hint.at32_lcdc.0.irq="1" +hint.at32_lcdc.0.clk="hsb:7" hint.ate.0.at="at32bus0" hint.ate.0.maddr="0xFFF01800" hint.ate.0.msize="0x400" hint.ate.0.irq="25" +hint.ate.0.clk="hsb:8" +# ate has 2 clocks. pbb:6 hint.ate.1.at="at32bus0" hint.ate.1.maddr="0xFFF01C00" hint.ate.1.msize="0x400" hint.ate.1.irq="26" +hint.ate.1.clk="hsb:9" +# ate has 2 clocks. pbb:7 ==== //depot/projects/avr32/src/sys/avr32/conf/cpu/at32ap7002.hints#2 (text+ko) ==== @@ -5,3 +5,4 @@ hint.at32_lcdc.0.maddr="0xFF000000" hint.at32_lcdc.0.msize="0x200000" hint.at32_lcdc.0.irq="1" +hint.at32_lcdc.0.clk="hsb:7" ==== //depot/projects/avr32/src/sys/avr32/conf/cpu/at32ap700x.hints#6 (text+ko) ==== @@ -9,118 +9,142 @@ hint.at32_dmaca.0.maddr="0xFF200000" hint.at32_dmaca.0.msize="0x100000" hint.at32_dmaca.0.irq="2" +hint.at32_dmaca.0.clk="hsb:10" hint.at32_pm.0.at="at32bus0" hint.at32_pm.0.maddr="0xFFF00000" hint.at32_pm.0.msize="0x80" hint.at32_pm.0.irq="20" +hint.at32_pm.0.clk="pbb:0" hint.atmel_spi.0.at="at32bus0" hint.atmel_spi.0.maddr="0xFFE00000" hint.atmel_spi.0.msize="0x400" hint.atmel_spi.0.irq="3" +hint.atmel_spi.0.clk="pba:0" hint.atmel_spi.1.at="at32bus0" hint.atmel_spi.1.maddr="0xFFE00400" hint.atmel_spi.1.msize="0x400" hint.atmel_spi.1.irq="4" +hint.atmel_spi.1.clk="pba:1" hint.atmel_twi.0.at="at32bus0" hint.atmel_twi.0.maddr="0xFFE00800" hint.atmel_twi.0.msize="0x400" hint.atmel_twi.0.irq="5" +hint.atmel_twi.0.clk="pba:2" hint.uart.0.at="at32bus0" hint.uart.0.maddr="0xFFE00C00" hint.uart.0.msize="0x400" hint.uart.0.irq="6" +hint.uart.0.clk="pba:3" hint.uart.1.at="at32bus0" hint.uart.1.maddr="0xFFE01000" hint.uart.1.msize="0x400" hint.uart.1.irq="7" +hint.uart.1.clk="pba:4" hint.uart.2.at="at32bus0" hint.uart.2.maddr="0xFFE01400" hint.uart.2.msize="0x400" hint.uart.2.irq="8" +hint.uart.2.clk="pba:5" hint.uart.3.at="at32bus0" hint.uart.3.maddr="0xFFE01800" hint.uart.3.msize="0x400" hint.uart.3.irq="9" +hint.uart.3.clk="pba:6" hint.atmel_ssc.0.at="at32bus0" hint.atmel_ssc.0.maddr="0xFFE01C00" hint.atmel_ssc.0.msize="0x400" hint.atmel_ssc.0.irq="10" +hint.atmel_ssc.0.clk="pba:7" hint.atmel_ssc.1.at="at32bus0" hint.atmel_ssc.1.maddr="0xFFE02000" hint.atmel_ssc.1.msize="0x400" hint.atmel_ssc.1.irq="11" +hint.atmel_ssc.1.clk="pba:8" hint.atmel_ssc.2.at="at32bus0" hint.atmel_ssc.2.maddr="0xFFE02400" hint.atmel_ssc.2.msize="0x400" hint.atmel_ssc.2.irq="12" +hint.atmel_ssc.2.clk="pba:9" hint.at32_pio.0.at="at32bus0" hint.at32_pio.0.maddr="0xFFE02800" hint.at32_pio.0.msize="0x400" hint.at32_pio.0.irq="13" +hint.at32_pio.0.clk="pba:10" hint.at32_pio.1.at="at32bus0" hint.at32_pio.1.maddr="0xFFE02C00" hint.at32_pio.1.msize="0x400" hint.at32_pio.1.irq="14" +hint.at32_pio.1.clk="pba:11" hint.at32_pio.2.at="at32bus0" hint.at32_pio.2.maddr="0xFFE03000" hint.at32_pio.2.msize="0x400" hint.at32_pio.2.irq="15" +hint.at32_pio.2.clk="pba:12" hint.at32_pio.3.at="at32bus0" hint.at32_pio.3.maddr="0xFFE03400" hint.at32_pio.3.msize="0x400" hint.at32_pio.3.irq="16" +hint.at32_pio.3.clk="pba:13" hint.at32_pio.4.at="at32bus0" hint.at32_pio.4.maddr="0xFFE03800" hint.at32_pio.4.msize="0x400" hint.at32_pio.4.irq="17" +hint.at32_pio.4.clk="pba:14" hint.at32_psif.0.at="at32bus0" hint.at32_psif.0.maddr="0xFFE03C00" hint.at32_psif.0.msize="0x124" hint.at32_psif.0.irq="18" +hint.at32_psif.0.clk="pba:15" hint.at32_rtc.0.at="at32bus0" hint.at32_rtc.0.maddr="0xFFF00080" hint.at32_rtc.0.msize="0x30" hint.at32_rtc.0.irq="21" +hint.at32_rtc.0.clk="pbb:0" hint.at32_wdt.0.at="at32bus0" hint.at32_wdt.0.maddr="0xFFF000B0" hint.at32_wdt.0.msize="0x50" +hint.at32_wdt.0.clk="pbb:0" hint.at32_eic.0.at="at32bus0" hint.at32_eic.0.maddr="0xFFF00100" hint.at32_eic.0.msize="0x300" hint.at32_eic.0.irq="19" +hint.at32_eic.0.clk="pbb:0" hint.at32_intc.0.at="at32bus0" hint.at32_intc.0.maddr="0xFFF00400" hint.at32_intc.0.msize="0x400" +hint.at32_intc.0.clk="pbb:1" hint.at32_hmatrix.0.at="at32bus0" hint.at32_hmatrix.0.maddr="0xFFF00800" hint.at32_hmatrix.0.msize="0x400" +hint.at32_hmatrix.0.clk="pbb:2" hint.at32_tc.0.at="at32bus0" hint.at32_tc.0.maddr="0xFFF00C00" hint.at32_tc.0.msize="0x400" hint.at32_tc.0.irq="22" +hint.at32_tc.0.clk="pbb:3" hint.at32_tc_channel.0.at="at32_tc0" hint.at32_tc_channel.0.offset="0x00" @@ -135,6 +159,7 @@ hint.at32_tc.1.maddr="0xFFF01000" hint.at32_tc.1.msize="0x400" hint.at32_tc.1.irq="23" +hint.at32_tc.1.clk="pbb:4" hint.at32_tc_channel.3.at="at32_tc1" hint.at32_tc_channel.3.offset="0x00" @@ -150,11 +175,13 @@ hint.at32_pwm.0.maddr="0xFFF01400" hint.at32_pwm.0.msize="0x400" hint.at32_pwm.0.irq="24" +hint.at32_pwm.0.clk="pbb:5" hint.at32_abdac.0.at="at32bus0" hint.at32_abdac.0.maddr="0xF02800" hint.at32_abdac.0.msize="0x400" hint.at32_abdac.0.irq="27" +hint.at32_abdac.0.clk="pbb:8" hint.atmel_mci.0.at="at32bus0" hint.atmel_mci.0.maddr="0xFFF02400" @@ -166,20 +193,25 @@ hint.at32_ac97c.0.maddr="0xFFF02800" hint.at32_ac97c.0.msize="0x400" hint.at32_ac97c.0.irq="29" +hint.at32_ac97c.0.clk="pbb:10" hint.at32_isi.0.at="at32bus0" hint.at32_isi.0.maddr="0xFFF02C00" hint.at32_isi.0.msize="0x400" hint.at32_isi.0.irq="30" +hint.at32_isi.0.clk="pbb:11" hint.at32_smc.0.at="at32bus0" hint.at32_smc.0.maddr="0xFFF03400" hint.at32_smc.0.msize="0x400" +hint.at32_smc.0.clk="pbb:13" hint.at32_sdramc.0.at="at32bus0" hint.at32_sdramc.0.maddr="0xFFF03800" hint.at32_sdramc.0.msize="0x400" +hint.at32_sdramc.0.clk="pbb:14" hint.at32_eec.0.at="at32bus0" hint.at32_eec.0.maddr="0xFFF03C00" hint.at32_eec.0.msize="0x100" +hint.at32_eec.0.clk="pbb:15"help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905060432.n464WAev081750>
