diff --git a/conf/machine/pengwyn.conf b/conf/machine/pengwyn.conf index d859260..91a354b 100644 --- a/conf/machine/pengwyn.conf +++ b/conf/machine/pengwyn.conf @@ -10,7 +10,7 @@ IMAGE_CLASSES += "sdcard_image-pengwyn" IMAGE_FSTYPES ?= "tar.bz2 ext4 wic wic.bmap" WKS_FILE ?= "pengwyn.wks" #MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image kernel-devicetree" -MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image" +MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image kernel-modules" do_image_wic[depends] += " \ mtools-native:do_populate_sysroot \ dosfstools-native:do_populate_sysroot \ @@ -18,6 +18,11 @@ do_image_wic[depends] += " \ virtual/dtb:do_deploy \ " +# A list of machine-dependent packages not essential for booting the image. +# Thus, the build does not fail if the packages do not exist. +# However, the packages are required for a fully-featured image +#MACHINE_EXTRA_RRECOMMENDS = "kernel-modules" + # Normally AM335 boards use ttyS0, but ICE uses ttyS3, so try both SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0 115200;ttyAMA0" SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" diff --git a/recipes-kernel/dts/files/am335x-pengwyn.dts b/recipes-kernel/dts/files/am335x-pengwyn.dts index c1c63f2..14d173b 100644 --- a/recipes-kernel/dts/files/am335x-pengwyn.dts +++ b/recipes-kernel/dts/files/am335x-pengwyn.dts @@ -330,6 +330,16 @@ pinctrl-0 = <&spi0_pins>; status = "okay"; + slb9670@0 { + // number of cells required to define a chip select address on the SPI bus. + #address-cells = <1>; + // should be zero + #size-cells = <0>; + // name of SPI bus controller following generic names recommended practice + compatible = "infineon,slb9670"; + spi-max-frequency = <500000>; + reg = <0>; + }; }; &elm {