summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/facebook/watson/Kconfig5
-rw-r--r--src/mainboard/facebook/watson/variants/watson/devicetree.cb (renamed from src/mainboard/facebook/watson/devicetree.cb)0
-rw-r--r--src/mainboard/facebook/watson/variants/watson_v2/devicetree.cb23
3 files changed, 28 insertions, 0 deletions
diff --git a/src/mainboard/facebook/watson/Kconfig b/src/mainboard/facebook/watson/Kconfig
index 919117d6537b..668b0ba66f7f 100644
--- a/src/mainboard/facebook/watson/Kconfig
+++ b/src/mainboard/facebook/watson/Kconfig
@@ -37,6 +37,10 @@ config MAINBOARD_PART_NUMBER
string
default "Watson"
+config DEVICETREE
+ string
+ default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb"
+
config IRQ_SLOT_COUNT
int
default 18
@@ -47,6 +51,7 @@ config CBFS_SIZE
config VARIANT_DIR
string
+ default "watson" if BOARD_FACEBOOK_WATSON
default "watson_v2" if BOARD_FACEBOOK_WATSON_V2
config VBOOT_FWID_MODEL
diff --git a/src/mainboard/facebook/watson/devicetree.cb b/src/mainboard/facebook/watson/variants/watson/devicetree.cb
index 92fe9c3000bf..92fe9c3000bf 100644
--- a/src/mainboard/facebook/watson/devicetree.cb
+++ b/src/mainboard/facebook/watson/variants/watson/devicetree.cb
diff --git a/src/mainboard/facebook/watson/variants/watson_v2/devicetree.cb b/src/mainboard/facebook/watson/variants/watson_v2/devicetree.cb
new file mode 100644
index 000000000000..276dea0c8b7e
--- /dev/null
+++ b/src/mainboard/facebook/watson/variants/watson_v2/devicetree.cb
@@ -0,0 +1,23 @@
+chip soc/intel/fsp_broadwell_de
+ device cpu_cluster 0 on
+ device lapic 0 on end
+ end
+ device domain 0 on
+ device pci 00.0 on end # SoC router
+ device pci 14.0 on end # xHCI Controller
+ device pci 19.0 on end # Gigabit LAN Controller
+ device pci 1d.0 on end # EHCI Controller
+ device pci 1f.0 on # LPC Bridge
+ chip drivers/pc80/tpm
+ device pnp 0c31.0 on end
+ end
+ chip drivers/ipmi
+ device pnp ca2.0 on end
+ register "bmc_i2c_address" = "0x20"
+ end
+ end
+ device pci 1f.2 on end # SATA Controller
+ device pci 1f.3 on end # SMBus Controller
+ device pci 1f.5 on end # SATA Controller
+ end
+end