Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:common:applications:gpio:i2c

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
products:sbc:common:applications:gpio:i2c [2023/11/07 04:47]
nick [Table]
products:sbc:common:applications:gpio:i2c [2023/11/07 04:51] (current)
nick [Enable I2C]
Line 45: Line 45:
 /dev/i2c-3 /dev/i2c-3
 ``` ```
 +
 +<tabbox VIM3 with 5.15 kernel>
 +
 +Edit ''/boot/dtb/amlogic/kvim3.dtb.overlay.env'' to add i2c node to ''fdt_overlays'' node if it doesn't exist.
 +
 +
 +e.g. To enable ''I2CM 3'', you need to add ''i2c3'' to node ''fdt_overlays'' if it doesn't exist.
 +
 +```shell
 +fdt_overlays=i2c3
 +
 +```
 +
 +After reboot, you will see the I2C device node.
 +
 +<tabbox VIM3L with 5.15 kernel>
 +
 +Edit ''/boot/dtb/amlogic/kvim3l.dtb.overlay.env'' to add i2c node to ''fdt_overlays'' node if it doesn't exist.
 +
 +
 +e.g. To enable ''I2CM 3'', you need to add ''i2c3'' to node ''fdt_overlays'' if it doesn't exist.
 +
 +```shell
 +fdt_overlays=i2c3
 +
 +```
 +
 +After reboot, you will see the I2C device node.
  
 <tabbox VIM4> <tabbox VIM4>
Last modified: 2023/11/07 04:47 by nick