cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
chrissou
Visitor
Visitor
824 Views
Registered: ‎04-11-2017

How to use xps-timer under petalinux

Hi.

 

Working with petalinux 2016.2 on a design with a Zynq.

FPGA guys have just released their design.

In the dtsi file, I have :

 

        fonctions_affaire_fonctions_uc_periph_contrast_backligth_lcd_axi_timer_0: timer@82800000 {
            clock-frequency = <50000000>;
            clock-names = "ref_clk";
            clocks = <&clkc 0>;
            compatible = "xlnx,xps-timer-1.00.a";
            reg = <0x82800000 0x10000>;
            xlnx,count-width = <0x10>;
            xlnx,gen0-assert = <0x1>;
            xlnx,gen1-assert = <0x1>;
            xlnx,one-timer-only = <0x0>;
            xlnx,trig0-assert = <0x1>;
            xlnx,trig1-assert = <0x1>;
        };

 

I should use this module to make a pwm to control the backlight of a LCD.

I did not find any driver compatible with "xlnx,xps-timer-1.00.a"   

 

Is this xps-timer IP supported under petalinux ?

Need to design one myself ?

 

Thanks

 

Chris

 

 

0 Kudos
Reply
2 Replies
shabbirk
Moderator
Moderator
779 Views
Registered: ‎12-04-2016

Hi Chris

 

You need to include AXI timer in your design.

Refer this wiki for details:

http://www.wiki.xilinx.com/Axi+timer

 

 

Best Regards

Shabbir

0 Kudos
Reply
chrissou
Visitor
Visitor
758 Views
Registered: ‎04-11-2017

Hi.

 

The AXI Timer is already included in my design.

As you can see the dts file is generated correctly.

 

The question is to know if there is a driver under Petalinux to manage it (Petalinux 2016-2)

 

Thx

 

0 Kudos
Reply