summaryrefslogtreecommitdiff
path: root/src/mainboard/apple/macbookair4_2/devicetree.cb
blob: 176e2b8688ec5ed47b22a96d59fda222a7c0bd1b (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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
chip northbridge/intel/sandybridge
	register "gfx.did" = "{ 0x80000410, 0x80000320, 0x80000410, 0x80000410, 0x00000005 }"
	register "gfx.ndid" = "2"
	register "gfx.use_spread_spectrum_clock" = "1"
	register "gpu_cpu_backlight" = "0x00001312"
	register "gpu_dp_b_hotplug" = "4"
	register "gpu_dp_c_hotplug" = "4"
	register "gpu_dp_d_hotplug" = "4"
	register "gpu_panel_port_select" = "PANEL_PORT_DP_A"
	register "gpu_panel_power_backlight_off_delay" = "2000"
	register "gpu_panel_power_backlight_on_delay" = "10"
	register "gpu_panel_power_cycle_delay" = "6"
	register "gpu_panel_power_down_delay" = "500"
	register "gpu_panel_power_up_delay" = "2000"
	register "gpu_pch_backlight" = "0x13121312"

	device domain 0 on
		chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
			register "docking_supported" = "0"
			register "gen1_dec" = "0x000c0681"
			register "gen2_dec" = "0x000c1641"
			register "gen3_dec" = "0x001c0301"
			register "gen4_dec" = "0x00fc0701"
			register "gpi7_routing" = "2"
			register "pcie_hotplug_map" = "{ 0, 0, 0, 0, 0, 0, 0, 0 }"
			register "pcie_port_coalesce" = "true"
			register "sata_interface_speed_support" = "0x3"
			register "sata_port_map" = "0x1"
			register "usb_port_config" = "{
				{1, 0, -1}, /* USB HUB 1 */
				{0, 0, -1}, {0, 0, -1}, {0, 0, -1}, /* Unused x7 */
				{0, 0, -1}, {0, 0, -1}, {0, 0, -1}, {0, 0, -1},
				{1, 0, -1}, /* USB HUB 2 */
				{1, 0, -1}, /* Camera */
				{0, 0, -1}, {0, 0, -1}, {0, 0, -1}, {0, 0, -1} /* Unused x4 */
				}"
			device ref mei1 on # Management Engine Interface 1
				subsystemid 0x8086 0x7270
			end
			device ref mei2 off # Management Engine Interface 2
			end
			device ref me_ide_r off # Management Engine IDE-R
			end
			device ref me_kt off # Management Engine KT
			end
			device ref gbe off # Intel Gigabit Ethernet
			end
			device ref ehci2 on # USB2 EHCI #2 Unsupported PCI device 8086:1c2c
				subsystemid 0x8086 0x7270
			end
			device ref hda on # High Definition Audio controller
				subsystemid 0x8086 0x7270
			end
			device ref pcie_rp1 on # PCIe Port #1
				subsystemid 0x8086 0x7270
			end
			device ref pcie_rp2 on # PCIe Port #2
				subsystemid 0x8086 0x7270
			end
			device ref pcie_rp3 off # PCIe Port #3
			end
			device ref pcie_rp4 off # PCIe Port #4
			end
			device ref pcie_rp5 off # PCIe Port #5
			end
			device ref pcie_rp6 off # PCIe Port #6
			end
			device ref pcie_rp7 off # PCIe Port #7
			end
			device ref pcie_rp8 off # PCIe Port #8
			end
			device ref ehci1 on # USB2 EHCI #1 Unsupported PCI device 8086:1c27
				subsystemid 0x8086 0x7270
			end
			device ref pci_bridge off # PCI bridge
			end
			device ref lpc on # LPC bridge PCI-LPC bridge
				subsystemid 0x8086 0x7270
			end
			device ref sata1 on # SATA Controller 1
				subsystemid 0x8086 0x7270
			end
			device ref smbus on # SMBus
				subsystemid 0x8086 0x7270
			end
			device ref sata2 off # SATA Controller 2
			end
			device ref thermal off # Thermal
			end
		end
		device ref host_bridge on # Host bridge Host bridge
			subsystemid 0x106b 0x00eb
		end
		device ref peg10 on # PCIe Bridge for discrete graphics Unsupported PCI device 8086:0101
			subsystemid 0x106b 0x00eb
		end
		device ref igd on # Internal graphics VGA controller
			subsystemid 0x106b 0x00eb
		end
		device pci 1a.7 on
			subsystemid 0x8086 0x7270
		end
		device pci 1d.7 on
			subsystemid 0x8086 0x7270
		end
	end
end