[PATCH u-boot v2019.04-aspeed-openbmc 3/5] arm: dts: ast2600-rainier: Add NPCT75X TPM

Joel Stanley joel at jms.id.au
Tue May 10 12:44:58 AEST 2022


On Thu, 5 May 2022 at 20:28, Eddie James <eajames at linux.ibm.com> wrote:
>
> Add the TPM device on I2C bus 12.

What happens when a board doesn't have a TPM attached to this bus?

>
> Signed-off-by: Eddie James <eajames at linux.ibm.com>
> ---
>  arch/arm/dts/ast2600-rainier.dts | 12 +++++++-----
>  1 file changed, 7 insertions(+), 5 deletions(-)
>
> diff --git a/arch/arm/dts/ast2600-rainier.dts b/arch/arm/dts/ast2600-rainier.dts
> index 8a44fd8a0a..aa91b12ed3 100755
> --- a/arch/arm/dts/ast2600-rainier.dts
> +++ b/arch/arm/dts/ast2600-rainier.dts
> @@ -106,12 +106,14 @@
>
>  &gpio0 {
>         u-boot,dm-pre-reloc;
> +};
> +
> +&i2c12 {
> +       status = "okay";
>
> -       tpm_reset {
> -               u-boot,dm-pre-reloc;
> -               gpio-hog;
> -               output-high;
> -               gpios = <ASPEED_GPIO(R, 0) GPIO_ACTIVE_HIGH>;
> +       tpm at 2e {
> +               compatible = "nuvoton,npct75x";
> +               reg = <0x2e>;
>         };
>  };
>
> --
> 2.27.0
>


More information about the openbmc mailing list