mb/google/brya/var/uldrenite: Generate RAM ID and SPD file
[coreboot2.git] / src / mainboard / google / cyan / devicetree.cb
blob9f510bf4fe0fac2444127dc2871c9fa232061322
1 chip soc/intel/braswell
3 # IGD Displays
4 register "gfx" = "GMA_STATIC_DISPLAYS(0)"
6 ############################################################
7 # Set the parameters for MemoryInit
8 ############################################################
10 register "PcdMrcInitSpdAddr1" = "0xa0"
11 register "PcdMrcInitSpdAddr2" = "0xa2"
12 register "PcdIgdDvmt50PreAlloc" = "1"
13 register "PcdDvfsEnable" = "1"
14 register "PcdCaMirrorEn" = "1"
16 ############################################################
17 # Set the parameters for SiliconInit
18 ############################################################
20 register "PcdSdcardMode" = "PCH_PCI_MODE"
21 register "PcdEnableHsuart0" = "0"
22 register "PcdEnableHsuart1" = "1"
23 register "PcdEnableAzalia" = "1"
24 register "PcdEnableXhci" = "1"
25 register "PcdEnableLpe" = "1"
26 register "PcdEnableDma0" = "1"
27 register "PcdEnableDma1" = "1"
28 register "PcdEnableI2C0" = "0" # Touchscreen
29 register "PcdEnableI2C1" = "1" # PMIC (or Maxim Audio)
30 register "PcdEnableI2C2" = "0"
31 register "PcdEnableI2C3" = "0"
32 register "PcdEnableI2C4" = "1" # Realtek Audio
33 register "PcdEnableI2C5" = "1" # Touchpad
34 register "PcdEnableI2C6" = "0"
35 register "PunitPwrConfigDisable" = "0" # Enable SVID
36 register "ChvSvidConfig" = "SVID_PMIC_CONFIG"
37 register "PcdEmmcMode" = "PCH_PCI_MODE"
38 register "PcdEnableSata" = "0" # Disable SATA
39 register "Usb2Port0PerPortPeTxiSet" = "7"
40 register "Usb2Port0PerPortTxiSet" = "5"
41 register "Usb2Port0IUsbTxEmphasisEn" = "2"
42 register "Usb2Port0PerPortTxPeHalf" = "1"
43 register "Usb2Port1PerPortPeTxiSet" = "7"
44 register "Usb2Port1PerPortTxiSet" = "3"
45 register "Usb2Port1IUsbTxEmphasisEn" = "2"
46 register "Usb2Port1PerPortTxPeHalf" = "1"
47 register "Usb2Port2PerPortPeTxiSet" = "7"
48 register "Usb2Port2PerPortTxiSet" = "3"
49 register "Usb2Port2IUsbTxEmphasisEn" = "2"
50 register "Usb2Port2PerPortTxPeHalf" = "1"
51 register "Usb2Port3PerPortPeTxiSet" = "7"
52 register "Usb2Port3PerPortTxiSet" = "3"
53 register "Usb2Port3IUsbTxEmphasisEn" = "2"
54 register "Usb2Port3PerPortTxPeHalf" = "1"
55 register "Usb2Port4PerPortPeTxiSet" = "7"
56 register "Usb2Port4PerPortTxiSet" = "3"
57 register "Usb2Port4IUsbTxEmphasisEn" = "2"
58 register "Usb2Port4PerPortTxPeHalf" = "1"
59 register "Usb3Lane0Ow2tapgen2deemph3p5" = "0x3a"
60 register "Usb3Lane1Ow2tapgen2deemph3p5" = "0x64"
61 register "Usb3Lane2Ow2tapgen2deemph3p5" = "0x64"
62 register "Usb3Lane3Ow2tapgen2deemph3p5" = "0x3a"
63 register "PcdPchSsicEnable" = "1"
64 register "PMIC_I2CBus" = "1"
65 register "ISPEnable" = "0" # Disable IUNIT
66 register "ISPPciDevConfig" = "3"
67 register "PcdSdDetectChk" = "0" # Disable SD card detect
69 register "I2C0Frequency" = "1"
70 register "I2C1Frequency" = "2" # Set the PMIC clock speed to 1Mhz
71 register "I2C2Frequency" = "1"
72 register "I2C3Frequency" = "1"
73 register "I2C4Frequency" = "1"
74 register "I2C5Frequency" = "1"
75 register "I2C6Frequency" = "1"
77 # LPE audio codec settings
78 register "lpe_codec_clk_src" = "LPE_CLK_SRC_XTAL" # 19.2MHz clock
80 # Enable LPSS and LPE devices in ACPI mode
81 register "lpss_acpi_mode" = "1"
82 register "emmc_acpi_mode" = "0"
83 register "sd_acpi_mode" = "0"
84 register "lpe_acpi_mode" = "1"
86 # Disable SLP_X stretching after SUS power well fail.
87 register "disable_slp_x_stretch_sus_fail" = "1"
89 # Allow PCIe devices to wake system from suspend
90 register "pcie_wake_enable" = "1"
92 device cpu_cluster 0 on end
93 device domain 0 on
94 # EDS Table 24-4, Figure 24-5
95 device pci 00.0 on end # 8086 2280 - SoC transaction router
96 device pci 02.0 on end # 8086 22b0/22b1 - B1/C0 stepping Graphics and Display
97 device pci 03.0 off end # 8086 22b8 - Camera and Image Processor
98 device pci 0b.0 on end # 8086 22dc - PUNIT/DPTF
99 device pci 10.0 on end # 8086 2294 - MMC Port
100 device pci 11.0 off end # 8086 0F15 - SDIO Port
101 device pci 12.0 on end # 8086 0F16 - SD Port
102 device pci 13.0 off end # 8086 22a3 - Sata controller
103 device pci 14.0 on end # 8086 22b5 - USB XHCI
104 device pci 15.0 on end # 8086 22a8 - LP Engine Audio
105 device pci 16.0 off end # 8086 22b7 - USB device
106 device pci 18.0 on end # 8086 22c0 - SIO - DMA
107 device pci 18.1 off end # 8086 22c1 - I2C Port 1: Touchscreen
108 device pci 18.2 on end # 8086 22c2 - I2C Port 2: PMIC
109 device pci 18.3 off end # 8086 22c3 - I2C Port 3
110 device pci 18.4 off end # 8086 22c4 - I2C Port 4
111 device pci 18.5 on end # 8086 22c5 - I2C Port 5: Realtek Audio
112 device pci 18.6 on end # 8086 22c6 - I2C Port 6: Touchpad
113 device pci 18.7 off end # 8086 22c7 - I2C Port 7
114 device pci 1a.0 off end # 8086 0F18 - Trusted Execution Engine
115 device pci 1b.0 on end # 8086 2284 - HD Audio
116 device pci 1c.0 on end # 8086 22c8 - PCIe Root Port 1
117 device pci 1c.1 off end # 8086 22ca - PCIe Root Port 2
118 device pci 1c.2 on end # 8086 22cc - PCIe Root Port 3: WiFi
119 device pci 1c.3 off end # 8086 22ce - PCIe Root Port 4
120 device pci 1e.0 on end # 8086 2286 - SIO - DMA
121 device pci 1e.1 off end # 8086 0F08 - PWM 1
122 device pci 1e.2 off end # 8086 0F09 - PWM 2
123 device pci 1e.3 off end # 8086 228a - HSUART 1
124 device pci 1e.4 off end # 8086 228c - HSUART 2
125 device pci 1e.5 on end # 8086 228e - SPI 1
126 device pci 1e.6 off end # 8086 2290 - SPI 2
127 device pci 1e.7 off end # 8086 22ac - SPI 3
128 device pci 1f.0 on # 8086 229c - LPC bridge
129 chip drivers/pc80/tpm
130 device pnp 0c31.0 on end
132 chip ec/google/chromeec
133 device pnp 0c09.0 on end
135 end # LPC Bridge
136 device pci 1f.3 off end # 8086 0F12 - SMBus 0