config du tpm dans la dts

This commit is contained in:
2023-01-24 16:28:37 +00:00
parent 03a22a8091
commit d01e23db1c
2 changed files with 16 additions and 1 deletions
+6 -1
View File
@@ -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}"
@@ -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 {