Compatibility layer provides simple I2C bone bus nodes for creating compatible overlays for BBBWl, BBB, & BBAI. The format followed for these nodes is bone_i2c_#
. For the definitions, you can see bbai-bone-buses.dtsi#L388 & bbb-bone-buses.dtsi#L403.
Bone bus | BBBWL/BBB | BBAI | SCL | SDA | Overlay |
/dev/bone/i2c/0 | I2C0 | I2C1 | ❌ | ❌ | On-board |
/dev/bone/i2c/1 | I2C1 | I2C5 | P9.17 | P9.18 | BONE-I2C1.dts |
/dev/bone/i2c/2 | I2C2 | I2C4 | P9.19 | P9.20 | BONE-I2C2.dts |
/dev/bone/i2c/2a | I2C2 | N/A | P9.21 | P9.22 | BONE-I2C2A.dts |
/dev/bone/i2c/3 | I2C1 | I2C3 | P9.24 | P9.26 | BONE-I2C3.dts |