Enabling I2C1 on Beaglebone black

Hi All,

I am trying to enable the I2C1 on beaglebone black board. I have written overlay to enable the i2c1, please verify below snippet and correct me if anything wrong in that.

i2c2: i2c@4819c000 {
    pinctrl-names = "default";
    pinctrl-0 = <&i2c2_pins>;
    status = "okay";
    clock-frequency = <100000>;

    nintend : nintend@<slaveaddr> {

               compatible = "nunchuk";
               reg = <slave addr>;
     }; 
 };    

i2c2_pins: pinmux_i2c2_pins {
    pinctrl-single,pins = <
        0x158 0x72 
        0x15c 0x72
    >;
};

I am trying to add this snippet to am335x-customboneblack.dts.

Thanks & regards,
Madhu

Hello.

Did U solve this issue?

Hello,

Yes