ARM64: dts: rockchip: modify the name of the delay time for panel
[firefly-linux-kernel-4.4.55.git] / arch / arm64 / boot / dts / rockchip / rk3368-p9.dts
index 48622e11b3f64c7558b3e2d6eadc86fa50fec0a5..3f6c65dbe7773122662e7fa19219f8678934673e 100644 (file)
        logic-supply = <&vdd_logic>;
 };
 
+&rockchip_suspend {
+       status = "okay";
+       rockchip,sleep-mode-config = <
+               (0
+               | RKPM_SLP_ARMOFF
+               | RKPM_SLP_PMU_PLLS_PWRDN
+               | RKPM_SLP_PMU_PMUALIVE_32K
+               | RKPM_SLP_SFT_PLLS_DEEP
+               | RKPM_SLP_PMU_DIS_OSC
+               | RKPM_SLP_SFT_PD_NBSCUS
+               )
+       >;
+       rockchip,wakeup-config = <
+               (0
+               | RKPM_GPIO_WKUP_EN
+               | RKPM_USB_WKUP_EN
+               | RKPM_CLUSTER_L_WKUP_EN
+               )
+       >;
+};
+
 &emmc {
        bus-width = <8>;
        cap-mmc-highspeed;
                compatible = "silergy,syr827";
                status = "okay";
                reg = <0x40>;
-
                regulator-compatible = "fan53555-reg";
                regulator-name = "vdd_arm";
                regulator-min-microvolt = <712500>;
                regulator-max-microvolt = <1500000>;
                regulator-ramp-delay = <1000>;
                fcs,suspend-voltage-selector = <1>;
+               pinctrl-0 = <&vsel_gpio>;
+               vsel-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
                regulator-always-on;
                regulator-boot-on;
                regulator-initial-state = <3>;
                                        regulator-suspend-microvolt = <5000000>;
                                };
                        };
+
+                       otg_switch: OTG_SWITCH {
+                               regulator-name = "otg_switch";
+                       };
                };
 
                battery {
        status = "okay";
 };
 
-&mipi_dsi_host {
+&dsi {
        status = "okay";
 
-       dsi_panel: panel@0 {
+       panel@0 {
                compatible = "simple-panel-dsi";
                reg = <0>;
                backlight = <&backlight>;
                enable-gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
+
                dsi,flags = <(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST)>;
                dsi,format = <MIPI_DSI_FMT_RGB888>;
                dsi,lanes = <4>;
 
-               delay,prepare = <120>;
-               delay,enable = <200>;
+               prepare-delay-ms = <120>;
+               enable-delay-ms = <200>;
 
-               disp_timings: display-timings {
+               display-timings {
                        native-mode = <&timing0>;
 
                        timing0: timing0 {
 };
 
 &mipi_dphy {
-       rockchip,dsi-panel = <&dsi_panel>;
        status = "okay";
 };
 
-&route_mipi {
+&route_dsi {
        status = "okay";
 };
 
                pmic_int_l: pmic-int-l {
                        rockchip,pins = <RK_GPIO0 1 RK_FUNC_GPIO &pcfg_pull_up>;
                };
+               vsel_gpio: vsel-gpio {
+                       rockchip,pins = <0 0 RK_FUNC_GPIO &pcfg_pull_down>;
+               };
        };
 
        mpu6500 {