mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-12-26 21:18:22 +01:00
Add support for pcduino devices
Add support for LinkSprite pcDuino1 device and its flavors including pcduino-lite and pcduino-lite-wifi: - add pcduino machine description - enable CONFIG_SPI_SPIDEV in upstream kernel defconfig to provide simple userspace access to SPI devices on Arduino shields Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
This commit is contained in:
parent
51fe0eecc6
commit
941e978370
9
conf/machine/pcduino.conf
Normal file
9
conf/machine/pcduino.conf
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#@TYPE: Machine
|
||||||
|
#@NAME: pcduino-lite-wifi
|
||||||
|
#@DESCRIPTION: Machine configuration for the pcDuino-Lite-Wifi, base on allwinner a10 CPU
|
||||||
|
|
||||||
|
require conf/machine/include/sun4i.inc
|
||||||
|
|
||||||
|
KERNEL_DEVICETREE = "sun4i-a10-pcduino.dtb"
|
||||||
|
UBOOT_MACHINE = "Linksprite_pcDuino_defconfig"
|
||||||
|
SUNXI_FEX_FILE = "sys_config/a10/pcduino.fex"
|
@ -504,6 +504,7 @@ CONFIG_I2C_CHARDEV=y
|
|||||||
CONFIG_I2C_MV64XXX=y
|
CONFIG_I2C_MV64XXX=y
|
||||||
CONFIG_I2C_SUN6I_P2WI=y
|
CONFIG_I2C_SUN6I_P2WI=y
|
||||||
CONFIG_SPI=y
|
CONFIG_SPI=y
|
||||||
|
CONFIG_SPI_SPIDEV=y
|
||||||
CONFIG_SPI_SUN4I=y
|
CONFIG_SPI_SUN4I=y
|
||||||
CONFIG_SPI_SUN6I=y
|
CONFIG_SPI_SUN6I=y
|
||||||
CONFIG_GPIO_SYSFS=y
|
CONFIG_GPIO_SYSFS=y
|
||||||
|
Loading…
Reference in New Issue
Block a user