Debian Codegraph @

src/mainboard/dell/optiplex_3050/devicetree.cb

raw
1 ## SPDX-License-Identifier: GPL-2.0-only
2
3 chip soc/intel/skylake
4 register "deep_sx_config" = "DSX_EN_WAKE_PIN | DSX_EN_LAN_WAKE_PIN"
5
6 # Enable Enhanced Intel SpeedStep
7 register "eist_enable" = "1"
8
9 device domain 0 on
10 device ref igpu on
11 register "PrimaryDisplay" = "Display_iGFX"
12 end
13
14 device ref south_xhci on
15 register "usb2_ports" = "{
16 [0] = USB2_PORT_MID(OC0), // Front panel (blue)
17 [1] = USB2_PORT_MID(OC0), // Front panel (blue)
18 [2] = USB2_PORT_MID(OC3), // Back panel (black)
19 [3] = USB2_PORT_MID(OC2), // Back panel (blue)
20 [4] = USB2_PORT_MID(OC1), // Back panel (blue)
21 [6] = USB2_PORT_MID(OC1), // Back panel (black)
22 [8] = USB2_PORT_MID(OC_SKIP), // WiFi slot
23 }"
24 register "usb3_ports" = "{
25 [0] = USB3_PORT_DEFAULT(OC0), // Front panel (blue)
26 [1] = USB3_PORT_DEFAULT(OC0), // Front panel (blue)
27 [2] = USB3_PORT_DEFAULT(OC2), // Back panel (blue)
28 [3] = USB3_PORT_DEFAULT(OC1), // Back panel (blue)
29 }"
30 end
31
32 # ME interface is 'off' to avoid HECI reset delay due to HAP
33 device ref heci1 off end
34
35 device ref sata on
36 register "SataSalpSupport" = "1"
37 register "SataPortsEnable[0]" = "1"
38 end
39
40 # M.2 SSD
41 device ref pcie_rp21 on
42 register "PcieRpClkReqSupport[20]" = "true"
43 register "PcieRpClkReqNumber[20]" = "3"
44 register "PcieRpAdvancedErrorReporting[20]" = "1"
45 register "PcieRpLtrEnable[20]" = "true"
46 register "PcieRpClkSrcNumber[20]" = "3"
47 register "PcieRpHotPlug[20]" = "1"
48 end
49
50 # Realtek LAN
51 device ref pcie_rp5 on
52 register "PcieRpClkReqSupport[4]" = "false"
53 register "PcieRpHotPlug[4]" = "0"
54 end
55
56 # M.2 WiFi
57 device ref pcie_rp8 on
58 register "PcieRpClkReqSupport[7]" = "false"
59 register "PcieRpHotPlug[7]" = "1"
60 end
61
62 # UART0 is exposed on test points on the bottom of the board
63 device ref uart0 on
64 register "SerialIoDevMode[PchSerialIoIndexUart0]" = "PchSerialIoPci"
65 end
66
67 device ref lpc_espi on
68 register "serirq_mode" = "SERIRQ_CONTINUOUS"
69
70 # I/O decode for EMI/Runtime registers
71 register "gen1_dec" = "0x007c0a01"
72
73 # SCH5553
74 chip superio/smsc/sch555x
75 device pnp 2e.0 on # EMI
76 io 0x60 = 0xa00
77 end
78 device pnp 2e.1 off end # 8042
79 device pnp 2e.7 on # UART1
80 io 0x60 = 0x3f8
81 irq 0x0f = 2
82 irq 0x70 = 4
83 end
84 device pnp 2e.8 off end # UART2
85 device pnp 2e.c on # LPC interface
86 io 0x60 = 0x2e
87 end
88 device pnp 2e.a on # Runtime registers
89 io 0x60 = 0xa40
90 end
91 device pnp 2e.b off end # Floppy Controller
92 device pnp 2e.11 off end # Parallel Port
93 end
94 end
95
96 device ref hda on end
97
98 device ref smbus on end
99 end
100 end