summaryrefslogtreecommitdiff
path: root/src/mainboard/google/reef
diff options
context:
space:
mode:
authorChiranjeevi Rapolu <chiranjeevi.rapolu@intel.com>2016-08-22 10:55:10 -0700
committerDuncan Laurie <dlaurie@chromium.org>2016-08-24 16:21:40 +0200
commitdde073829fd0840c903d025b274e9515a4692d7b (patch)
treea93c53260f937889cde7020da73d4b1875595f6b /src/mainboard/google/reef
parent67e4df8b65c0b48717e3550089e7d230aeb6fe52 (diff)
google/reef: Tune eMMC DLL settings for reef evt
Apply eMMC tuned DLL settings for reef evt. Modify comments to avoid replicating info. Add EDS reference. BUG=chrome-os-partner:55648 BRANCH=none TEST=Verify that reef evt boots to OS from eMMC. Change-Id: If3bf51f3b7d38320f504ea6fbecf7c188a94ae5c Signed-off-by: Chiranjeevi Rapolu <chiranjeevi.rapolu@intel.com> Reviewed-on: https://review.coreboot.org/16296 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/google/reef')
-rw-r--r--src/mainboard/google/reef/devicetree.cb46
1 files changed, 25 insertions, 21 deletions
diff --git a/src/mainboard/google/reef/devicetree.cb b/src/mainboard/google/reef/devicetree.cb
index ea3b20f2e2..a877e863bf 100644
--- a/src/mainboard/google/reef/devicetree.cb
+++ b/src/mainboard/google/reef/devicetree.cb
@@ -6,30 +6,34 @@ chip soc/intel/apollolake
register "pcie_rp4_clkreq_pin" = "0" # wifi/bt
- # EMMC TX DATA Delay 1#
- # 0x0C[14:8] stands for 12*125 = 1500 pSec delay for HS400
- # 0x11[6:0] stands for 17*125 = 2125 pSec delay for SDR104/HS200
- register "emmc_tx_data_cntl1" = "0x0C11" # HS400 required
+ # EMMC TX DATA Delay 1
+ # Refer to EDS-Vol2-22.3.
+ # [14:8] steps of delay for HS400, each 125ps.
+ # [6:0] steps of delay for SDR104/HS200, each 125ps.
+ register "emmc_tx_data_cntl1" = "0x0C16"
- # EMMC TX DATA Delay 2#
- # 0x00[30:24] stands for 0*125 = no delay for SDR50
- # 0x2B[22:16] stands for 43*125 = 5375 pSec delay for DDR50
- # 0x29[14:8] stands for 41*125 = 5125 pSec delay for SDR25/HS50
- # 0x29[6:0] stands for 41*125 = 5125 pSec delay for SDR12
- register "emmc_tx_data_cntl2" = "0x002B2929"
+ # EMMC TX DATA Delay 2
+ # Refer to EDS-Vol2-22.3.
+ # [30:24] steps of delay for SDR50, each 125ps.
+ # [22:16] steps of delay for DDR50, each 125ps.
+ # [14:8] steps of delay for SDR25/HS50, each 125ps.
+ # [6:0] steps of delay for SDR12, each 125ps.
+ register "emmc_tx_data_cntl2" = "0x28162828"
- # EMMC RX CMD/DATA Delay 1#
- # 0x00[30:24] stands for 0*125 = no delay for SDR50
- # 0x12[22:16] stands for 18*125 = 2250 pSec delay for DDR50
- # 0x57[14:8] stands for 87*125 = 10875 pSec delay for SDR25/HS50
- # 0x3B[6:0] stands for 59*125= 7375 pSec delay for SDR12
- register "emmc_rx_cmd_data_cntl1" = "0x0012573B"
+ # EMMC RX CMD/DATA Delay 1
+ # Refer to EDS-Vol2-22.3.
+ # [30:24] steps of delay for SDR50, each 125ps.
+ # [22:16] steps of delay for DDR50, each 125ps.
+ # [14:8] steps of delay for SDR25/HS50, each 125ps.
+ # [6:0] steps of delay for SDR12, each 125ps.
+ register "emmc_rx_cmd_data_cntl1" = "0x00181717"
- # EMMC RX CMD/DATA Delay 2#
- # 0x01[17:16] stands for Rx Clock before Output Buffer
- # 0x00[14:8] stands for 0 delay for Auto Tuning Mode
- # 0x1C[6:0] stands for 28*125 = 3500 pSec delay for HS200
- register "emmc_rx_cmd_data_cntl2" = "0x1001C"
+ # EMMC RX CMD/DATA Delay 2
+ # Refer to EDS-Vol2-22.3.
+ # [17:16] stands for Rx Clock before Output Buffer
+ # [14:8] steps of delay for Auto Tuning Mode, each 125ps.
+ # [6:0] steps of delay for HS200, each 125ps.
+ register "emmc_rx_cmd_data_cntl2" = "0x10008"
# Enable DPTF
register "dptf_enable" = "1"