diff options
| author | Christophe Ricard <christophe.ricard@gmail.com> | 2015-03-08 06:17:16 -0400 |
|---|---|---|
| committer | Peter Huewe <peterhuewe@gmx.de> | 2015-03-18 17:43:07 -0400 |
| commit | 92a2c6b26b72a65714e8433bb0ee2ad1866df5cf (patch) | |
| tree | 37f322cfe1ef3f35078f0e27bc3c2992f4257097 | |
| parent | f042a315ae65d37ddd429ed6f60f1f87fdd48125 (diff) | |
tpm/st33zp24/dts/st33zp24-spi: Add dts documentation for st33zp24 spi phy
Reviewed-by: Jason Gunthorpe <jason.gunthorpe@obsidianresearch.com>
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
| -rw-r--r-- | Documentation/devicetree/bindings/security/tpm/st33zp24-spi.txt | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/security/tpm/st33zp24-spi.txt b/Documentation/devicetree/bindings/security/tpm/st33zp24-spi.txt new file mode 100644 index 000000000000..158b0165e01c --- /dev/null +++ b/Documentation/devicetree/bindings/security/tpm/st33zp24-spi.txt | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | * STMicroelectronics SAS. ST33ZP24 TPM SoC | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: Should be "st,st33zp24-spi". | ||
| 5 | - spi-max-frequency: Maximum SPI frequency (<= 10000000). | ||
| 6 | |||
| 7 | Optional ST33ZP24 Properties: | ||
| 8 | - interrupt-parent: phandle for the interrupt gpio controller | ||
| 9 | - interrupts: GPIO interrupt to which the chip is connected | ||
| 10 | - lpcpd-gpios: Output GPIO pin used for ST33ZP24 power management D1/D2 state. | ||
| 11 | If set, power must be present when the platform is going into sleep/hibernate mode. | ||
| 12 | |||
| 13 | Optional SoC Specific Properties: | ||
| 14 | - pinctrl-names: Contains only one value - "default". | ||
| 15 | - pintctrl-0: Specifies the pin control groups used for this controller. | ||
| 16 | |||
| 17 | Example (for ARM-based BeagleBoard xM with ST33ZP24 on SPI4): | ||
| 18 | |||
| 19 | &mcspi4 { | ||
| 20 | |||
| 21 | status = "okay"; | ||
| 22 | |||
| 23 | st33zp24@0 { | ||
| 24 | |||
| 25 | compatible = "st,st33zp24-spi"; | ||
| 26 | |||
| 27 | spi-max-frequency = <10000000>; | ||
| 28 | |||
| 29 | interrupt-parent = <&gpio5>; | ||
| 30 | interrupts = <7 IRQ_TYPE_LEVEL_HIGH>; | ||
| 31 | |||
| 32 | lpcpd-gpios = <&gpio5 15 GPIO_ACTIVE_HIGH>; | ||
| 33 | }; | ||
| 34 | }; | ||
