~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: c9676a3a0000df524449deb8cf5b7b67d7de4939 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright 2021 Linaro
 */

/dts-v1/;
/plugin/;

#include <dt-bindings/gpio/gpio.h>

#include "imx8mm-pinfunc.h"

&{/} {
	regulator-tpm1-rst {
		compatible = "regulator-fixed";
		regulator-name = "tpm1-rst";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		gpio = <&gpio4 31 GPIO_ACTIVE_HIGH>;
		regulator-always-on;
		enable-active-high;
	};
};

&ecspi3 {
	#address-cells = <1>;
	#size-cells = <0>;

	tpm1: tpm@0 {
		compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
		reg = <0>;
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_tpm1>;
		spi-max-frequency = <5000000>;
		status = "disabled";
	};
};

&iomuxc {
	pinctrl_tpm1: tpm1grp {
		fsl,pins = <
			MX8MM_IOMUXC_UART4_RXD_GPIO5_IO28	0x0
		>;
	};
};