X-Git-Url: http://plrg.eecs.uci.edu/git/?p=firefly-linux-kernel-4.4.55.git;a=blobdiff_plain;f=arch%2Farm%2Fboot%2Fdts%2Frk3288-evb-act8846.dts;h=5817289604ab654a32bc98b812cc640abef72789;hp=6dae0d005cde0fef7564826c38de5349e0a0c257;hb=6a83e7f14032eced131bdee261c8adafeb252fa8;hpb=f9ae5d202b3953b5d69e860e540a6f53df7015b5 diff --git a/arch/arm/boot/dts/rk3288-evb-act8846.dts b/arch/arm/boot/dts/rk3288-evb-act8846.dts index 6dae0d005cde..5817289604ab 100644 --- a/arch/arm/boot/dts/rk3288-evb-act8846.dts +++ b/arch/arm/boot/dts/rk3288-evb-act8846.dts @@ -40,6 +40,7 @@ /dts-v1/; #include "rk3288-evb.dtsi" +#include "rk3288-android.dtsi" / { compatible = "rockchip,rk3288-evb-act8846", "rockchip,rk3288"; @@ -85,6 +86,11 @@ cpu0-supply = <&vdd_cpu>; }; +&edp { + vcc-supply = <&vdd10_lcd>; + vccio-supply = <&vcc18_lcd>; +}; + &gpu { status = "okay"; mali-supply = <&vdd_gpu>; @@ -105,6 +111,9 @@ regulator-enable-ramp-delay = <300>; regulator-ramp-delay = <8000>; vin-supply = <&vcc_sys>; + regulator-state-mem { + regulator-off-in-suspend; + }; }; vdd_gpu: syr828@41 { @@ -117,6 +126,9 @@ regulator-always-on; regulator-ramp-delay = <6000>; vin-supply = <&vcc_sys>; + regulator-state-mem { + regulator-off-in-suspend; + }; }; hym8563: hym8563@51 { @@ -163,8 +175,8 @@ vdd_log: REG3 { regulator-name = "VDD_LOG"; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1000000>; + regulator-min-microvolt = <1150000>; + regulator-max-microvolt = <1150000>; regulator-always-on; }; @@ -234,11 +246,33 @@ }; }; -&lvds_panel { +&edp_panel { power-supply = <&vcc_lcd>; }; -&panel { +&i2c1 { + status = "okay"; + clock-frequency = <400000>; + + mpu6050@68 { + compatible = "invensense,mpu6050"; + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&mpu6050_irq_gpio>; + reg = <0x68>; + irq-gpio = <&gpio8 0 IRQ_TYPE_EDGE_RISING>; + mpu-int_config = <0x10>; + mpu-level_shifter = <0>; + mpu-orientation = <0 1 0 1 0 0 0 0 1>; + orientation-x= <0>; + orientation-y= <1>; + orientation-z= <0>; + support-hw-poweroff = <1>; + mpu-debug = <1>; + }; +}; + +&lvds_panel { power-supply = <&vcc_lcd>; }; @@ -254,4 +288,10 @@ rockchip,pins = <7 9 RK_FUNC_GPIO &pcfg_pull_none>; }; }; + + mpu6050 { + mpu6050_irq_gpio: mpu6050-irq-gpio { + rockchip,pins = <8 0 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; };