From patchwork Sun Aug 23 00:31:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 509789 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id E4C551402B7 for ; Sun, 23 Aug 2015 10:40:36 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b=h6S8Vxq/; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 556284B639; Sun, 23 Aug 2015 02:40:33 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zzeZTr4iaBoD; Sun, 23 Aug 2015 02:40:33 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0C8834B663; Sun, 23 Aug 2015 02:40:24 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D0FF04B62A for ; Sun, 23 Aug 2015 02:40:17 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BWwlaau4KvH4 for ; Sun, 23 Aug 2015 02:40:17 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-io0-f181.google.com (mail-io0-f181.google.com [209.85.223.181]) by theia.denx.de (Postfix) with ESMTPS id 3E0544B632 for ; Sun, 23 Aug 2015 02:40:13 +0200 (CEST) Received: by iods203 with SMTP id s203so116145807iod.0 for ; Sat, 22 Aug 2015 17:40:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=bcLuM4qyvoAhhtLTQq+QAm03a1LZFb6i7BO/sFxFlv4=; b=h6S8Vxq/q5gAmCHl39uqTvJfWiLRt/JiD5aQztRcOxHJwDYqLvhGk7i0JlRZnIKLwQ H2AjbUU2CRmuMApn71KED6LGexQcLBn1NFrGQxlMKnWYyzmqNmixLfqMbft20JfBKorD 5F+5OT/1FeAQHk38znYz5M66rNdpi1gNoP+fJSb0jVeJ+nPbwmRpOWTjbIK8VrUXkXpc Rt+L05Zj93DID00rr5me6jTUUS0ua+ObI193jFxHMGzf2G0bYmHyOPCSe6MarZt1FXGZ jn0ePb0QvGbxjkcTQMKwgTrLmaSLk2GoVCKbXtVp2Ux0cKCMC/UcPQl+wZ7PJ3aw02lJ YN9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=bcLuM4qyvoAhhtLTQq+QAm03a1LZFb6i7BO/sFxFlv4=; b=UrntODiZUMKetlF6jZVOAcwY+gX0XaBmi2ld2kwWWhp6P1xIJ4HqY3CelncpLrsLdN MA5oQlYrzGWGEEo01tAyyfqqsegcwB8Hg7RDxZYNvrFGp003a2h4KlXT1lwujd9RbZHk noMWKkchoB48PLp67H/gDMy/Uj9mQ1BVShCn//n4O9G4KmKOG1f2YICCbzAuGMey7vU3 WH0hSyVJpYKDMUH02nZ6kO3hz6LBcdIIohEpmhlfIEbkGqzvBhcI0ug5amwCddjPYWPb Vln4uabkdIzLuiDPelvxxG4tsuzXBJrPLbgBvehOfVMK7jsP+Q9HwKrhH3eusjhTC6wc g2qw== X-Gm-Message-State: ALoCoQlrGNN/feuSHeUx53sbh7wH/NLaVqfgchuw9Sv9reVGO8H49Duzr9GqkdL4qN2/ZAZAEghG X-Received: by 10.107.155.12 with SMTP id d12mr16252047ioe.131.1440290412539; Sat, 22 Aug 2015 17:40:12 -0700 (PDT) Received: from kaki.bld.corp.google.com ([172.29.216.32]) by smtp.gmail.com with ESMTPSA id r4sm5490326igh.14.2015.08.22.17.40.10 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 22 Aug 2015 17:40:11 -0700 (PDT) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 8305D2219B1; Sat, 22 Aug 2015 18:32:14 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Sat, 22 Aug 2015 18:31:37 -0600 Message-Id: <1440289904-31280-22-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.5.0.457.gab17608 In-Reply-To: <1440289904-31280-1-git-send-email-sjg@chromium.org> References: <1440289904-31280-1-git-send-email-sjg@chromium.org> Cc: Graeme Russ , Christophe Ricard Subject: [U-Boot] [PATCH v2 21/28] exynos: x86: dts: Add tpm nodes to the device tree for Chrome OS devices X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Add a TPM node to the various Chromebooks so that driver can be converted to driver model. Signed-off-by: Simon Glass Acked-by: Christophe Ricard --- Changes in v2: - Add tpm device tree node for panther also arch/arm/dts/exynos5250-snow.dts | 9 +++++++++ arch/arm/dts/exynos5250-spring.dts | 8 ++++++++ arch/arm/dts/exynos5420-peach-pit.dts | 6 +++--- arch/arm/dts/exynos5800-peach-pi.dts | 6 +++--- arch/x86/dts/chromebook_link.dts | 5 +++++ arch/x86/dts/chromebox_panther.dts | 5 +++++ 6 files changed, 33 insertions(+), 6 deletions(-) diff --git a/arch/arm/dts/exynos5250-snow.dts b/arch/arm/dts/exynos5250-snow.dts index 32c0098..bda5499 100644 --- a/arch/arm/dts/exynos5250-snow.dts +++ b/arch/arm/dts/exynos5250-snow.dts @@ -206,6 +206,15 @@ }; }; + i2c@12C90000 { + clock-frequency = <100000>; + tpm@20 { + reg = <0x20>; + u-boot,i2c-offset-len = <0>; + compatible = "infineon,slb9635tt"; + }; + }; + spi@12d30000 { spi-max-frequency = <50000000>; firmware_storage_spi: flash@0 { diff --git a/arch/arm/dts/exynos5250-spring.dts b/arch/arm/dts/exynos5250-spring.dts index 76d5323..81b3d29 100644 --- a/arch/arm/dts/exynos5250-spring.dts +++ b/arch/arm/dts/exynos5250-spring.dts @@ -59,6 +59,14 @@ <&gpy4 2 0>; }; + i2c@12C90000 { + clock-frequency = <100000>; + tpm@20 { + reg = <0x20>; + compatible = "infineon,slb9645tt"; + }; + }; + mmc@12200000 { samsung,bus-width = <8>; samsung,timing = <1 3 3>; diff --git a/arch/arm/dts/exynos5420-peach-pit.dts b/arch/arm/dts/exynos5420-peach-pit.dts index 2d2b7c9..16d52f4 100644 --- a/arch/arm/dts/exynos5420-peach-pit.dts +++ b/arch/arm/dts/exynos5420-peach-pit.dts @@ -197,9 +197,9 @@ i2c@12E10000 { /* i2c9 */ clock-frequency = <400000>; - tpm@20 { - compatible = "infineon,slb9645tt"; - reg = <0x20>; + tpm@20 { + compatible = "infineon,slb9645tt"; + reg = <0x20>; }; }; diff --git a/arch/arm/dts/exynos5800-peach-pi.dts b/arch/arm/dts/exynos5800-peach-pi.dts index 600c294..1d7ff23 100644 --- a/arch/arm/dts/exynos5800-peach-pi.dts +++ b/arch/arm/dts/exynos5800-peach-pi.dts @@ -72,9 +72,9 @@ i2c@12E10000 { /* i2c9 */ clock-frequency = <400000>; - tpm@20 { - compatible = "infineon,slb9645tt"; - reg = <0x20>; + tpm@20 { + compatible = "infineon,slb9645tt"; + reg = <0x20>; }; }; diff --git a/arch/x86/dts/chromebook_link.dts b/arch/x86/dts/chromebook_link.dts index ad390bf..4291141 100644 --- a/arch/x86/dts/chromebook_link.dts +++ b/arch/x86/dts/chromebook_link.dts @@ -237,6 +237,11 @@ }; }; + tpm { + reg = <0xfed40000 0x5000>; + compatible = "infineon,slb9635lpc"; + }; + microcode { update@0 { #include "microcode/m12306a9_0000001b.dtsi" diff --git a/arch/x86/dts/chromebox_panther.dts b/arch/x86/dts/chromebox_panther.dts index 84eae3a..36feb96 100644 --- a/arch/x86/dts/chromebox_panther.dts +++ b/arch/x86/dts/chromebox_panther.dts @@ -62,4 +62,9 @@ }; }; + tpm { + reg = <0xfed40000 0x5000>; + compatible = "infineon,slb9635lpc"; + }; + };