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=1104d11a33e5e843dfbe8264d25dc8c604744275;hb=6a83e7f14032eced131bdee261c8adafeb252fa8;hpb=3f4b60a3a40e8804641690430ca4a5fe4cacbc8b diff --git a/arch/arm/boot/dts/rk3288-evb-act8846.dts b/arch/arm/boot/dts/rk3288-evb-act8846.dts index 1104d11a33e5..5817289604ab 100644 --- a/arch/arm/boot/dts/rk3288-evb-act8846.dts +++ b/arch/arm/boot/dts/rk3288-evb-act8846.dts @@ -40,10 +40,27 @@ /dts-v1/; #include "rk3288-evb.dtsi" +#include "rk3288-android.dtsi" / { compatible = "rockchip,rk3288-evb-act8846", "rockchip,rk3288"; + sdio_pwrseq: sdio-pwrseq { + compatible = "mmc-pwrseq-simple"; + clocks = <&hym8563>; + clock-names = "ext_clock"; + pinctrl-names = "default"; + pinctrl-0 = <&wifi_enable_h>; + + /* + * On the module itself this is one of these (depending + * on the actual card populated): + * - SDIO_RESET_L_WL_REG_ON + * - PDN (power down when low) + */ + reset-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>; + }; + vcc_lcd: vcc-lcd { compatible = "regulator-fixed"; enable-active-high; @@ -69,6 +86,11 @@ cpu0-supply = <&vdd_cpu>; }; +&edp { + vcc-supply = <&vdd10_lcd>; + vccio-supply = <&vcc18_lcd>; +}; + &gpu { status = "okay"; mali-supply = <&vdd_gpu>; @@ -86,7 +108,12 @@ regulator-max-microvolt = <1350000>; regulator-always-on; regulator-boot-on; + regulator-enable-ramp-delay = <300>; + regulator-ramp-delay = <8000>; vin-supply = <&vcc_sys>; + regulator-state-mem { + regulator-off-in-suspend; + }; }; vdd_gpu: syr828@41 { @@ -97,10 +124,14 @@ regulator-min-microvolt = <850000>; regulator-max-microvolt = <1350000>; regulator-always-on; + regulator-ramp-delay = <6000>; vin-supply = <&vcc_sys>; + regulator-state-mem { + regulator-off-in-suspend; + }; }; - hym8563@51 { + hym8563: hym8563@51 { compatible = "haoyu,hym8563"; reg = <0x51>; @@ -144,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; }; @@ -158,7 +189,7 @@ vccio_sd: REG5 { regulator-name = "VCCIO_SD"; - regulator-min-microvolt = <3300000>; + regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; regulator-always-on; }; @@ -215,6 +246,36 @@ }; }; +&edp_panel { + power-supply = <&vcc_lcd>; +}; + +&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>; +}; + &pinctrl { lcd { lcd_en: lcd-en { @@ -227,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>; + }; + }; };