samsung/exynos5250: Replace 'unsigned long int' by 'unsigned long'
[coreboot.git] / src / mainboard / google / brya / variants / baseboard / trulo / devicetree.cb
bloba93c6697fdb595a46d253d5a43c219dbb6bd4ebd
1 chip soc/intel/alderlake
3 # GPE configuration
4 register "pmc_gpe0_dw0" = "GPP_A"
5 register "pmc_gpe0_dw1" = "GPP_B"
6 register "pmc_gpe0_dw2" = "GPP_F"
8 # EC host command ranges are in 0x800-0x8ff & 0x200-0x20f
9 register "gen1_dec" = "0x00fc0801"
10 register "gen2_dec" = "0x000c0201"
11 # For platform selects EC_GOOGLE_CHROMEEC_MEMMAP_INDEXED_IO
12 # EC memmap range is in 0x380-0x381
13 # For others
14 # EC memmap range is in 0x900-0x9ff
15 register "gen3_dec" = "CONFIG(EC_GOOGLE_CHROMEEC_MEMMAP_INDEXED_IO) ? (0x00010001 | CONFIG_EC_GOOGLE_CHROMEEC_MEMMAP_INDEXED_IO_PORT) : 0x00fc0901"
17 register "usb2_ports[0]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 0
18 register "usb2_ports[1]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 1
19 register "usb2_ports[2]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 2
20 register "usb2_ports[3]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 3
21 register "usb2_ports[4]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 4
22 register "usb2_ports[5]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 5
23 register "usb2_ports[6]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 6
24 register "usb2_ports[7]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 7
25 register "usb2_ports[8]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 8
26 # USB 2.0 Port #10 must be used for integrated BT with Intel CNVi
27 register "usb2_ports[9]" = "USB2_PORT_MID(OC_SKIP)" # Bluetooth port for CNVi WLAN
28 register "usb2_ports[10]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 10
29 register "usb2_ports[11]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 11
30 register "usb2_ports[12]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 12
31 register "usb2_ports[13]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 13
32 register "usb2_ports[14]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 14
33 register "usb2_ports[15]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 15
35 register "usb3_ports[0]" = "USB3_PORT_EMPTY" # Disable USB3.0 Port 0
36 register "usb3_ports[1]" = "USB3_PORT_EMPTY" # Disable USB3.0 Port 2
37 register "usb3_ports[2]" = "USB3_PORT_EMPTY" # Disable USB3.0 Port 3
38 register "usb3_ports[3]" = "USB3_PORT_EMPTY" # Disable USB3.0 Port 4
39 register "usb3_ports[4]" = "USB3_PORT_EMPTY" # Disable USB3.0 Port 5
40 register "usb3_ports[5]" = "USB3_PORT_EMPTY" # Disable USB3.0 Port 6
41 register "usb3_ports[6]" = "USB3_PORT_EMPTY" # Disable USB3.0 Port 7
42 register "usb3_ports[7]" = "USB3_PORT_EMPTY" # Disable USB3.0 Port 8
43 register "usb3_ports[8]" = "USB3_PORT_EMPTY" # Disable USB3.0 Port 9
44 register "usb3_ports[9]" = "USB3_PORT_EMPTY" # Disable USB3.0 Port 10
46 register "tcss_ports[0]" = "TCSS_PORT_EMPTY" # Disable USB-C Port 0
47 register "tcss_ports[1]" = "TCSS_PORT_EMPTY" # Disable USB-C Port 1
48 register "tcss_ports[2]" = "TCSS_PORT_EMPTY" # Disable USB-C Port 2
49 register "tcss_ports[3]" = "TCSS_PORT_EMPTY" # Disable USB-C Port 3
51 # HD Audio
52 register "pch_hda_sdi_enable[0]" = "true"
53 register "pch_hda_sdi_enable[1]" = "true"
55 # Vccin Aux Imon Iccmax, follow RDC#646929 Power Map requirement
56 register "vccin_aux_imon_iccmax" = "PD_TIER_VOLUME" # 27A
58 device domain 0 on
59 # The timing values can be derived from datasheet of display panel
60 # You can use EDID string to identify the type of display on the board
61 # use below command to get display info from EDID
62 # strings /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/edid
64 # refer to display PRM document (Volume 2b: Command Reference: Registers)
65 # for more info on display control registers
66 # https://01.org/linuxgraphics/documentation/hardware-specification-prms
67 #+-----------------------------+---------------------------------------+-----+
68 #| Intel docs | devicetree.cb | eDP |
69 #+-----------------------------+---------------------------------------+-----+
70 #| Power up delay | `gpu_panel_power_up_delay` | T3 |
71 #+-----------------------------+---------------------------------------+-----+
72 #| Power on to backlight on | `gpu_panel_power_backlight_on_delay` | T7 |
73 #+-----------------------------+---------------------------------------+-----+
74 #| Power Down delay | `gpu_panel_power_down_delay` | T10 |
75 #+-----------------------------+---------------------------------------+-----+
76 #| Backlight off to power down | `gpu_panel_power_backlight_off_delay` | T9 |
77 #+-----------------------------+---------------------------------------+-----+
78 #| Power Cycle Delay | `gpu_panel_power_cycle_delay` | T12 |
79 #+-----------------------------+---------------------------------------+-----+
80 device ref igpu on
81 register "panel_cfg" = "{
82 .up_delay_ms = 200,
83 .down_delay_ms = 50,
84 .cycle_delay_ms = 500,
85 .backlight_on_delay_ms = 1,
86 .backlight_off_delay_ms = 200,
87 .backlight_pwm_hz = 200,
89 end
90 device ref dtt on end
91 device ref tcss_xhci on end
92 device ref ish on
93 chip drivers/intel/ish
94 register "firmware_name" = ""ish_fw.bin""
95 register "add_acpi_dma_property" = "true"
96 device generic 0 on end
97 end
98 end
99 device ref xhci on end
100 device ref shared_sram on end
101 device ref heci1 on end
102 device ref uart0 on end
103 device ref pch_espi on
104 chip ec/google/chromeec
105 device pnp 0c09.0 on end