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
Solved! Go to Solution.
Hi @rprronad
The 0x51 is your i2c slave device address. You should check datasheet or user guide.
Best Regards
Zhiming
Hi @rprronad
The 0x51 is your i2c slave device address. You should check datasheet or user guide.
Best Regards
Zhiming