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!
11-14-2012 07:22 AM
Can someone provide a DTS example to add a UARTLITE device to a Zynq based system?
11-14-2012 11:47 AM
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
11-14-2012 07:30 AM
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
11-14-2012 11:47 AM
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
11-14-2012 02:25 PM
I have posted a new item "Use UARTLITE for Zynq-based Systems" to describe the issue better.