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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
1,290 次查看
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 项奖励
回复
1 解答
1,239 次查看
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 项奖励
回复
2 回复数
1,270 次查看
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 项奖励
回复
1,240 次查看
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 项奖励
回复