summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/ipu_endpoints.asl
blob: 0985b7f9d10243fe14f84fd0400ffa0d4b5dd0c7 (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
/* SPDX-License-Identifier: GPL-2.0-only */

Scope (\_SB.PCI0.CIO2)
{
        /* Define two endpoints for CIO2 device where endpoint of port0
	is connected to CAM0 and endpoint of port1 is connected to CAM1.
	variant of this poppy baseboard can define their own endpoints (max 2)
	with custom remote-endpoint */

	Name (EP00, Package() {
		ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
		Package () {
			Package () { "endpoint", 0 },
			Package () { "clock-lanes", 0 },
			Package () { "data-lanes", Package () { 1, 2, 3, 4 } },
			Package () { "remote-endpoint",
				Package() { \_SB.PCI0.I2C2.CAM0, 0, 0 }
			},
		}
	})

	Name (EP10, Package() {
		ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
		Package () {
			Package () { "endpoint", 0 },
			Package () { "clock-lanes", 0 },
			Package () { "data-lanes", Package () { 1, 2 } },
			Package () { "remote-endpoint",
				Package() { \_SB.PCI0.I2C4.CAM1, 0, 0 }
			},
		}
	})
}