summaryrefslogtreecommitdiff
path: root/src/mainboard/google/reef
diff options
context:
space:
mode:
authorZhao, Lijian <lijian.zhao@intel.com>2016-06-10 16:11:08 -0700
committerAaron Durbin <adurbin@chromium.org>2016-06-14 18:05:47 +0200
commite9cf848dad8cf5581c20b068e99ae4f4d9e246d3 (patch)
treec60d478ba16696e2f8ce53c0ee22105eaeb5a4d0 /src/mainboard/google/reef
parentce9e21a0ea78039d80838071f9514c6a2ddaa8bc (diff)
google/reef: Update EMMC DLL settings
Update EMMC DLL setting for reef board, after that system can boot up into EMMC successfully. BUG=chrome-os-partner:54228 TEST=Boot up into EMMC and check with Rootdev Change-Id: I614cd624dce9069c5565599a955f87906bcea53b Signed-off-by: Zhao, Lijian <lijian.zhao@intel.com> Reviewed-on: https://review.coreboot.org/15156 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google/reef')
-rw-r--r--src/mainboard/google/reef/devicetree.cb25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/mainboard/google/reef/devicetree.cb b/src/mainboard/google/reef/devicetree.cb
index f442872bd3..9775dc80c8 100644
--- a/src/mainboard/google/reef/devicetree.cb
+++ b/src/mainboard/google/reef/devicetree.cb
@@ -6,6 +6,31 @@ 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 2#
+ # 0x1C[30:24] stands for 28*125 = 3500 pSec delay for SDR50
+ # 0x1C[22:16] stands for 28*125 = 3500 pSec delay for DDR50
+ # 0x1C[14:8] stands for 28*125 = 3500 pSec delay for SDR25/HS50
+ # 0x00[6:0] stands for 0 delay for SDR12/Compatibility mode
+ register "emmc_tx_data_cntl2" = "0x1c1c1c00"
+
+ # EMMC RX CMD/DATA Delay 1#
+ # 0x1C[30:24] stands for 28*125 = 3500 pSec delay for SDR50
+ # 0x1C[22:16] stands for 28*125 = 3500 pSec delay for DDR50
+ # 0x1C[14:8] stands for 28*125 = 3500 pSec delay for SDR25/HS50
+ # 0x00[6:0] stands for 0 delay for SDR12/Compatibility
+ register "emmc_rx_cmd_data_cntl1" = "0x1c1c1c00"
+
+ # 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 SDR104/HS200
+ register "emmc_rx_cmd_data_cntl2" = "0x1001c"
+
device domain 0 on
device pci 00.0 on end # - Host Bridge
device pci 00.1 on end # - DPTF