summaryrefslogtreecommitdiff
path: root/src/mainboard/up/squared/devicetree.cb
blob: d7281a6cd8cf2a9340c3efefac44db6d181da99c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
chip soc/intel/apollolake

	# Override USB port configuration
	register "usb_config_override" = "1"
	# USB 2.0
	register "usb2_port[0]" = "PORT_EN(OC0)"
	register "usb2_port[1]" = "PORT_EN(OC1)"
	register "usb2_port[2]" = "PORT_EN(OC1)"
	register "usb2_port[3]" = "PORT_EN(OC1)"
	register "usb2_port[4]" = "PORT_EN(OC1)"
	register "usb2_port[5]" = "PORT_EN(OC1)"
	register "usb2_port[6]" = "PORT_EN(OC_SKIP)"
	register "usb2_port[7]" = "PORT_EN(OC_SKIP)"
	# USB 3.0
	register "usb3_port[0]" = "PORT_EN(OC0)"

	register "enable_vtd" = "1"

	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
	chip drivers/crb
		device mmio 0xfed40000 on end
	end
end