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
dais {
dai0 {
audio-codec = <&codec_hdmi_i2s>;
- i2s-controller = <&i2s>;
+ audio-controller = <&i2s>;
format = "i2s";
//continuous-clock;
//bitclock-inversion;
dais {
dai0 {
audio-codec = <&codec_hdmi_spdif>;
- i2s-controller = <&spdif>;
+ audio-controller = <&spdif>;
};
};
};
dais {
dai0 {
audio-codec = <&rt5631>;
- i2s-controller = <&i2s>;
+ audio-controller = <&i2s>;
format = "i2s";
//continuous-clock;
//bitclock-inversion;
dais {
dai0 {
audio-codec = <&rt3261>;
- i2s-controller = <&i2s>;
+ audio-controller = <&i2s>;
format = "i2s";
//continuous-clock;
//bitclock-inversion;
};
dai1 {
audio-codec = <&rt3261>;
- i2s-controller = <&i2s>;
+ audio-controller = <&i2s>;
format = "dsp_a";
//continuous-clock;
bitclock-inversion;
power-gpio = <&gpio0 GPIO_A6 GPIO_ACTIVE_HIGH>;
// power-pmu = "act_ldo"
reset-gpio = <&gpio4 GPIO_A7 GPIO_ACTIVE_LOW>;
+ status = "disabled"; //if want to use gmac, please set "okay"
};
&pinctrl {
supports-highspeed;
supports-emmc;
+ //supports-sd;
bootpart-no-access;
-
+
//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 {
&hdmi {
status = "okay";
- rockchips,hdmi_audio_source = <0>;
+ rockchip,hdmi_video_source = <DISPLAY_SOURCE_LCDC1>;
};
&adc {
SYS_STATUS_BOOST 324000
SYS_STATUS_ISP 533000
>;
+ bd-freq-table = <
+ /* bandwidth freq */
+ 5000 800000
+ 3500 456000
+ 2600 396000
+ 2000 324000
+ >;
auto-freq-table = <
240000
324000
ldo1_reg: regulator@4 {
regulator-name= "vccio_sd";
- regulator-min-microvolt = <3300000>;
+ regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
};
rk808_dcdc1_reg: regulator@0{
regulator-name= "vdd_arm";
+ regulator-min-microvolt = <700000>;
+ regulator-max-microvolt = <1500000>;
regulator-always-on;
regulator-boot-on;
+ regulator-initial-mode = <0x2>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-mode = <0x2>;
+ regulator-state-disabled;
+ regulator-state-uv = <900000>;
+ };
};
rk808_dcdc2_reg: regulator@1 {
regulator-name= "vdd_gpu";
- //regulator-always-on;
- //regulator-boot-on;
+ regulator-min-microvolt = <700000>;
+ regulator-max-microvolt = <1500000>;
+ /*regulator-always-on;*/
+ /*regulator-boot-on;*/
+ regulator-initial-mode = <0x2>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-mode = <0x2>;
+ regulator-state-disabled;
+ regulator-state-uv = <900000>;
+ };
};
rk808_dcdc3_reg: regulator@2 {
regulator-max-microvolt = <1200000>;
regulator-always-on;
regulator-boot-on;
+ regulator-initial-mode = <0x2>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-mode = <0x2>;
+ regulator-state-enabled;
+ regulator-state-uv = <1200000>;
+ };
};
rk808_dcdc4_reg: regulator@3 {
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
+ regulator-initial-mode = <0x2>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-mode = <0x2>;
+ regulator-state-enabled;
+ regulator-state-uv = <2800000>;
+ };
};
rk808_ldo1_reg: regulator@4 {
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <3300000>;
+ };
};
rk808_ldo2_reg: regulator@5 {
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <3300000>;
+ };
};
rk808_ldo3_reg: regulator@6 {
regulator-max-microvolt = <1000000>;
regulator-always-on;
regulator-boot-on;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <1000000>;
+ };
};
rk808_ldo4_reg:regulator@7 {
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-disabled;
+ regulator-state-uv = <1800000>;
+ };
};
rk808_ldo5_reg: regulator@8 {
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <2800000>;
+ };
};
rk808_ldo6_reg: regulator@9 {
regulator-max-microvolt = <1000000>;
regulator-always-on;
regulator-boot-on;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-disabled;
+ regulator-state-uv = <1000000>;
+ };
};
rk808_ldo7_reg: regulator@10 {
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <1800000>;
+ };
};
rk808_ldo8_reg: regulator@11 {
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <3300000>;
+ };
};
rk808_ldo9_reg: regulator@12 {
regulator-name= "rk_ldo9";
regulator-always-on;
regulator-boot-on;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ };
};
rk808_ldo10_reg: regulator@13 {
regulator-name= "rk_ldo10";
regulator-always-on;
regulator-boot-on;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-disabled;
+ };
};
};
};
design_capacity = <2100>;
design_qmax = <2200>;
max_overcharge = <100>;
- max_charge_currentma = <1500>;
- max_charge_voltagemv = <4260>;
- max_bat_voltagemv = <4200>;
+ bat_res = <80>;
+ max_input_currentmA = <2000>;
+ max_chrg_currentmA = <1800>;
+ max_charge_voltagemV = <4200>;
+ max_bat_voltagemV = <4200>;
+ sleep_enter_current = <300>;
+ sleep_exit_current = <300>;
+ power_off_thresd = <3400>;
+ chrg_diff_voltagemV = <0>;
+ virtual_power = <1>;
+ support_usb_adp = <0>;
+ support_dc_adp = <1>;
+ power_dc2otg = <0>;
+ dc_det_gpio = <&gpio0 GPIO_B0 GPIO_ACTIVE_LOW>;
};
};
&sdmmc0_vdd_domain{
regulator-name = "vcc_sd";
};
-
+
+&dwc_control_usb {
+ usb_uart {
+ status = "disabled";
+ };
+};