Skip to content

Commit

Permalink
chumby8: add initial I2C config
Browse files Browse the repository at this point in the history
  • Loading branch information
dougg3 committed Aug 10, 2022
1 parent 3fc7780 commit edb5337
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions board/chumby/chumby8/linux.config
Expand Up @@ -30,6 +30,7 @@ CONFIG_DEVTMPFS_MOUNT=y
# CONFIG_STANDALONE is not set
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
# CONFIG_BLK_DEV is not set
CONFIG_EEPROM_AT24=y
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_NETDEVICES=y
Expand All @@ -48,6 +49,8 @@ CONFIG_TOUCHSCREEN_CHUMBY8=m
CONFIG_SERIAL_PXA=y
CONFIG_SERIAL_PXA_CONSOLE=y
# CONFIG_HW_RANDOM is not set
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_PXA=y
CONFIG_SPI=y
CONFIG_SPI_PXA2XX=m
CONFIG_SPI_SPIDEV=m
Expand Down
14 changes: 14 additions & 0 deletions board/chumby/chumby8/pxa168-chumby8.dts
Expand Up @@ -183,6 +183,20 @@
status = "okay";
};

&twsi1 {
status = "okay";
clock-frequency = <100000>;

eeprom@50 {
compatible = "atmel,24c08";
reg = <0x50>;
};
};

&twsi2 {
status = "okay";
};

&gpio {
sdhci2_cmd_gpio {
gpio-hog;
Expand Down

0 comments on commit edb5337

Please sign in to comment.