Skip to content

Commit f540527

Browse files
PeterHuewePhil Elwell
authored and
Phil Elwell
committed
Add overlay for SLB9760 Iridium /LetsTrust TPM
Device Tree overlay for the Infineon SLB9670 Trusted Platform Module add-on boards, which can be used as a secure key storage and hwrng. available as "Iridium SLB9670" by Infineon and "LetsTrust TPM" by pi3g. Signed-off-by: Peter Huewe <[email protected]>
1 parent f81913c commit f540527

File tree

3 files changed

+53
-0
lines changed

3 files changed

+53
-0
lines changed

arch/arm/boot/dts/overlays/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \
129129
superaudioboard.dtbo \
130130
sx150x.dtbo \
131131
tinylcd35.dtbo \
132+
tpm-slb9670.dtbo \
132133
uart0.dtbo \
133134
uart1.dtbo \
134135
upstream.dtbo \

arch/arm/boot/dts/overlays/README

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1861,6 +1861,14 @@ Params: speed Display SPI bus speed
18611861
dtoverlay=tinylcd35,touch,touchgpio=3
18621862

18631863

1864+
Name: tpm-slb9670
1865+
Info: Enables support for Infineon SLB9670 Trusted Platform Module add-on
1866+
boards, which can be used as a secure key storage and hwrng,
1867+
available as "Iridium SLB9670" by Infineon and "LetsTrust TPM" by pi3g.
1868+
Load: dtoverlay=tpm-slb9670
1869+
Params: <None>
1870+
1871+
18641872
Name: uart0
18651873
Info: Change the pin usage of uart0
18661874
Load: dtoverlay=uart0,<param>=<val>
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
/*
2+
* Device Tree overlay for the Infineon SLB9670 Trusted Platform Module add-on
3+
* boards, which can be used as a secure key storage and hwrng.
4+
* available as "Iridium SLB9670" by Infineon and "LetsTrust TPM" by pi3g.
5+
*/
6+
7+
/dts-v1/;
8+
/plugin/;
9+
10+
/ {
11+
compatible = "brcm,bcm2835", "brcm,bcm2708", "brcm,bcm2709";
12+
13+
fragment@0 {
14+
target = <&spi0>;
15+
__overlay__ {
16+
status = "okay";
17+
};
18+
};
19+
20+
fragment@1 {
21+
target = <&spidev1>;
22+
__overlay__ {
23+
status = "disabled";
24+
};
25+
};
26+
27+
fragment@2 {
28+
target = <&spi0>;
29+
__overlay__ {
30+
/* needed to avoid dtc warning */
31+
#address-cells = <1>;
32+
#size-cells = <0>;
33+
slb9670: slb9670@1 {
34+
compatible = "infineon,slb9670";
35+
reg = <1>; /* CE1 */
36+
#address-cells = <1>;
37+
#size-cells = <0>;
38+
spi-max-frequency = <32000000>;
39+
status = "okay";
40+
};
41+
42+
};
43+
};
44+
};

0 commit comments

Comments
 (0)