0001-linux-4.15-dts-tpm.patch 852 B

123456789101112131415161718192021222324252627282930
  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. Upstream: Not Applicable
  10. [yann.morin.1998@free.fr: add Upstream tag]
  11. Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
  12. --- a/arch/arm/boot/dts/exynos5250-snow-common.dtsi
  13. +++ b/arch/arm/boot/dts/exynos5250-snow-common.dtsi
  14. @@ -466,6 +466,11 @@
  15. status = "okay";
  16. samsung,i2c-sda-delay = <100>;
  17. samsung,i2c-max-bus-freq = <66000>;
  18. +
  19. + tpm {
  20. + compatible = "infineon,slb9635tt";
  21. + reg = <0x20>;
  22. + };
  23. };
  24. &i2c_5 {