X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=arch%2Farm%2Fboot%2Fdts%2Frk3288-tb.dts;h=c8cc6c30a6a4079f5945e570333e076d6c38c883;hb=e05687e0a6b52cbe76c4f86ba959898d71c7b5be;hp=1d222cf9ecc78dc8f01cdddc14c9117bd052f1ca;hpb=3c0b172c05c4bb321875824b6b8095e4dfa0662c;p=firefly-linux-kernel-4.4.55.git diff --git a/arch/arm/boot/dts/rk3288-tb.dts b/arch/arm/boot/dts/rk3288-tb.dts index 1d222cf9ecc7..c8cc6c30a6a4 100755 --- a/arch/arm/boot/dts/rk3288-tb.dts +++ b/arch/arm/boot/dts/rk3288-tb.dts @@ -11,9 +11,18 @@ 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 @@ -99,7 +108,7 @@ dais { dai0 { audio-codec = <&codec_hdmi_i2s>; - i2s-controller = <&i2s>; + audio-controller = <&i2s>; format = "i2s"; //continuous-clock; //bitclock-inversion; @@ -115,7 +124,7 @@ dais { dai0 { audio-codec = <&codec_hdmi_spdif>; - i2s-controller = <&spdif>; + audio-controller = <&spdif>; }; }; }; @@ -125,7 +134,7 @@ dais { dai0 { audio-codec = <&rt5631>; - i2s-controller = <&i2s>; + audio-controller = <&i2s>; format = "i2s"; //continuous-clock; //bitclock-inversion; @@ -141,7 +150,7 @@ dais { dai0 { audio-codec = <&rt3261>; - i2s-controller = <&i2s>; + audio-controller = <&i2s>; format = "i2s"; //continuous-clock; //bitclock-inversion; @@ -151,7 +160,7 @@ }; dai1 { audio-codec = <&rt3261>; - i2s-controller = <&i2s>; + audio-controller = <&i2s>; format = "dsp_a"; //continuous-clock; bitclock-inversion; @@ -171,9 +180,6 @@ rockchip,remote_wakeup; rockchip,usb_irq_wakeup; }; - chosen { - bootargs = "vmalloc=512M"; - }; }; &gmac { @@ -181,6 +187,7 @@ 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 { @@ -228,8 +235,9 @@ 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; @@ -584,7 +592,7 @@ &fb { rockchip,disp-mode = ; - rockchip,uboot-logo-on = <0>; + rockchip,uboot-logo-on = <1>; }; &rk_screen { @@ -626,7 +634,7 @@ &hdmi { status = "okay"; - rockchips,hdmi_audio_source = <0>; + rockchip,hdmi_video_source = ; }; &adc { @@ -751,6 +759,13 @@ 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 @@ -885,14 +900,32 @@ 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 { @@ -901,6 +934,13 @@ 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 { @@ -909,6 +949,13 @@ 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 { @@ -917,6 +964,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_ldo2_reg: regulator@5 { @@ -925,6 +977,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_ldo3_reg: regulator@6 { @@ -933,6 +990,11 @@ 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 { @@ -941,6 +1003,11 @@ 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 { @@ -949,6 +1016,11 @@ 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 { @@ -957,6 +1029,11 @@ 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 { @@ -965,6 +1042,11 @@ 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 { @@ -973,18 +1055,31 @@ 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; + }; }; }; }; @@ -1335,9 +1430,20 @@ 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>; }; }; @@ -1372,6 +1478,8 @@ regulator-name = "vcc_sd"; }; -&ion_cma { - reg = <0x40000000 0x28000000>; /* 640MB */ +&dwc_control_usb { + usb_uart { + status = "disabled"; + }; };