From: hero.huang Date: Mon, 27 Mar 2017 10:03:20 +0000 (+0800) Subject: arm64: dts: rockchip: add gsl3680 and mpu6050 for RK3399 Firefly Board X-Git-Tag: firefly_0821_release~50 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ab664b93981c79d613aacd0ac1c85cf96cada44a;p=firefly-linux-kernel-4.4.55.git arm64: dts: rockchip: add gsl3680 and mpu6050 for RK3399 Firefly Board Change-Id: I8e6f4802d4c1b10873c655cc620e6d7be47efee7 Signed-off-by: hero.huang --- diff --git a/arch/arm64/boot/dts/rockchip/rk3399-firefly-linux.dts b/arch/arm64/boot/dts/rockchip/rk3399-firefly-linux.dts index 2af206475438..740a5fbf7f2c 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-firefly-linux.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-firefly-linux.dts @@ -685,6 +685,30 @@ vbus-5v-gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>; status = "okay"; }; + + gsl3680: gsl3680@41 { + status = "disabled"; + compatible = "gslX680-pad"; + reg = <0x41>; + screen_max_x = <1536>; + screen_max_y = <2048>; + touch-gpio = <&gpio1 20 IRQ_TYPE_LEVEL_LOW>; + reset-gpio = <&gpio0 12 GPIO_ACTIVE_HIGH>; + }; + + mpu6050: mpu@68 { + status = "disabled"; + compatible = "invensense,mpu6050"; + reg = <0x68>; + mpu-int_config = <0x10>; + mpu-level_shifter = <0>; + mpu-orientation = <0 1 0 1 0 0 0 0 1>; + orientation-x= <1>; + orientation-y= <1>; + orientation-z= <1>; + irq-gpio = <&gpio1 4 IRQ_TYPE_LEVEL_LOW>; + mpu-debug = <1>; + }; }; &i2s0 {