xref: /OK3568_Linux_fs/buildroot/board/chromebook/snow/linux-4.15-dts-tpm.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Some versions of u-boot for this Chromebook check for tpm node
2in the device tree and fail badly (reboot) if it is not found.
3
4While not exactly correct, it is much easier to patch the mainline
5device tree to match u-boot expectations than to fix u-boot on
6this device.
7
8See https://code.google.com/p/chromium/issues/detail?id=220169
9and https://lkml.org/lkml/2013/3/4/242
10
11Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
12
13--- a/arch/arm/boot/dts/exynos5250-snow-common.dtsi
14+++ b/arch/arm/boot/dts/exynos5250-snow-common.dtsi
15@@ -466,6 +466,11 @@
16 	status = "okay";
17 	samsung,i2c-sda-delay = <100>;
18 	samsung,i2c-max-bus-freq = <66000>;
19+
20+	tpm {
21+		compatible = "infineon,slb9635tt";
22+		reg = <0x20>;
23+	};
24 };
25
26 &i2c_5 {
27
28