blob: 06fa77c0e8d33b79539222699a71262ccb89109a [file] [log] [blame]
Ying-Chun Liu (PaulLiu)27ea1c52021-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 regulatot-tpm0-rst {
15 compatible = "regulator-fixed";
16 regulator-name = "tpm0-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&ecspi2 {
26 #address-cells = <1>;
27 #size-cells = <0>;
28
29 tpm0: tpm@0 {
30 compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
31 reg = <0>;
32 pinctrl-names = "default";
33 pinctrl-0 = <&pinctrl_tpm0>;
34 spi-max-frequency = <5000000>;
35 status = "okay";
36 };
37};
38
39&iomuxc {
40 pinctrl_tpm0: tpm0grp {
41 fsl,pins = <
42 MX8MM_IOMUXC_SAI3_TXFS_GPIO4_IO31 0x0
43 >;
44 };
45};