soc/mediatek/mt8196: Add PMIC MT6373 driver
[coreboot2.git] / src / mainboard / starlabs / starbook / variants / kbl / devicetree.cb
blob0480902769c42b368e385f51fa4c79f64f76a597
1 chip soc/intel/skylake
2 # FPD UPDs
3 register "eist_enable" = "true"
4 register "SaGv" = "SaGv_Enabled"
6 # Graphics
7 # IGD Displays
8 register "panel_cfg" = "{
9 .up_delay_ms = 0, // T3
10 .backlight_on_delay_ms = 0, // T7
11 .backlight_off_delay_ms = 0, // T9
12 .down_delay_ms = 0, // T10
13 .cycle_delay_ms = 500, // T12
14 .backlight_pwm_hz = 200, // PWM
17 # Serial I/O
18 register "SerialIoDevMode" = "{
19 [PchSerialIoIndexI2C0] = PchSerialIoPci,
20 [PchSerialIoIndexUart2] = PchSerialIoSkipInit,
23 # Power
24 register "PmConfigSlpS3MinAssert" = "2" # 50ms
25 register "PmConfigSlpS4MinAssert" = "3" # 1s
26 register "PmConfigSlpSusMinAssert" = "3" # 500ms
27 register "PmConfigSlpAMinAssert" = "3" # 2s
29 # Enable the correct decode ranges on the LPC bus.
30 register "lpc_ioe" = "LPC_IOE_EC_4E_4F |
31 LPC_IOE_KBC_60_64 |
32 LPC_IOE_EC_62_66"
34 # Actual device tree.
35 device domain 0 on
36 device ref igpu on end
37 device ref south_xhci on
38 # Motherboard USB Type C
39 register "usb2_ports[0]" = "USB2_PORT_TYPE_C(OC_SKIP)"
40 register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC_SKIP)"
42 # Motherboard USB 3.0
43 register "usb2_ports[1]" = "USB2_PORT_MID(OC_SKIP)"
44 register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC_SKIP)"
46 # Daughterboard USB 3.0
47 register "usb2_ports[2]" = "USB2_PORT_MID(OC_SKIP)"
48 register "usb3_ports[2]" = "USB3_PORT_DEFAULT(OC_SKIP)"
50 # Internal Bluetooth
51 register "usb2_ports[5]" = "USB2_PORT_MID(OC_SKIP)"
53 # Daughterboard SD Card
54 register "usb2_ports[6]" = "USB2_PORT_MID(OC_SKIP)"
56 # Webcam
57 register "usb2_ports[CONFIG_CCD_PORT]" = "USB2_PORT_MID(OC_SKIP)"
58 end
59 device ref thermal on end
60 device ref i2c0 on
61 chip drivers/i2c/hid
62 register "generic.hid" = ""STAR0001""
63 register "generic.desc" = ""Touchpad""
64 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C23_IRQ)"
65 register "generic.detect" = "1"
66 register "hid_desc_reg_offset" = "0x20"
67 device i2c 2c on end
68 end
69 end
70 device ref heci1 on end
71 device ref sata on
72 register "SataSalpSupport" = "1"
73 # Port 1
74 register "SataPortsEnable[1]" = "1"
75 register "SataPortsDevSlp[1]" = "1"
76 end
77 device ref uart2 on end
78 device ref pcie_rp6 on
79 register "PcieRpEnable[5]" = "1"
80 register "PcieRpClkReqSupport[5]" = "1"
81 register "PcieRpClkReqNumber[5]" = "4"
82 register "PcieRpClkSrcNumber[5]" = "4"
83 register "PcieRpLtrEnable[5]" = "1"
84 chip drivers/wifi/generic
85 device generic 0 on end
86 end
87 end
88 device ref pcie_rp9 on
89 register "PcieRpEnable[8]" = "1"
90 register "PcieRpClkReqSupport[8]" = "1"
91 register "PcieRpClkReqNumber[8]" = "0"
92 register "PcieRpClkSrcNumber[8]" = "0"
93 register "PcieRpLtrEnable[8]" = "1"
94 smbios_slot_desc "SlotTypeM2Socket3" "SlotLengthOther" "M.2/M 2280" "SlotDataBusWidth4X"
95 end
96 device ref uart0 on end
97 device ref lpc_espi on
98 register "gen1_dec" = "0x000c0681"
99 register "gen2_dec" = "0x000c1641"
100 register "gen3_dec" = "0x00000069"
101 register "gen4_dec" = "0x0000006d"
103 chip ec/starlabs/merlin
104 # Port pair 4Eh/4Fh
105 device pnp 4e.00 on end # IO Interface
106 device pnp 4e.01 off end # Com 1
107 device pnp 4e.02 off end # Com 2
108 device pnp 4e.04 off end # System Wake-Up
109 device pnp 4e.05 off end # PS/2 Mouse
110 device pnp 4e.06 on # PS/2 Keyboard
111 io 0x60 = 0x0060
112 io 0x62 = 0x0064
113 irq 0x70 = 1
115 device pnp 4e.0a off end # Consumer IR
116 device pnp 4e.0f off end # Shared Memory/Flash Interface
117 device pnp 4e.10 off end # RTC-like Timer
118 device pnp 4e.11 off end # Power Management Channel 1
119 device pnp 4e.12 off end # Power Management Channel 2
120 device pnp 4e.13 off end # Serial Peripheral Interface
121 device pnp 4e.14 off end # Platform EC Interface
122 device pnp 4e.17 off end # Power Management Channel 3
123 device pnp 4e.18 off end # Power Management Channel 4
124 device pnp 4e.19 off end # Power Management Channel 5
127 device ref hda on
128 subsystemid 0x10ec 0x10d0
130 device ref smbus on end
131 device ref fast_spi on end