cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
6,907 Views
Registered: ‎02-13-2015

patch device tree to add /dev/uio0

Hi,

 

i patch my device tree to enable /dev/uio by adding the following info:

 

uio0: uio@40000000 {
                        compatible = "generic-uio";
                        reg = <0x40000000 0x10000>;
};

 

here is my system.dts file:

http://ideone.com/0AsUFx

 

here is my zynq-7000.dtsi file:

http://ideone.com/MPWDrG

 

here is my uio.dtsi file:

http://ideone.com/ERRtCK

 

i would like to add an interrupt to /dev/uio0... you can add the following statement to support that:

interrupts = < 0 57 0 >; 
interrupt-parent = <&gic>;

how can i select a non used interrupt?

what is gic?

 

Thanks,

0 Kudos