summaryrefslogtreecommitdiff
path: root/src/mainboard/up/squared/devicetree.cb
diff options
context:
space:
mode:
authorFelix Singer <migy@darmstadt.ccc.de>2019-02-12 22:22:42 +0100
committerPatrick Rudolph <siro@das-labor.org>2019-05-22 12:13:22 +0000
commit402fe20e3e10f0f2aa1329eb60970e56bf92986e (patch)
tree8872f294a9d7dfba7b5732bdac6bf13a3396b41d /src/mainboard/up/squared/devicetree.cb
parentfa40e822700f78489a3cd8be65365a9e7249eecf (diff)
mb/up/squared: Add mainboard
Works: - bootblock, romstage, ramstage - Serial console UART0, UART1 - SPI flash console - iGPU init with libgfxinit - LAN1, LAN2 - USB2, USB3 - HDMI, DisplayPort - eMMC - flashing with flashrom externally WIP: - Documentation - VGA For some reason Seabios can not find the CBFS region and therefore it can't load seavgabios, but generally it is working as soon as Linux is booted. - ACPI Works not: - Devices needs proper configuration - Seabios can't find CBFS region Untested: - GPIO pin header - 60 pin EXHAT - Camera interface - MIPI-CSI2 2-lane (2MP) - MIPI-CSI2 4-lane (8MP) - SATA3 - USB3 OTG - embedded DisplayPort - M.2 slot - mini PCIe - flashing with flashrom internally using Linux Change-Id: Ia913534ec176fc600fcd4ce3af335ebe682b0ed4 Signed-off-by: Felix Singer <felix.singer@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31378 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/mainboard/up/squared/devicetree.cb')
-rw-r--r--src/mainboard/up/squared/devicetree.cb50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/mainboard/up/squared/devicetree.cb b/src/mainboard/up/squared/devicetree.cb
new file mode 100644
index 0000000000..a71405f0fe
--- /dev/null
+++ b/src/mainboard/up/squared/devicetree.cb
@@ -0,0 +1,50 @@
+chip soc/intel/apollolake
+
+ device cpu_cluster 0 on
+ device lapic 0 on end
+ end
+ device domain 0 on
+ device pci 00.0 on end # - Host Bridge
+ device pci 00.1 off end # - DPTF
+ device pci 00.2 off end # - NPK
+ device pci 02.0 on end # - Gen
+ device pci 03.0 off end # - Iunit
+ device pci 0d.0 off end # - P2SB
+ device pci 0d.1 off end # - PMC
+ device pci 0d.2 off end # - SPI
+ device pci 0d.3 off end # - Shared SRAM
+ device pci 0e.0 on end # - Audio
+ device pci 0f.0 on end # - TXE
+ device pci 11.0 off end # - ISH
+ device pci 12.0 on end # - SATA
+ device pci 13.0 on end # - PCIe-A 1 - PcieRootPort[2]
+ device pci 13.1 on end # - PCIe-A 2 - PcieRootPort[3]
+ device pci 13.2 on end # - PCIe-A 3 - PcieRootPort[4]
+ device pci 13.3 on end # - PCIe-A 4 - PcieRootPort[5]
+ device pci 14.0 on end # - PCIe-B 1 - PcieRootPort[0]
+ device pci 14.1 on end # - PCIe-B 2 - PcieRootPort[1]
+ device pci 15.0 on end # - XHCI
+ device pci 15.1 on end # - XDCI
+ device pci 16.0 on end # - I2C 0
+ device pci 16.1 on end # - I2C 1
+ device pci 16.2 on end # - I2C 2
+ device pci 16.3 on end # - I2C 3
+ device pci 17.0 on end # - I2C 4
+ device pci 17.1 on end # - I2C 5
+ device pci 17.2 on end # - I2C 6
+ device pci 17.3 on end # - I2C 7
+ device pci 18.0 on end # - HSUART 0
+ device pci 18.1 on end # - HSUART 1
+ device pci 18.2 off end # - UART 2
+ device pci 18.3 off end # - UART 3
+ device pci 19.0 on end # - SPI 0
+ device pci 19.1 on end # - SPI 1
+ device pci 19.2 on end # - SPI 2
+ device pci 1a.0 on end # - PWM
+ device pci 1b.0 off end # - SDCARD
+ device pci 1c.0 on end # - eMMC
+ device pci 1e.0 on end # - SDIO
+ device pci 1f.0 on end # - LPC
+ device pci 1f.1 on end # - SMBUS
+ end
+end