]> xenbits.xensource.com Git - people/aperard/linux-chromebook.git/commitdiff
CHROMIUM: exynos: dts: TPM configuration is per board
authorVincent Palatin <vpalatin@chromium.org>
Wed, 30 Jan 2013 18:45:37 +0000 (10:45 -0800)
committerChromeBot <chrome-bot@google.com>
Thu, 31 Jan 2013 02:22:48 +0000 (18:22 -0800)
Move the TPM configuration to board-specific files.
On Daisy and Snow, we have a SLB9635TT TPM with software I2C (the max
bus speed is 100kHz).
On Spring, we have a SLB9645TT TPM with hardware I2c (the max bus speed
is 400kHz).

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BUG=chrome-os-partner:17506
TEST=on Snow and Spring, boot and grep the tpm_tis_i2c messages in the
kernel log.

Change-Id: I3c914c8647fad3f93c5273228c5a18e476efe100
Reviewed-on: https://gerrit.chromium.org/gerrit/42333
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Luigi Semenzato <semenzato@chromium.org>
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>

arch/arm/boot/dts/cros5250-common.dtsi
arch/arm/boot/dts/exynos5250-daisy.dts
arch/arm/boot/dts/exynos5250-snow.dts
arch/arm/boot/dts/exynos5250-spring.dts

index 2bbff97668298b40d79624ccaff1543fbaa58b8c..82834e629b138608e45d65ed4272bed9efa7b079 100644 (file)
 
        };
 
-       i2c@12C90000 {
-               samsung,i2c-sda-delay = <100>;
-               samsung,i2c-max-bus-freq = <66000>;
-               gpios = <&gpa1 2 3 3 0>,
-                       <&gpa1 3 3 3 0>;
-
-               tpm {
-                       compatible = "infineon,slb9635tt";
-                       reg = <0x20>;
-               };
-       };
-
        i2c@12CA0000 {
                samsung,i2c-sda-delay = <100>;
                samsung,i2c-max-bus-freq = <66000>;
index 0736f533ed4e4112822c6eaa5203ae51ccd8bcf7..23c107f75f414b29091c6aae37701dea522231dd 100644 (file)
                };
        };
 
+       i2c@12C90000 {
+               samsung,i2c-sda-delay = <100>;
+               samsung,i2c-max-bus-freq = <66000>;
+               gpios = <&gpa1 2 3 3 0>,
+                       <&gpa1 3 3 3 0>;
+
+               tpm {
+                       compatible = "infineon,slb9635tt";
+                       reg = <0x20>;
+               };
+       };
+
        xhci {
                phy {
                        compatible = "samsung,exynos-usbphy";
index 3a388a36ee598878c19a36746554af93ba86e6ca..3dfe8025eb2d16f24bcb8b075474483b2fd84e19 100644 (file)
                        gpio-key,wakeup;
                };
        };
+
+       i2c@12C90000 {
+               samsung,i2c-sda-delay = <100>;
+               samsung,i2c-max-bus-freq = <66000>;
+               gpios = <&gpa1 2 3 3 0>,
+                       <&gpa1 3 3 3 0>;
+
+               tpm {
+                       compatible = "infineon,slb9635tt";
+                       reg = <0x20>;
+               };
+       };
        i2c@12CA0000 {
                samsung,slew-delay-us = <10>;
                samsung,wait-retry-us = <3000>;
index 8dab7631177147fd00cab77fd7c8585c35e7c0ae..f0ff631f84397067a3477dca56b299b2d48a2fc0 100644 (file)
                status = "disabled";
        };
 
+       i2c@12C90000 {
+               samsung,i2c-sda-delay = <100>;
+               samsung,i2c-max-bus-freq = <400000>;
+               gpios = <&gpa1 2 3 3 0>,
+                       <&gpa1 3 3 3 0>;
+
+               tpm {
+                       compatible = "infineon,slb9645tt";
+                       reg = <0x20>;
+               };
+       };
+
        i2c@12CD0000 {
                ps8622-bridge@8 {
                        compatible = "parade,ps8622";