duo256m: kernel enable spidev

This commit is contained in:
carbon
2023-12-22 18:15:00 +08:00
parent 8d0e54baab
commit 3efa178673
2 changed files with 12 additions and 0 deletions

View File

@ -14,6 +14,14 @@
/delete-property/ power-ct-gpio;
};
&spi2 {
status = "okay";
spidev@0 {
status = "okay";
};
};
&i2c0 {
status = "disabled";
};

View File

@ -132,6 +132,10 @@ CONFIG_I2C_CHARDEV=y
CONFIG_I2C_MUX=y
CONFIG_I2C_DESIGNWARE_PLATFORM=y
CONFIG_SPI=y
CONFIG_SPI_MASTER=y
CONFIG_SPI_DESIGNWARE=y
CONFIG_SPI_DW_MMIO=y
CONFIG_SPI_SPIDEV=y
# CONFIG_PTP_1588_CLOCK is not set
CONFIG_PINCTRL=y
CONFIG_CVITEK_PINCTRL_CV1835=y