soc/intel/ptl: Update ME specification version to 21
[coreboot.git] / src / mainboard / starlabs / lite / variants / glkr / devicetree.cb
blobadb20c050f497a9767166df025514080cf0b1f8e
1 chip soc/intel/apollolake
3 # Graphics
4 # TODO:
5 # register "panel_cfg" = "{
6 # .up_delay_ms = 0, // T3
7 # .backlight_on_delay_ms = 0, // T7
8 # .backlight_off_delay_ms = 0, // T9
9 # .down_delay_ms = 0, // T10
10 # .cycle_delay_ms = 500, // T12
11 # .backlight_pwm_hz = 200, // PWM
12 # }"
14 # PM Util (soc/intel/apollolake/pmutil.c)
15 # Enable the correct decode ranges on the LPC bus.
16 register "lpc_ioe" = "LPC_IOE_EC_4E_4F |
17 LPC_IOE_EC_62_66 |
18 LPC_IOE_KBC_60_64"
20 # Enable Audio Clock and Power gating
21 register "hdaudio_clk_gate_enable" = "1"
22 register "hdaudio_pwr_gate_enable" = "1"
23 register "hdaudio_bios_config_lockdown" = "1"
25 register "enhanced_cstates" = "1"
27 register "pnp_settings" = "PNP_PERF_POWER"
29 register "mod_phy_if_value" = "0x12"
31 register "prt0_gpio" = "GPIO_PRT0_UDEF"
33 register "usb_config_override" = "1"
34 register "disable_compliance_mode" = "1"
36 register "pcie_rp_clkreq_pin[0]" = "CLKREQ_DISABLED"
37 register "pcie_rp_clkreq_pin[1]" = "CLKREQ_DISABLED"
38 register "pcie_rp_clkreq_pin[2]" = "CLKREQ_DISABLED"
39 register "pcie_rp_clkreq_pin[3]" = "CLKREQ_DISABLED"
40 register "pcie_rp_clkreq_pin[4]" = "CLKREQ_DISABLED"
41 register "pcie_rp_clkreq_pin[5]" = "CLKREQ_DISABLED"
43 register "pcie_rp_deemphasis_enable[0]" = "1"
44 register "pcie_rp_deemphasis_enable[1]" = "1"
45 register "pcie_rp_deemphasis_enable[2]" = "1"
46 register "pcie_rp_deemphasis_enable[3]" = "1"
47 register "pcie_rp_deemphasis_enable[4]" = "1"
48 register "pcie_rp_deemphasis_enable[5]" = "1"
50 # GPE configuration
51 register "gpe0_dw1" = "PMC_GPE_NW_63_32"
52 register "gpe0_dw2" = "PMC_GPE_N_95_64"
53 register "gpe0_dw3" = "PMC_GPE_NW_31_0"
55 register "slp_s3_assertion_width_usecs" = "28000"
57 device domain 0 on
58 device ref igd on end
59 device ref cnvi on
60 chip drivers/wifi/generic
61 register "wake" = "GPE0A_CNVI_PME_STS"
62 device generic 0 on end
63 end
64 end
65 device ref pmc on end
66 device ref p2sb on end
67 device ref fast_spi on end
68 device ref sram on end
69 device ref hda on
70 subsystemid 0x10ec 0x111e
71 end
72 device ref heci1 on end
73 device ref heci2 on end
74 device ref heci3 on end
75 device ref sata on
76 register "sata_ports_enable[0]" = "1"
77 end
78 device ref xhci on
79 # Motherboard USB 3.0 Type-C
80 register "usb2_port[0]" = "PORT_EN(OC1)"
81 register "usb3_port[0]" = "PORT_EN(OC1)"
83 # Motherboard USB 3.0 Type-A
84 register "usb2_port[1]" = "PORT_EN(OC0)"
85 register "usb3_port[1]" = "PORT_EN(OC0)"
87 # Daughterboard USB 3.0 Type-A
88 register "usb2_port[3]" = "PORT_EN(OC1)"
89 register "usb3_port[4]" = "PORT_EN(OC1)"
91 # Daughterboard SD Card
92 register "usb2_port[5]" = "PORT_EN(OC_SKIP)"
93 end
94 device ref i2c4 on end
95 device ref i2c7 on
96 # Handled by touchpad.asl
97 end
98 device ref uart0 on end
99 device ref uart2 on end
100 device ref spi2 on end
101 device ref lpc_espi on
102 register "gen1_dec" = "0x000c06a1"
103 register "gen2_dec" = "0x000c0081"
105 chip ec/starlabs/merlin
106 # Port pair 4Eh/4Fh
107 device pnp 4e.00 on end # IO Interface
108 device pnp 4e.04 off end # System Wake-Up
109 device pnp 4e.05 off end # Mouse
110 device pnp 4e.06 on # Keyboard
111 io 0x60 = 0x0060
112 io 0x62 = 0x0064
113 irq 0x70 = 1
115 device pnp 4e.0f off end # Shared Memory/Flash Interface
116 device pnp 4e.11 off end # Power Management Channel 1
117 device pnp 4e.12 off end # Power Management Channel 2
118 device pnp 4e.17 off end # Power Management Channel 3
119 device pnp 4e.1d off end # Extended Shared Memory (ESHM)
120 device pnp 4e.1e off end # Power Management Channel 4
123 chip drivers/crb
124 device mmio 0xfed40000 on end