summaryrefslogtreecommitdiff
path: root/src/mainboard/biostar/th61-itx/devicetree.cb
blob: af9f9b59378676cfd50b66b8caf061d146288176 (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
## SPDX-License-Identifier: GPL-2.0-only

chip northbridge/intel/sandybridge
	register "spd_addresses" = "{0x50, 0, 0x52, 0}"
	device domain 0 on
		subsystemid 0x1565 0x3108 inherit

		device ref host_bridge on end	# Host bridge
		device ref peg10 on end	# PEG
		device ref igd on end	# iGPU

		chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
			register "gen1_dec" = "0x003c0a01"
			register "sata_interface_speed_support" = "0x3"
			register "sata_port_map" = "0x33"
			register "spi_lvscc" = "0x2005"
			register "spi_uvscc" = "0x2005"

			device ref mei1 on  end	# MEI #1
			device ref ehci2 on  end	# EHCI #2
			device ref hda on  end	# HD Audio
			device ref pcie_rp1 on  end	# RP #1: Realtek RTL8111F GbE NIC
			device ref pcie_rp2 on  end	# RP #2: ASMedia ASM1042 USB3 #1
			device ref pcie_rp3 on  end	# RP #3: ASMedia ASM1042 USB3 #2
			device ref pcie_rp4 off end # RP #4
			device ref pcie_rp5 off end # RP #5
			device ref pcie_rp6 off end # RP #6
			device ref ehci1 on  end	# EHCI #1
			device ref pci_bridge off end # PCI bridge
			device ref lpc on	# LPC bridge
				chip superio/ite/it8728f
					device pnp 2e.0 off end	# Floppy
					device pnp 2e.1 off end	# COM1
					device pnp 2e.2 off end	# COM2
					device pnp 2e.3 off end	# Parallel port
					device pnp 2e.4 on	# Environment Controller
						io 0x60 = 0x0a30
						io 0x62 = 0x0a20
					end
					device pnp 2e.5 on  end	# Keyboard
					device pnp 2e.6 on  end	# Mouse
					device pnp 2e.7 on	# GPIO
						irq 0x26 = 0xff
						irq 0x27 = 0x30
						irq 0x28 = 0x80
						irq 0x29 = 0x80
						irq 0x2c = 0x02
						io 0x60  = 0x0a10
						io 0x62  = 0x0a00
						irq 0xb1 = 0x03
						irq 0xb3 = 0x80
						irq 0xb8 = 0x00
						irq 0xf5 = 0x27
						irq 0xf8 = 0x20
						irq 0xf9 = 0x01
					end
					device pnp 2e.a off end	# CIR
				end
			end
			device ref sata1 on  end	# SATA #1
			device ref smbus on  end	# SMBus
			device ref sata2 off end # SATA #2 (IDE mode)
			device ref thermal on  end # Thermal subsystem
		end
	end
end