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

	device domain 0 on
		subsystemid 0x1558 0x8550 inherit

		device pci 15.0 on      # I2C0
			chip drivers/i2c/hid
				register "generic.hid" = ""SYNA1202""
				register "generic.desc" = ""Synaptics Touchpad""
				register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_E7_IRQ)"
				register "generic.detect" = "1"
				register "hid_desc_reg_offset" = "0x20"
				device i2c 2c on end
			end
		end
	end
end