i2c node in the dts file

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

i2c node in the dts file

Jump to solution
655 Views
rprronad
Contributor IV

Dear Experts,


I'm working imx6ull dts files so here,

&i2c1 {
clock-frequency = <100000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c1>;
status = "okay";

pcf8563@51 {
status = "okay";
compatible = "nxp,pcf8563";
reg = <0x51>;
};
};

In the above dts i2c structure i didn't understand the @51 and reg = <0x51> values, How to assign these value from the datasheet ? someone could give me clarity about this.



Thanks and Regards,

Ravikumar

0 Kudos
Reply
1 Solution
637 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @rprronad 

The 0x51 is  your i2c slave device address. You should check datasheet or user guide.

Best Regards

Zhiming

View solution in original post

0 Kudos
Reply
1 Reply
638 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @rprronad 

The 0x51 is  your i2c slave device address. You should check datasheet or user guide.

Best Regards

Zhiming

0 Kudos
Reply