What is @2 means in wlcore@2 for wifi in dts files

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What is @2 means in wlcore@2 for wifi in dts files

1,067 Views
bandarulavanya
Contributor V

Hi all,

I am very new to device tree configurations, while doing wifi bring up i saw wlcore@2 here what is 2 represent.I any one knows can you please explain me.

I am using 3.14 kernel version for imx6dl sabresd board.   wifi wl12xx (WG7311)

wlcore: wlcore@2 {

                compatible = "ti,wl1271";

                reg = <2>;

                interrupt-parent = <&gpio1>;

                interrupts = <14 IRQ_TYPE_LEVEL_HIGH>; /* gpio 14 */

                ref-clock-frequency = <38400000>;

        };

Thanks & Regards,
lavanya

0 Kudos
4 Replies

752 Views
igorpadykov
NXP Employee
NXP Employee

Hi Lavanya

seems this is unit address as described on

Figure 1. High-level device tree AN5125 Introduction to Device Trees

http://www.nxp.com/files/32bit/doc/app_note/AN5125.pdf

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

752 Views
bandarulavanya
Contributor V

Hi igorpadykov ,

Thank you very much, how can i found this unit address for my device WG7311 wifi chipset for wlcore .

Thanks & Regards,
Lavanya

0 Kudos

752 Views
igorpadykov
NXP Employee
NXP Employee

Hi Lavanya

"ti,wl1271" is developed by ti, please post on its wiki

WL18xx - Texas Instruments Wiki

Best regards

igor

0 Kudos

752 Views
bandarulavanya
Contributor V

Hi igorpadykov ,

Thank you is unit address is like how many chips we are using . suppose if 2 wifi chips are there 1 is with @0 and another is with @ 1 like that or depends on chip it will be.

Thanks & Regards,
lavanya

0 Kudos