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

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/8ee5fab8-43c7-4d5c-97f2-b04b920ebb3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to