summaryrefslogtreecommitdiff
path: root/src/mainboard/system76/addw1/variants/addw2/overridetree.cb
blob: 44f945a1048fe786ff1f46faf205e9ce5b41f24d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
chip soc/intel/cannonlake
	# Serial I/O
	register "SerialIoDevMode" = "{
		[PchSerialIoIndexI2C0] = PchSerialIoPci, // Touchpad I2C bus
		[PchSerialIoIndexUART2] = PchSerialIoSkipInit, // Debug console
	}"

	device domain 0 on
		subsystemid 0x1558 0x65e1 inherit

		device pci 15.0 on      # I2C #0
			chip drivers/i2c/hid
				register "generic.hid" = ""PNP0C50""
				register "generic.desc" = ""Synaptics Touchpad""
				register "generic.irq" = "ACPI_IRQ_EDGE_LOW(GPP_A14_IRQ)"
				register "generic.probed" = "1"
				register "hid_desc_reg_offset" = "0x20"
				device i2c 2c on end
			end
		end
	end
end