[PATCH v2] arm64: dts: freescale: imx8mp-phyboard-pollux: Add and enable TPM
Benjamin Hahn
B.Hahn at phytec.de
Fri Aug 9 00:11:14 PDT 2024
On 08.08.24 12:27, Krzysztof Kozlowski wrote:
> On 07/08/2024 17:18, Benjamin Hahn wrote:
>> Add support for TPM for phyBOARD Pollux.
>>
>> Signed-off-by: Benjamin Hahn <B.Hahn at phytec.de>
>> ---
>> Changes in v2:
>> - renamed tpm node to tpm at 0
>> - removed num-cs
>> - cleanup pinctrl
>> - Link to v1: https://lore.kernel.org/r/20240805-imx8mp-tpm-v1-1-1e89f0268999@phytec.de
>> ---
>> .../dts/freescale/imx8mp-phyboard-pollux-rdk.dts | 26 ++++++++++++++++++++++
>> 1 file changed, 26 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts b/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
>> index 00a240484c25..0e8200413557 100644
>> --- a/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
>> +++ b/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
>> @@ -103,6 +103,23 @@ reg_vcc_3v3_sw: regulator-vcc-3v3-sw {
>> };
>> };
>>
>> +/* TPM */
>> +&ecspi1 {
>> + #address-cells = <1>;
>> + #size-cells = <0>;
>> + cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
>> + pinctrl-names = "default";
>> + pinctrl-0 = <&pinctrl_ecspi1>;
>> + status = "okay";
>> +
>> + tpm: tpm at 0 {
>> + compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
>> + reg = <0>;
>> + spi-max-frequency = <38000000>;
>> + status = "okay";
> Did you disabled it anywhere?
No, we don't disable it anywhere at the moment.
Benjamin
>
> Best regards,
> Krzysztof
>
More information about the linux-arm-kernel
mailing list