mb/purism/librem_skl: Make use of the chipset devicetree
Use the references from the chipset devicetree as this makes the comments superfluous and remove devices which are turned off. Change-Id: If4f89fb81664474e03ab0ade76cfbd617127127e Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/79040 Reviewed-by: Eric Lai <ericllai@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
		
				
					committed by
					
						
						Felix Singer
					
				
			
			
				
	
			
			
			
						parent
						
							a0c3ba04cb
						
					
				
				
					commit
					13ee2e6d8a
				
			@@ -151,42 +151,21 @@ chip soc/intel/skylake
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	device cpu_cluster 0 on end
 | 
						device cpu_cluster 0 on end
 | 
				
			||||||
	device domain 0 on
 | 
						device domain 0 on
 | 
				
			||||||
		device pci 00.0 on  end # Host Bridge
 | 
							device ref igpu		on  end
 | 
				
			||||||
		device pci 02.0 on  end # Integrated Graphics Device
 | 
							device ref sa_thermal	on  end
 | 
				
			||||||
		device pci 04.0 on  end # SA thermal subsystem
 | 
							device ref south_xhci	on  end
 | 
				
			||||||
		device pci 14.0 on  end # USB xHCI
 | 
							device ref south_xdci	on  end
 | 
				
			||||||
		device pci 14.1 on  end # USB xDCI (OTG)
 | 
							device ref thermal	on  end
 | 
				
			||||||
		device pci 14.2 on  end # Thermal Subsystem
 | 
							device ref sata		on  end
 | 
				
			||||||
		device pci 14.3 off end # Camera
 | 
							device ref pcie_rp1	on  end
 | 
				
			||||||
		device pci 16.0 off  end # Management Engine Interface 1
 | 
							device ref pcie_rp9	on  end
 | 
				
			||||||
		device pci 16.1 off end # Management Engine Interface 2
 | 
							device ref lpc_espi	on
 | 
				
			||||||
		device pci 16.2 off end # Management Engine IDE-R
 | 
					 | 
				
			||||||
		device pci 16.3 off end # Management Engine KT Redirection
 | 
					 | 
				
			||||||
		device pci 16.4 off end # Management Engine Interface 3
 | 
					 | 
				
			||||||
		device pci 17.0 on  end # SATA
 | 
					 | 
				
			||||||
		device pci 1c.0 on  end # PCI Express Port 1
 | 
					 | 
				
			||||||
		device pci 1c.1 off end # PCI Express Port 2
 | 
					 | 
				
			||||||
		device pci 1c.2 off end # PCI Express Port 3
 | 
					 | 
				
			||||||
		device pci 1c.3 off end # PCI Express Port 4
 | 
					 | 
				
			||||||
		device pci 1c.4 off end # PCI Express Port 5
 | 
					 | 
				
			||||||
		device pci 1c.5 off end # PCI Express Port 6
 | 
					 | 
				
			||||||
		device pci 1c.6 off end # PCI Express Port 7
 | 
					 | 
				
			||||||
		device pci 1c.7 off end # PCI Express Port 8
 | 
					 | 
				
			||||||
		device pci 1d.0 on  end # PCI Express Port 9
 | 
					 | 
				
			||||||
		device pci 1d.1 off end # PCI Express Port 10
 | 
					 | 
				
			||||||
		device pci 1d.2 off end # PCI Express Port 11
 | 
					 | 
				
			||||||
		device pci 1d.3 off end # PCI Express Port 12
 | 
					 | 
				
			||||||
		device pci 1e.6 off end # SDXC
 | 
					 | 
				
			||||||
		device pci 1f.0 on
 | 
					 | 
				
			||||||
			chip drivers/pc80/tpm
 | 
								chip drivers/pc80/tpm
 | 
				
			||||||
				device pnp 0c31.0 on end
 | 
									device pnp 0c31.0 on end
 | 
				
			||||||
			end
 | 
								end
 | 
				
			||||||
		end # LPC Interface
 | 
							end
 | 
				
			||||||
		device pci 1f.1 on  end # P2SB
 | 
							device ref hda		on  end
 | 
				
			||||||
		device pci 1f.2 on  end # Power Management Controller
 | 
							device ref smbus	on  end
 | 
				
			||||||
		device pci 1f.3 on  end # Intel HDA
 | 
							device ref fast_spi	on  end
 | 
				
			||||||
		device pci 1f.4 on  end # SMBus
 | 
					 | 
				
			||||||
		device pci 1f.5 on  end # PCH SPI
 | 
					 | 
				
			||||||
		device pci 1f.6 off end # GbE
 | 
					 | 
				
			||||||
	end
 | 
						end
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -22,6 +22,6 @@ chip soc/intel/skylake
 | 
				
			|||||||
	register "usb3_ports[3]" = "USB3_PORT_DEFAULT(OC_SKIP)"	# Type-C Port
 | 
						register "usb3_ports[3]" = "USB3_PORT_DEFAULT(OC_SKIP)"	# Type-C Port
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	device domain 0 on
 | 
						device domain 0 on
 | 
				
			||||||
		device pci 1c.4 on  end # PCI Express Port 5
 | 
							device ref pcie_rp5 on  end
 | 
				
			||||||
	end
 | 
						end
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user