linux-4.15-dts-tpm.patch 728 B

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