aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/purism/librem_bdw/variants/librem15v2/overridetree.cb
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@puri.sm>2020-04-30 16:12:05 -0500
committerPatrick Georgi <pgeorgi@google.com>2020-05-02 17:07:47 +0000
commit819005332b37a424cbeeb7cc75fc9a154b55fcfb (patch)
treeaa1485471f44dfefc1df24f6034fcdc29f6ac811 /src/mainboard/purism/librem_bdw/variants/librem15v2/overridetree.cb
parenteba32d217a7979dc1fa860c325351f86b98feb13 (diff)
mb/purism/librem_bdw: Convert to use override devicetree
Since the variants' devicetrees are almost identical, convert to using an overridetree setup for simplicity. Signed-off-by: Matt DeVillier <matt.devillier@puri.sm> Change-Id: I07fb5a09e578bf299081b26e010317385a6c5f7f Reviewed-on: https://review.coreboot.org/c/coreboot/+/40915 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/purism/librem_bdw/variants/librem15v2/overridetree.cb')
-rw-r--r--src/mainboard/purism/librem_bdw/variants/librem15v2/overridetree.cb14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mainboard/purism/librem_bdw/variants/librem15v2/overridetree.cb b/src/mainboard/purism/librem_bdw/variants/librem15v2/overridetree.cb
new file mode 100644
index 0000000000..c0c8d0360f
--- /dev/null
+++ b/src/mainboard/purism/librem_bdw/variants/librem15v2/overridetree.cb
@@ -0,0 +1,14 @@
+chip soc/intel/broadwell
+
+ # Port 0 is HDD
+ # Port 1 is M.2 NGFF
+ register "sata_port_map" = "0x3"
+
+ # Port tuning for link stability
+ register "sata_port0_gen3_dtle" = "7"
+ register "sata_port1_gen3_dtle" = "9"
+
+ device domain 0 on
+ device pci 1d.0 on end # USB2 EHCI
+ end
+end