UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer pullanlu
Observer
4,470 Views
Registered: ‎04-21-2012

DTS Example for Uartlite on Zynq

Jump to solution

Can someone provide a DTS example to add a UARTLITE device to a Zynq based system?

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Observer pullanlu
Observer
5,618 Views
Registered: ‎04-21-2012

Re: DTS Example for Uartlite on Zynq

Jump to solution

Do I need to reconfigure the Linux to support the uartlite?

I don't see uartlite driver instantiated:

 

 

 

 

zynq> cat /proc/interrupts
           CPU0       CPU1
 40:          0          0       GIC  xdevcfg
 43:         15          0       GIC  xttcpss clockevent
 45:          0          0       GIC  pl330
 46:          0          0       GIC  pl330
 47:          0          0       GIC  pl330
 48:          0          0       GIC  pl330
 49:          0          0       GIC  pl330
 51:          2          0       GIC  e000d000.spi
 53:          0          0       GIC  ehci_hcd:usb1
 54:       1627          0       GIC  eth0
 56:         37          0       GIC  mmc0
 57:          7          0       GIC  xi2cps
 72:          0          0       GIC  pl330
 73:          0          0       GIC  pl330
 74:          0          0       GIC  pl330
 75:          0          0       GIC  pl330
 82:        385          0       GIC  xuartps
IPI0:          0          0  Timer broadcast interrupts
IPI1:        599        801  Rescheduling interrupts
IPI2:          0          0  Function call interrupts
IPI3:          0         83  Single function call interrupts
IPI4:          0          0  CPU stop interrupts
LOC:      47498      48172  Local timer interrupts
Err:          0

View solution in original post

0 Kudos
3 Replies
Voyager
Voyager
4,468 Views
Registered: ‎05-09-2008

Re: DTS Example for Uartlite on Zynq

Jump to solution

Hi

 

change address of your uartlite :

 

uartlite@52000000 
{
    compatible = "xlnx,xps-uartlite-1.00.a";
    reg = <0x52000000 0x1000>;
    interrupts = < 0 57 0 >;
    interrupt-parent = <&gic>;
    clock = <50000000>;
};

 secureasm

0 Kudos
Highlighted
Observer pullanlu
Observer
5,619 Views
Registered: ‎04-21-2012

Re: DTS Example for Uartlite on Zynq

Jump to solution

Do I need to reconfigure the Linux to support the uartlite?

I don't see uartlite driver instantiated:

 

 

 

 

zynq> cat /proc/interrupts
           CPU0       CPU1
 40:          0          0       GIC  xdevcfg
 43:         15          0       GIC  xttcpss clockevent
 45:          0          0       GIC  pl330
 46:          0          0       GIC  pl330
 47:          0          0       GIC  pl330
 48:          0          0       GIC  pl330
 49:          0          0       GIC  pl330
 51:          2          0       GIC  e000d000.spi
 53:          0          0       GIC  ehci_hcd:usb1
 54:       1627          0       GIC  eth0
 56:         37          0       GIC  mmc0
 57:          7          0       GIC  xi2cps
 72:          0          0       GIC  pl330
 73:          0          0       GIC  pl330
 74:          0          0       GIC  pl330
 75:          0          0       GIC  pl330
 82:        385          0       GIC  xuartps
IPI0:          0          0  Timer broadcast interrupts
IPI1:        599        801  Rescheduling interrupts
IPI2:          0          0  Function call interrupts
IPI3:          0         83  Single function call interrupts
IPI4:          0          0  CPU stop interrupts
LOC:      47498      48172  Local timer interrupts
Err:          0

View solution in original post

0 Kudos
Observer pullanlu
Observer
4,447 Views
Registered: ‎04-21-2012

Re: DTS Example for Uartlite on Zynq

Jump to solution

I have posted a new item "Use UARTLITE for Zynq-based Systems" to describe the issue better.

0 Kudos