From 287dbefa77b1e50f036118c583a4316f9c83f8f8 Mon Sep 17 00:00:00 2001 From: ywj Date: Fri, 4 Apr 2014 11:37:14 +0800 Subject: [PATCH] update rk3288-p977.dts for compass orientation --- arch/arm/boot/dts/rk3288-p977.dts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/rk3288-p977.dts b/arch/arm/boot/dts/rk3288-p977.dts index 871c5de0b476..a9a452111292 100755 --- a/arch/arm/boot/dts/rk3288-p977.dts +++ b/arch/arm/boot/dts/rk3288-p977.dts @@ -346,7 +346,7 @@ orientation-y= <0>; orientation-z= <1>; irq-gpio = <&gpio8 GPIO_A0 IRQ_TYPE_LEVEL_LOW>; - mpu-debug = <1>; + mpu-debug = <0>; }; /* ak8963:compass@0d{ @@ -367,11 +367,11 @@ reg = <0x0d>; compass-bus = <0>; compass-adapt_num = <0>; - compass-orientation = <1 0 0 0 1 0 0 0 1>; - orientation-x= <1>; + compass-orientation = <0 1 0 1 0 0 0 0 1>; + orientation-x= <0>; orientation-y= <0>; - orientation-z= <1>; - compass-debug = <1>; + orientation-z= <0>; + compass-debug = <0>; }; }; -- 2.34.1