drivers/uart: Replace 'unsigned long int' by 'unsigned long'
[coreboot2.git] / src / mainboard / starlabs / lite / variants / glkr / devicetree.cb
blob549c0222168903967956426bdaff0e1134312569
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
59 register "gfx" = "GMA_DEFAULT_PANEL(0)"
60 end
61 device ref cnvi on
62 chip drivers/wifi/generic
63 register "add_acpi_dma_property" = "true"
64 register "enable_cnvi_ddr_rfim" = "true"
65 device generic 0 on end
66 end
67 end
68 device ref pmc on end
69 device ref p2sb on end
70 device ref fast_spi on end
71 device ref sram on end
72 device ref hda on
73 subsystemid 0x10ec 0x111e
74 end
75 device ref heci1 on end
76 device ref heci2 on end
77 device ref heci3 on end
78 device ref sata on
79 register "sata_ports_enable[0]" = "1"
80 end
81 device ref xhci on
82 # Motherboard USB 3.0 Type-C
83 register "usb2_port[0]" = "PORT_EN(OC1)"
84 register "usb3_port[0]" = "PORT_EN(OC1)"
86 # Motherboard USB 3.0 Type-A
87 register "usb2_port[1]" = "PORT_EN(OC0)"
88 register "usb3_port[1]" = "PORT_EN(OC0)"
90 # Daughterboard USB 3.0 Type-A
91 register "usb2_port[3]" = "PORT_EN(OC1)"
92 register "usb3_port[4]" = "PORT_EN(OC1)"
94 # Daughterboard SD Card
95 register "usb2_port[5]" = "PORT_EN(OC_SKIP)"
96 end
97 device ref i2c4 on end
98 device ref i2c7 on
99 # Handled by touchpad.asl
101 device ref uart0 on end
102 device ref uart2 on end
103 device ref spi2 on end
104 device ref lpc_espi on
105 register "gen1_dec" = "0x000c06a1"
106 register "gen2_dec" = "0x000c0081"
108 chip ec/starlabs/merlin
109 # Port pair 4Eh/4Fh
110 device pnp 4e.00 on end # IO Interface
111 device pnp 4e.04 off end # System Wake-Up
112 device pnp 4e.05 off end # Mouse
113 device pnp 4e.06 on # Keyboard
114 io 0x60 = 0x0060
115 io 0x62 = 0x0064
116 irq 0x70 = 1
118 device pnp 4e.0f off end # Shared Memory/Flash Interface
119 device pnp 4e.11 off end # Power Management Channel 1
120 device pnp 4e.12 off end # Power Management Channel 2
121 device pnp 4e.17 off end # Power Management Channel 3
122 device pnp 4e.1d off end # Extended Shared Memory (ESHM)
123 device pnp 4e.1e off end # Power Management Channel 4
126 chip drivers/crb
127 device mmio 0xfed40000 on end