xref: /freebsd/sys/contrib/device-tree/Bindings/security/tpm/st33zp24-i2c.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* STMicroelectronics SAS. ST33ZP24 TPM SoC
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: Should be "st,st33zp24-i2c".
5*c66ec88fSEmmanuel Vadot- clock-frequency: I²C work frequency.
6*c66ec88fSEmmanuel Vadot- reg: address on the bus
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel VadotOptional ST33ZP24 Properties:
9*c66ec88fSEmmanuel Vadot- interrupts: GPIO interrupt to which the chip is connected
10*c66ec88fSEmmanuel Vadot- lpcpd-gpios: Output GPIO pin used for ST33ZP24 power management D1/D2 state.
11*c66ec88fSEmmanuel VadotIf set, power must be present when the platform is going into sleep/hibernate mode.
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotOptional SoC Specific Properties:
14*c66ec88fSEmmanuel Vadot- pinctrl-names: Contains only one value - "default".
15*c66ec88fSEmmanuel Vadot- pintctrl-0: Specifies the pin control groups used for this controller.
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel VadotExample (for ARM-based BeagleBoard xM with ST33ZP24 on I2C2):
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel Vadot&i2c2 {
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel Vadot        st33zp24: st33zp24@13 {
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel Vadot                compatible = "st,st33zp24-i2c";
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel Vadot                reg = <0x13>;
27*c66ec88fSEmmanuel Vadot                clock-frequency = <400000>;
28*c66ec88fSEmmanuel Vadot
29*c66ec88fSEmmanuel Vadot                interrupt-parent = <&gpio5>;
30*c66ec88fSEmmanuel Vadot                interrupts = <7 IRQ_TYPE_LEVEL_HIGH>;
31*c66ec88fSEmmanuel Vadot
32*c66ec88fSEmmanuel Vadot                lpcpd-gpios = <&gpio5 15 GPIO_ACTIVE_HIGH>;
33*c66ec88fSEmmanuel Vadot        };
34*c66ec88fSEmmanuel Vadot};
35