qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v6 5/5] FreeSCALE i.MX31 support: KZM-ARM11-01 e


From: Peter Chubb
Subject: Re: [Qemu-devel] [PATCH v6 5/5] FreeSCALE i.MX31 support: KZM-ARM11-01 evaluation board
Date: Tue, 24 Apr 2012 08:21:24 +1000
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.4 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

>>>>> "Peter" == Peter Maydell <address@hidden> writes:

Peter> On 23 April 2012 00:31, Peter Chubb <address@hidden>
Peter> wrote:
>> Board support for Kyoto Micro's KZM-ARM11-01, an evaluation board
>> built around the FreeScale i.MX31.

>> +    if (serial_hds[3]) { 
>> +         serial_mm_init(address_space_mem, KZM_FPGA, 0, 
>> +                        qdev_get_gpio_in(dev, 52), 
>> +                       14745600, serial_hds[3], 
>> +                       DEVICE_NATIVE_ENDIAN); 
>> +     } 
>> +    if (serial_hds[2]) { /* touchscreen */ 
>> +        serial_mm_init(address_space_mem, KZM_FPGA+0x10, 0, 
>> +                       qdev_get_gpio_in(dev, 52), 
>> +                       14745600, serial_hds[2], 
>> +                       DEVICE_NATIVE_ENDIAN); 
>> +    }

Peter> Are these two devices really on the same IRQ?

Yes.  A single interrupt line comes from the FPGA into the AVIC.
Inside the FPGA the interrupts for the UARTs, SD card and NAND flash
are connected to that single interrupt line.
The non-touchscreen FPGA UART isn't mentioned in the KZM manual, but
is available on the board as a debug port.

To avoid confusion I think I'll just get rid of it.


--
Dr Peter Chubb                                  peter.chubb AT nicta.com.au
http://www.ssrg.nicta.com.au          Software Systems Research Group/NICTA



reply via email to

[Prev in Thread] Current Thread [Next in Thread]