mb/google/brya: Create rull variant
[coreboot2.git] / src / mainboard / facebook / fbg1701 / devicetree.cb
blobf0fd84becf75107212c159a42c1791e500fe3522
1 chip soc/intel/braswell
3 ############################################################
4 # Set the parameters for MemoryInit
5 ############################################################
7 register "PcdMrcInitSpdAddr1" = "0xa0"
8 register "PcdMrcInitSpdAddr2" = "0xa2"
9 register "PcdIgdDvmt50PreAlloc" = "IGD_MEMSIZE_64MB"
10 register "PcdDvfsEnable" = "0"
11 register "PcdCaMirrorEn" = "1"
13 ############################################################
14 # Set the parameters for SiliconInit
15 ############################################################
17 register "PcdSdcardMode" = "PCH_DISABLED"
18 register "PcdEnableHsuart0" = "0"
19 register "PcdEnableHsuart1" = "0"
20 register "PcdEnableAzalia" = "1"
21 register "PcdEnableXhci" = "1"
22 register "PcdEnableLpe" = "0"
23 register "PcdEnableDma0" = "0"
24 register "PcdEnableDma1" = "0"
25 register "PcdEnableI2C0" = "0"
26 register "PcdEnableI2C1" = "0"
27 register "PcdEnableI2C2" = "0"
28 register "PcdEnableI2C3" = "0"
29 register "PcdEnableI2C4" = "0"
30 register "PcdEnableI2C5" = "0"
31 register "PcdEnableI2C6" = "0"
32 register "PunitPwrConfigDisable" = "0" # Enable SVID
33 register "ChvSvidConfig" = "1"
34 register "PcdEmmcMode" = "PCH_PCI_MODE"
35 register "PcdEnableSata" = "0" # Disable SATA
36 register "Usb2Port0PerPortPeTxiSet" = "7"
37 register "Usb2Port0PerPortTxiSet" = "5"
38 register "Usb2Port0IUsbTxEmphasisEn" = "2"
39 register "Usb2Port0PerPortTxPeHalf" = "1"
40 register "Usb2Port1PerPortPeTxiSet" = "7"
41 register "Usb2Port1PerPortTxiSet" = "3"
42 register "Usb2Port1IUsbTxEmphasisEn" = "2"
43 register "Usb2Port1PerPortTxPeHalf" = "1"
44 register "Usb2Port2PerPortPeTxiSet" = "7"
45 register "Usb2Port2PerPortTxiSet" = "3"
46 register "Usb2Port2IUsbTxEmphasisEn" = "2"
47 register "Usb2Port2PerPortTxPeHalf" = "1"
48 register "Usb2Port3PerPortPeTxiSet" = "7"
49 register "Usb2Port3PerPortTxiSet" = "3"
50 register "Usb2Port3IUsbTxEmphasisEn" = "2"
51 register "Usb2Port3PerPortTxPeHalf" = "1"
52 register "Usb2Port4PerPortPeTxiSet" = "7"
53 register "Usb2Port4PerPortTxiSet" = "3"
54 register "Usb2Port4IUsbTxEmphasisEn" = "2"
55 register "Usb2Port4PerPortTxPeHalf" = "1"
56 register "Usb3Lane0Ow2tapgen2deemph3p5" = "0x3a"
57 register "Usb3Lane1Ow2tapgen2deemph3p5" = "0x64"
58 register "Usb3Lane2Ow2tapgen2deemph3p5" = "0x64"
59 register "Usb3Lane3Ow2tapgen2deemph3p5" = "0x3a"
60 register "PcdPchSsicEnable" = "1"
61 register "PMIC_I2CBus" = "0"
62 register "ISPEnable" = "0" # Disable IUNIT
63 register "ISPPciDevConfig" = "3"
64 register "PcdSdDetectChk" = "0" # Disable SD card detect
66 # LPE audio codec settings
67 register "lpe_codec_clk_src" = "LPE_CLK_SRC_XTAL" # 19.2MHz clock
69 # Enable devices in PCI mode
70 register "lpss_acpi_mode" = "0"
71 register "emmc_acpi_mode" = "0"
72 register "sd_acpi_mode" = "0"
73 register "lpe_acpi_mode" = "0"
75 # Disable SLP_X stretching after SUS power well fail.
76 register "disable_slp_x_stretch_sus_fail" = "1"
78 # Allow PCIe devices to wake system from suspend
79 register "pcie_wake_enable" = "1"
81 # CPLD requires continuous mode
82 register "serirq_mode" = "SERIRQ_CONTINUOUS"
84 device cpu_cluster 0 on end
86 device domain 0 on
87 device pci 00.0 on end # 8086 2280 - SoC router
88 device pci 02.0 on end # 8086 22B1 - GFX
89 device pci 0b.0 off end # 8086 22DC - PUNIT/DPTF
90 device pci 10.0 on end # 8086 2294 - MMC Port
91 device pci 12.0 on end # 8086 0F16 - SD Port
92 device pci 13.0 off end # 8086 22a3 - SATA Port
93 device pci 14.0 on end # 8086 22b5 - USB XHCI - Only 1 USB controller at a time
94 device pci 18.0 off end # 8086 22c0 - SIO - DMA
95 device pci 18.1 off end # 8086 22c1 - I2C Port 1
96 device pci 18.2 off end # 8086 22c2 - I2C Port 2
97 device pci 18.3 off end # 8086 22c3 - I2C Port 3
98 device pci 18.4 off end # 8086 22c4 - I2C Port 4
99 device pci 18.5 off end # 8086 22c5 - I2C Port 5
100 device pci 18.6 off end # 8086 22c6 - I2C Port 6
101 device pci 18.7 off end # 8086 22c7 - I2C Port 7
102 device pci 1a.0 on end # 8086 2298 - Trusted Execution Engine
103 device pci 1b.0 on end # 8086 2284 - HD Audio
104 device pci 1c.0 on end # 8086 0000 - PCIe Root Port 1
105 device pci 1c.1 off end # 8086 0000 - PCIe Root Port 2
106 device pci 1c.2 off end # 8086 0000 - PCIe Root Port 3
107 device pci 1c.3 on end # 8086 0000 - PCIe Root Port 4
108 device pci 1e.0 off end # 8086 2286 - SIO - DMA
109 device pci 1e.3 off end # 8086 228a - HSUART 1
110 device pci 1e.4 off end # 8086 228c - HSUART 2
111 device pci 1f.0 on # 8086 229c - LPC bridge
112 chip drivers/pc80/tpm
113 device pnp 0c31.0 on end
115 end # LPC Bridge
116 device pci 1f.3 on end # 8086 2292 - SMBus 0