summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-loki.h
diff options
context:
space:
mode:
authorXiaohui Tao <xtao@nvidia.com>2013-10-30 18:26:04 -0700
committerJon Mayo <jmayo@nvidia.com>2013-11-04 15:37:16 -0800
commit08d85171616e247fb5200496fb86a3060bbaa712 (patch)
tree8ef78c43891606c97713cbd496e5755a6b97a3ec /arch/arm/mach-tegra/board-loki.h
parent99492668b6c37d2742f7ab2d40135da20927eec9 (diff)
ARM: tegra: Loki: Add orientatioin
The new board has the chip rotated 90 degree. Add another entry for the FAB 01 unit. Change-Id: I60779cc59b251141bcd86c2c1432f5f9575fb4b5 Signed-off-by: Xiaohui Tao <xtao@nvidia.com> Reviewed-on: http://git-master/r/309867 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Robert Collins <rcollins@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-loki.h')
-rw-r--r--arch/arm/mach-tegra/board-loki.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/arm/mach-tegra/board-loki.h b/arch/arm/mach-tegra/board-loki.h
index c4c22ec25b12..ed1a0d002158 100644
--- a/arch/arm/mach-tegra/board-loki.h
+++ b/arch/arm/mach-tegra/board-loki.h
@@ -39,11 +39,12 @@ int loki_soctherm_init(void);
int loki_emc_init(void);
/* Invensense MPU Definitions */
-#define MPU_GYRO_NAME "mpu6050"
-#define MPU_GYRO_IRQ_GPIO TEGRA_GPIO_PR2
-#define MPU_GYRO_ADDR 0x68
-#define MPU_GYRO_BUS_NUM 0
-#define MPU_GYRO_ORIENTATION MTMAT_BOT_CCW_90
+#define MPU_GYRO_NAME "mpu6050"
+#define MPU_GYRO_IRQ_GPIO TEGRA_GPIO_PR2
+#define MPU_GYRO_ADDR 0x68
+#define MPU_GYRO_BUS_NUM 0
+#define MPU_GYRO_ORIENTATION MTMAT_BOT_CCW_0
+#define MPU_GYRO_ORIENTATION_FAB0 MTMAT_BOT_CCW_90
#define MPU_GYRO_ORIENTATION_T_1_95 { 0, 1, 0, 0, 0, 1, 1, 0, 0 }
/* PCA954x I2C bus expander bus addresses */