1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-apq8064-v2.0.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
7 model = "Asus Nexus7(flo)";
8 compatible = "asus,nexus7-flo", "qcom,apq8064";
9 chassis-type = "tablet";
12 serial0 = &gsbi7_serial;
13 serial1 = &gsbi6_serial;
17 stdout-path = "serial0:115200n8";
26 compatible = "ramoops";
27 reg = <0x88d00000 0x100000>;
28 record-size = <0x00020000>;
29 console-size = <0x00020000>;
30 ftrace-size = <0x00020000>;
34 ext_3p3v: regulator-ext-3p3v {
35 compatible = "regulator-fixed";
36 regulator-min-microvolt = <3300000>;
37 regulator-max-microvolt = <3300000>;
38 regulator-name = "ext_3p3v";
39 startup-delay-us = <0>;
40 gpio = <&tlmm_pinmux 77 GPIO_ACTIVE_HIGH>;
46 compatible = "gpio-keys";
49 gpios = <&pm8921_gpio 4 GPIO_ACTIVE_HIGH>;
50 linux,code = <KEY_VOLUMEUP>;
53 label = "Volume Down";
54 gpios = <&pm8921_gpio 38 GPIO_ACTIVE_HIGH>;
55 linux,code = <KEY_VOLUMEDOWN>;
61 compatible = "qcom,apq8064-imem", "syscon", "simple-mfd";
62 reg = <0x2a03f000 0x1000>;
65 compatible = "syscon-reboot-mode";
68 mode-normal = <0x77665501>;
69 mode-bootloader = <0x77665500>;
70 mode-recovery = <0x77665502>;
77 vdda-supply = <&pm8921_l2>;/*VDD_MIPI1 to 4*/
78 vdd-supply = <&pm8921_l8>;
79 vddio-supply = <&pm8921_lvs7>;
80 avdd-supply = <&pm8921_l11>;
85 compatible = "jdi,lt070me05000";
87 vddp-supply = <&pm8921_l17>;
88 iovcc-supply = <&pm8921_lvs7>;
90 enable-gpios = <&pm8921_gpio 36 GPIO_ACTIVE_HIGH>;
91 reset-gpios = <&tlmm_pinmux 54 GPIO_ACTIVE_LOW>;
92 dcdc-en-gpios = <&pm8921_gpio 23 GPIO_ACTIVE_HIGH>;
96 remote-endpoint = <&dsi0_out>;
103 remote-endpoint = <&mdp_dsi1_out>;
107 remote-endpoint = <&panel_in>;
108 data-lanes = <0 1 2 3>;
112 vddio-supply = <&pm8921_lvs7>;/*VDD_PLL2_1 to 7*/
117 qcom,mode = <GSBI_PROT_I2C>;
123 clock-frequency = <200000>;
124 pinctrl-0 = <&i2c1_pins>;
125 pinctrl-names = "default";
128 compatible = "atmel,24c128";
134 compatible = "ti,bq27541";
141 qcom,mode = <GSBI_PROT_I2C>;
146 clock-frequency = <200000>;
147 pinctrl-0 = <&i2c3_pins>;
148 pinctrl-names = "default";
152 compatible = "elan,ekth3500";
154 interrupt-parent = <&tlmm_pinmux>;
155 interrupts = <6 IRQ_TYPE_EDGE_FALLING>;
160 qcom,mode = <GSBI_PROT_I2C_UART>;
165 pinctrl-names = "default";
166 pinctrl-0 = <&gsbi6_uart_4pins>;
171 qcom,mode = <GSBI_PROT_I2C_UART>;
185 vmmc-supply = <&pm8921_l5>;
186 vqmmc-supply = <&pm8921_s4>;
191 remote-endpoint = <&dsi0_in>;
196 vdd_l1_l2_l12_l18-supply = <&pm8921_s4>;
197 vin_lvs1_3_6-supply = <&pm8921_s4>;
198 vin_lvs4_5_7-supply = <&pm8921_s4>;
201 vdd_l24-supply = <&pm8921_s1>;
202 vdd_l25-supply = <&pm8921_s1>;
203 vin_lvs2-supply = <&pm8921_s1>;
205 vdd_l26-supply = <&pm8921_s7>;
206 vdd_l27-supply = <&pm8921_s7>;
207 vdd_l28-supply = <&pm8921_s7>;
209 vdd_ncp-supply = <&pm8921_l6>;
214 regulator-min-microvolt = <1225000>;
215 regulator-max-microvolt = <1225000>;
216 qcom,switch-mode-frequency = <3200000>;
220 /* msm otg HSUSB_VDDCX */
222 regulator-min-microvolt = <500000>;
223 regulator-max-microvolt = <1150000>;
224 qcom,switch-mode-frequency = <4800000>;
228 * msm_sdcc.1-sdc-vdd_io
229 * tabla2x-slim-CDC_VDDA_RX
230 * tabla2x-slim-CDC_VDDA_TX
231 * tabla2x-slim-CDC_VDD_CP
232 * tabla2x-slim-VDDIO_CDC
235 regulator-min-microvolt = <1800000>;
236 regulator-max-microvolt = <1800000>;
237 qcom,switch-mode-frequency = <3200000>;
242 regulator-min-microvolt = <1300000>;
243 regulator-max-microvolt = <1300000>;
244 qcom,switch-mode-frequency = <3200000>;
247 /* mipi_dsi.1-dsi1_pll_vdda */
249 regulator-min-microvolt = <1200000>;
250 regulator-max-microvolt = <1200000>;
254 /* msm_otg-HSUSB_3p3 */
256 regulator-min-microvolt = <3075000>;
257 regulator-max-microvolt = <3075000>;
261 /* msm_otg-HSUSB_1p8 */
263 regulator-min-microvolt = <1800000>;
264 regulator-max-microvolt = <1800000>;
268 /* msm_sdcc.1-sdc_vdd */
270 regulator-min-microvolt = <2950000>;
271 regulator-max-microvolt = <2950000>;
277 regulator-min-microvolt = <2950000>;
278 regulator-max-microvolt = <2950000>;
281 /* mipi_dsi.1-dsi1_avdd */
283 regulator-min-microvolt = <3000000>;
284 regulator-max-microvolt = <3000000>;
289 /* pwm_power for backlight */
291 regulator-min-microvolt = <3000000>;
292 regulator-max-microvolt = <3000000>;
298 regulator-min-microvolt = <1800000>;
299 regulator-max-microvolt = <1800000>;
304 * tabla2x-slim-CDC_VDDA_A_1P2V
305 * tabla2x-slim-VDDD_CDC_D
308 regulator-min-microvolt = <1250000>;
309 regulator-max-microvolt = <1250000>;
329 * mipi_dsi.1-dsi1_vddio
339 v3p3-supply = <&pm8921_l3>;
340 v1p8-supply = <&pm8921_l4>;