blob: c9676a3a0000df524449deb8cf5b7b67d7de4939 [file] [log] [blame]
Ying-Chun Liu (PaulLiu)e612f682021-11-05 17:13:24 +08001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright 2021 Linaro
4 */
5
6/dts-v1/;
7/plugin/;
8
9#include <dt-bindings/gpio/gpio.h>
10
11#include "imx8mm-pinfunc.h"
12
13&{/} {
14 regulator-tpm1-rst {
15 compatible = "regulator-fixed";
16 regulator-name = "tpm1-rst";
17 regulator-min-microvolt = <3300000>;
18 regulator-max-microvolt = <3300000>;
19 gpio = <&gpio4 31 GPIO_ACTIVE_HIGH>;
20 regulator-always-on;
21 enable-active-high;
22 };
23};
24
25&ecspi3 {
26 #address-cells = <1>;
27 #size-cells = <0>;
28
29 tpm1: tpm@0 {
30 compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
31 reg = <0>;
32 pinctrl-names = "default";
33 pinctrl-0 = <&pinctrl_tpm1>;
34 spi-max-frequency = <5000000>;
35 status = "disabled";
36 };
37};
38
39&iomuxc {
40 pinctrl_tpm1: tpm1grp {
41 fsl,pins = <
42 MX8MM_IOMUXC_UART4_RXD_GPIO5_IO28 0x0
43 >;
44 };
45};