Wifi: add wifi power control configration [keep_wifi_power_on].
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / rk3288-tb.dts
index 6fa9837227de88abd093115ca1ec5054f62686ca..c7cd3c0b28d84d30e56f3aeb8e7236af5a2672fa 100755 (executable)
     wireless-wlan {
         compatible = "wlan-platdata";
 
-        wifi_chip_type = "";
+        /* wifi_chip_type - wifi chip define
+         * bcmwifi ==> like ap6xxx, rk90x;
+         * rtkwifi ==> like rtl8188xx, rtl8723xx;
+         * esp8089 ==> esp8089;
+         * other   ==> for other wifi;
+         */
+        wifi_chip_type = "bcmwifi";
+
         sdio_vref = <1800>; //1800mv or 3300mv
 
+        //keep_wifi_power_on;
+
         //power_ctrl_by_pmu;
         power_pmu_regulator = "act_ldo3";
         power_pmu_enable_level = <1>; //1->HIGH, 0->LOW
 
 };
 
+&nandc0 {
+       status = "disabled"; // used nand set "disabled" ,used emmc set "okay"
+};
+&nandc1 {
+       status = "disabled"; // used nand set "disabled" ,used emmc set "okay"
+};   
+
+&nandc0reg {
+       status = "okay"; // used nand set "disabled" ,used emmc set "okay"
+};
+
 &emmc {
        clock-frequency = <100000000>;
        clock-freq-min-max = <400000 100000000>;
         supports-highspeed;
        supports-emmc;
         bootpart-no-access;
-
+       
+       //supports-tSD;
        //supports-DDR_MODE; //you should set the two value in your project. only close in RK3288-SDK board.
        //caps2-mmc-hs200;
 
 
 &fb {
        rockchip,disp-mode = <DUAL>;
+       rockchip,uboot-logo-on = <1>;
 };
 
 &rk_screen {
         display-timings = <&disp_timings>;
 };
 
-/*lcdc1 as PRMRY(LCD),lcdc0 as EXTEND(HDMI)*/
-&lcdc1 {
+/*lcdc0 as PRMRY(LCD),lcdc1 as EXTEND(HDMI)*/
+&lcdc0 {
        status = "okay";
        rockchip,mirror = <NO_MIRROR>;
        rockchip,cabc_mode = <0>;
        };
 };
 
-&lcdc0 {
+&lcdc1 {
        status = "okay";
+       rockchip,mirror = <NO_MIRROR>;
 };
 
 &hdmi {
                SYS_STATUS_PERFORMANCE  528000
                SYS_STATUS_DUALVIEW     400000
                SYS_STATUS_BOOST        324000
-               SYS_STATUS_ISP          400000
+               SYS_STATUS_ISP          533000
                >;
        auto-freq-table = <
                240000
 
                ldo1_reg: regulator@4 {
                        regulator-name= "vccio_sd";
-                       regulator-min-microvolt = <3300000>;
+                       regulator-min-microvolt = <1800000>;
                        regulator-max-microvolt = <3300000>;
                        
                };
 
                rk808_dcdc2_reg: regulator@1 {
                        regulator-name= "vdd_gpu";
-                       regulator-always-on;
-                       regulator-boot-on;
+                       //regulator-always-on;
+                       //regulator-boot-on;
                };
 
                rk808_dcdc3_reg: regulator@2 {
        
        regulators {
                ricoh619_dcdc1_reg: regulator@0 {
-                       regulator-name = "vdd_logic";
-                       regulator-min-microvolt = < 700000>;
-                       regulator-max-microvolt = <1500000>;
+                       regulator-name = "vccio";
+                       regulator-min-microvolt = <3300000>;
+                       regulator-max-microvolt = <3300000>;
                        regulator-initial-mode = <0x2>;
                        regulator-initial-state = <3>;
                        regulator-state-mem {
                                regulator-state-mode = <0x2>;
                                regulator-state-enabled;
-                               regulator-state-uv = <900000>;
+                               regulator-state-uv = <2800000>;
                        };      
                };
                ricoh619_dcdc2_reg: regulator@1 {
                        regulator-name = "ricoh619_dcdc2";
-                       regulator-min-microvolt = <1200000>;
-                       regulator-max-microvolt = <1200000>;
+                       regulator-min-microvolt = <2000000>;
+                       regulator-max-microvolt = <2000000>;
                        regulator-initial-mode = <0x2>;
                        regulator-initial-state = <3>;
                        regulator-state-mem {
                                regulator-state-mode = <0x2>;
                                regulator-state-enabled;
-                               regulator-state-uv = <1200000>;
+                               regulator-state-uv = <2000000>;
                        };      
                };
                ricoh619_dcdc3_reg: regulator@2 {
-                       regulator-name = "ricoh619_dcdc3";
-                       regulator-min-microvolt = < 1200000>;
-                       regulator-max-microvolt = <1200000>;
+                       regulator-name = "vcc_lcd";
+                       regulator-min-microvolt = <3300000>;
+                       regulator-max-microvolt = <3300000>;
                        regulator-initial-mode = <0x2>;
                        regulator-initial-state = <3>;
                        regulator-state-mem {
                                regulator-state-mode = <0x2>;
                                regulator-state-enabled;
-                               regulator-state-uv = <1200000>;
+                               regulator-state-uv = <3300000>;
                        };      
                };
                ricoh619_dcdc4_reg: regulator@3 {
-                       regulator-name = "ricoh619_dcdc4";
-                       regulator-min-microvolt = < 3300000>;
-                       regulator-max-microvolt = <3300000>;
+                       regulator-name = "vdd_logic";
+                       regulator-min-microvolt = <700000>;
+                       regulator-max-microvolt = <1500000>;
                        regulator-initial-mode = <0x2>;
                        regulator-initial-state = <3>;
                        regulator-state-mem {
                                regulator-state-mode = <0x2>;
                                regulator-state-enabled;
-                               regulator-state-uv = <2800000>;
+                               regulator-state-uv = <900000>;
                        };      
                };
                ricoh619_dcdc5_reg: regulator@4 {
-                       regulator-name = "ricoh619_dcdc5";
-                       regulator-min-microvolt = < 2000000>;
-                       regulator-max-microvolt = <2000000>;
+                       regulator-name = "vcc_ddr";
+                       regulator-min-microvolt = <1200000>;
+                       regulator-max-microvolt = <1200000>;
                        regulator-initial-mode = <0x2>;
                        regulator-initial-state = <3>;
                        regulator-state-mem {
                                regulator-state-mode = <0x2>;
                                regulator-state-enabled;
-                               regulator-state-uv = <2000000>;
+                               regulator-state-uv = <1200000>;
                        };      
                };
                ricoh619_ldo1_reg: regulator@5  {
-                       regulator-name = "ricoh619_ldo1";
+                       regulator-name = "vccio_pmu";
                        regulator-min-microvolt = <3300000>;
                        regulator-max-microvolt = <3300000>;
                        regulator-initial-state = <3>;
                        };
                };
                ricoh619_ldo5_reg: regulator@9  {
-                       regulator-name = "ricoh619_ldo5";
-                       regulator-min-microvolt = <3300000>;
-                       regulator-max-microvolt = <3300000>;
+                       regulator-name = "vcc_wl";
+                       regulator-min-microvolt = <1800000>;
+                       regulator-max-microvolt = <1800000>;
                        regulator-initial-state = <3>;
                        regulator-state-mem {
                                regulator-state-enabled;
-                               regulator-state-uv = <3300000>;
+                               regulator-state-uv = <1800000>;
                        };
                };
                ricoh619_ldo6_reg: regulator@10  {
                };
                ricoh619_ldo8_reg: regulator@12  {
                        regulator-name = "ricoh619_ldo8";
-                       regulator-min-microvolt = <1800000>;
-                       regulator-max-microvolt = <1800000>;
+                       regulator-min-microvolt = <3300000>;
+                       regulator-max-microvolt = <3300000>;
                        regulator-initial-state = <3>;
                        regulator-state-mem {
                                regulator-state-enabled;
-                               regulator-state-uv = <1800000>;
+                               regulator-state-uv = <3300000>;
                        };
                };
                ricoh619_ldo9_reg: regulator@13  {
                        };
                };
                ricoh619_ldo10_reg: regulator@14  {
-                       regulator-name = "ricoh619_ldo10";
+                       regulator-name = "vcc_18";
                        regulator-min-microvolt = <1800000>;
                        regulator-max-microvolt = <1800000>;
                        regulator-initial-state = <3>;
 &sdmmc0_vdd_domain{
        regulator-name = "vcc_sd";                      
        };
-       
+
+&ion_cma {
+       reg = <0x40000000 0x28000000>; /* 640MB */
+};
+
+&dwc_control_usb {
+       usb_uart {
+               status = "disabled";
+       };
+};