How to set EIM in uboot's device tree on iMX7D

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

How to set EIM in uboot's device tree on iMX7D

Jump to solution
1,291 Views
tamotsu
Contributor IV

I have EIM set in uboot's device tree on iMX7D. A "not found" error will occur if the label name is &eim or &weim.

I would like to know the correct label name.

It would be nice if NXP had support documentation like STmicro did.

thank you.

0 Kudos
Reply
1 Solution
1,240 Views
tamotsu
Contributor IV

Hello Sanket_Parekh

I set the contents of the instructions in the .dtsi file and was able to compile successfully.

Initially I was creating &weim { } in .dts file and this was giving me an error in the compiler.

Thanks.

View solution in original post

0 Kudos
Reply
2 Replies
1,271 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @tamotsu 

I hope you are doing well.

->Please check the driver for eim is registered or not by giving the below command.
dmesg | grep -i eim

->Please check the imx-weim.txt file for the label name reference.
one can find it the below given location.
<Linux_src_code>/Documentation/devicetree/bindings/bus/.

I have also mentioned the label name and the rest device tree example for reference please find them given below.

weim: weim@21b8000 {
                compatible = "fsl,imx6q-weim";
                reg = <0x021b8000 0x4000>;
                clocks = <&clks 196>;
                #address-cells = <2>;
                #size-cells = <1>;
                ranges = <0 0 0x08000000 0x02000000
                          1 0 0x0a000000 0x02000000
                          2 0 0x0c000000 0x02000000
                          3 0 0x0e000000 0x02000000>;
                fsl,weim-cs-gpr = <&gpr>;
};

I hope this information helps!

Thanks & Regards,

Sanket Parekh

0 Kudos
Reply
1,241 Views
tamotsu
Contributor IV

Hello Sanket_Parekh

I set the contents of the instructions in the .dtsi file and was able to compile successfully.

Initially I was creating &weim { } in .dts file and this was giving me an error in the compiler.

Thanks.

0 Kudos
Reply