1 From 82298c670f768f392f48526fe7c8a93682e83998 Mon Sep 17 00:00:00 2001
2 From: Peter Huewe <peterhuewe@gmx.de>
3 Date: Thu, 14 Jun 2018 22:51:24 +0200
4 Subject: [PATCH] Add overlay for SLB9760 Iridium /LetsTrust TPM
6 Device Tree overlay for the Infineon SLB9670 Trusted Platform Module add-on
7 boards, which can be used as a secure key storage and hwrng.
8 available as "Iridium SLB9670" by Infineon and "LetsTrust TPM" by
11 Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
13 arch/arm/boot/dts/overlays/Makefile | 1 +
14 arch/arm/boot/dts/overlays/README | 8 ++++
15 .../boot/dts/overlays/tpm-slb9670-overlay.dts | 44 +++++++++++++++++++
16 3 files changed, 53 insertions(+)
17 create mode 100644 arch/arm/boot/dts/overlays/tpm-slb9670-overlay.dts
19 --- a/arch/arm/boot/dts/overlays/Makefile
20 +++ b/arch/arm/boot/dts/overlays/Makefile
21 @@ -137,6 +137,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \
29 --- a/arch/arm/boot/dts/overlays/README
30 +++ b/arch/arm/boot/dts/overlays/README
31 @@ -2012,6 +2012,14 @@ Params: speed Display
32 dtoverlay=tinylcd35,touch,touchgpio=3
36 +Info: Enables support for Infineon SLB9670 Trusted Platform Module add-on
37 + boards, which can be used as a secure key storage and hwrng,
38 + available as "Iridium SLB9670" by Infineon and "LetsTrust TPM" by pi3g.
39 +Load: dtoverlay=tpm-slb9670
44 Info: Change the pin usage of uart0
45 Load: dtoverlay=uart0,<param>=<val>
47 +++ b/arch/arm/boot/dts/overlays/tpm-slb9670-overlay.dts
50 + * Device Tree overlay for the Infineon SLB9670 Trusted Platform Module add-on
51 + * boards, which can be used as a secure key storage and hwrng.
52 + * available as "Iridium SLB9670" by Infineon and "LetsTrust TPM" by pi3g.
59 + compatible = "brcm,bcm2835", "brcm,bcm2708", "brcm,bcm2709";
69 + target = <&spidev1>;
71 + status = "disabled";
78 + /* needed to avoid dtc warning */
79 + #address-cells = <1>;
81 + slb9670: slb9670@1 {
82 + compatible = "infineon,slb9670";
83 + reg = <1>; /* CE1 */
84 + #address-cells = <1>;
86 + spi-max-frequency = <32000000>;