Jump to content
  • 0

device tree parameter confusion


aditya

Question

Hi,

      Following is the snippet from the device tree for the MicroZed Board.

ps7-scugic@f8f01000 {
            #address-cells = <0x2>;
            #interrupt-cells = <0x3>;
            #size-cells = <0x1>;
            compatible = "arm,cortex-a9-gic", "arm,gic";
            interrupt-controller;
            num_cpus = <0x2>;
            num_interrupts = <0x60>;
            reg = <0xf8f01000 0x1000 0xf8f00100 0x100>;
            xlnx,irq-f2p-mode = "REVERSE";
            linux,phandle = <0x3>;
            phandle = <0x3>;
        };

Mine particular interest is the line that is bold in above snippet.Actually i am working on the Zedboard and when i generated the device tree for mine Zedboard then following is the Snippet:-

ps7_scugic_0: ps7-scugic@f8f00100 {
            #address-cells = <2>;
            #interrupt-cells = <3>;
            #size-cells = <1>;
            compatible = "arm,cortex-a9-gic", "arm,gic";
            interrupt-controller ;
            num_cpus = <2>;
            num_interrupts = <96>;
            reg = <0xF8F00100 256 0xF8F00100 0x100>;
            xlnx,irq-f2p-mode = "DIRECT";
        } ;

So it has become "DIRECT".

So what is difference between "DIRECT" and "REVERSE",why for Microzed it is "REVERSE" and why for Zedboard it is "DIRECT".

Please reply me.

Regards

Aditya

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...