File: imx8mm-cl-iot-gate-ied-tpm0.dts

package info (click to toggle)
u-boot 2023.01%2Bdfsg-2%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 167,504 kB
  • sloc: ansic: 2,036,483; python: 39,879; asm: 21,501; makefile: 11,365; perl: 11,111; sh: 3,657; cpp: 1,868; yacc: 1,100; lex: 747; awk: 57; tcl: 28; sed: 24
file content (45 lines) | stat: -rw-r--r-- 794 bytes parent folder | download | duplicates (2)
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"

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

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

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

&iomuxc {
	pinctrl_tpm0: tpm0grp {
		fsl,pins = <
			MX8MM_IOMUXC_SAI3_TXFS_GPIO4_IO31       0x0
		>;
	};
};