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=12c24d322a5ff693164ef74fbb300b4dbc06748a;hpb=1f49c03ee0d79c6941697d40dae7ff1dddf95b79;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 12c24d322a5f..c8cc6c30a6a4 100755 --- a/arch/arm/boot/dts/rk3288-tb.dts +++ b/arch/arm/boot/dts/rk3288-tb.dts @@ -108,7 +108,7 @@ dais { dai0 { audio-codec = <&codec_hdmi_i2s>; - i2s-controller = <&i2s>; + audio-controller = <&i2s>; format = "i2s"; //continuous-clock; //bitclock-inversion; @@ -124,7 +124,7 @@ dais { dai0 { audio-codec = <&codec_hdmi_spdif>; - i2s-controller = <&spdif>; + audio-controller = <&spdif>; }; }; }; @@ -134,7 +134,7 @@ dais { dai0 { audio-codec = <&rt5631>; - i2s-controller = <&i2s>; + audio-controller = <&i2s>; format = "i2s"; //continuous-clock; //bitclock-inversion; @@ -150,7 +150,7 @@ dais { dai0 { audio-codec = <&rt3261>; - i2s-controller = <&i2s>; + audio-controller = <&i2s>; format = "i2s"; //continuous-clock; //bitclock-inversion; @@ -160,7 +160,7 @@ }; dai1 { audio-codec = <&rt3261>; - i2s-controller = <&i2s>; + audio-controller = <&i2s>; format = "dsp_a"; //continuous-clock; bitclock-inversion; @@ -235,9 +235,9 @@ supports-highspeed; supports-emmc; + //supports-sd; 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; @@ -634,7 +634,7 @@ &hdmi { status = "okay"; - rockchips,hdmi_audio_source = <0>; + rockchip,hdmi_video_source = ; }; &adc { @@ -759,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 @@ -893,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 { @@ -909,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 { @@ -917,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 { @@ -925,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 { @@ -933,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 { @@ -941,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 { @@ -949,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 { @@ -957,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 { @@ -965,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 { @@ -973,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 { @@ -981,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; + }; }; }; }; @@ -1343,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>; }; }; @@ -1380,10 +1478,6 @@ regulator-name = "vcc_sd"; }; -&ion_cma { - reg = <0x40000000 0x28000000>; /* 640MB */ -}; - &dwc_control_usb { usb_uart { status = "disabled";