mb/google/nissa/var/rull: add ssd timing and modify ssd GPIO pins of rtd3
[coreboot2.git] / src / mainboard / foxconn / g41s-k / devicetree.cb
blobb63d2045ec7edc65053ce614940774a99d161359
1 ## SPDX-License-Identifier: GPL-2.0-or-later
3 chip northbridge/intel/x4x # Northbridge
4 device cpu_cluster 0 on ops x4x_cpu_bus_ops end # APIC cluster
5 device domain 0 on
6 ops x4x_pci_domain_ops # PCI domain
7 device pci 0.0 on end # Host Bridge
8 device pci 1.0 on end # PEG
9 device pci 2.0 on end # Integrated graphics controller
10 device pci 2.1 off end # Integrated graphics controller 2
11 device pci 3.0 off end # ME
12 device pci 3.1 off end # ME
13 chip southbridge/intel/i82801gx # Southbridge
14 register "pirqa_routing" = "0x0a"
15 register "pirqb_routing" = "0x0b"
16 register "pirqc_routing" = "0x0a"
17 register "pirqd_routing" = "0x05"
18 register "pirqe_routing" = "0x0a"
19 register "pirqf_routing" = "0x0b"
20 register "pirqg_routing" = "0x0a"
21 register "pirqh_routing" = "0x03"
23 register "gpe0_en" = "0x00000441"
24 register "alt_gp_smi_en" = "0x0000"
26 register "ide_enable_primary" = "false"
27 register "ide_enable_secondary" = "false"
28 register "sata_ports_implemented" = "0x3"
30 register "gen1_dec" = "0x003c0a01" # Super I/O EC and GPIO
32 device pci 1b.0 on end # Audio
33 device pci 1c.0 on end # PCIe 1
34 device pci 1c.1 on # PCIe 2 (NIC)
35 device pci 00.0 on end # PCI 10ec:8168
36 end
37 device pci 1c.2 off end # PCIe 3
38 device pci 1c.3 off end # PCIe 4
39 device pci 1d.0 on end # USB
40 device pci 1d.1 on end # USB
41 device pci 1d.2 on end # USB
42 device pci 1d.3 on end # USB
43 device pci 1d.7 on end # USB
44 device pci 1e.0 on end # PCI bridge
45 device pci 1e.2 off end # AC'97 Audio
46 device pci 1e.3 off end # AC'97 Modem
47 device pci 1f.0 on # ISA bridge
48 chip superio/ite/it8720f # Super I/O
49 register "TMPIN1.mode" = "THERMAL_DIODE"
50 register "TMPIN1.offset" = "0"
51 register "TMPIN2.mode" = "THERMAL_RESISTOR"
52 register "TMPIN3.mode" = "THERMAL_MODE_DISABLED"
54 register "ec.vin_mask" = "VIN_ALL"
56 register "FAN1.mode" = "FAN_SMART_AUTOMATIC" # System fan
57 register "FAN1.smart.tmpin" = "1"
58 register "FAN1.smart.tmp_off" = "25"
59 register "FAN1.smart.tmp_start" = "30"
60 register "FAN1.smart.tmp_full" = "65"
61 register "FAN1.smart.tmp_delta" = "3"
62 register "FAN1.smart.smoothing" = "1"
63 register "FAN1.smart.pwm_start" = "20"
64 register "FAN1.smart.slope" = "10"
65 register "FAN2.mode" = "FAN_SMART_AUTOMATIC" # CPU fan
66 register "FAN2.smart.tmpin" = "1"
67 register "FAN2.smart.tmp_off" = "25"
68 register "FAN2.smart.tmp_start" = "30"
69 register "FAN2.smart.tmp_full" = "65"
70 register "FAN2.smart.tmp_delta" = "3"
71 register "FAN2.smart.smoothing" = "1"
72 register "FAN2.smart.pwm_start" = "20"
73 register "FAN2.smart.slope" = "10"
74 register "FAN3.mode" = "FAN_MODE_OFF" # Not connected
76 device pnp 2e.0 off end # Floppy
77 device pnp 2e.1 on # COM1
78 io 0x60 = 0x3f8
79 irq 0x70 = 0x04
80 irq 0xf0 = 0x00
81 irq 0xf1 = 0x50
82 end
83 device pnp 2e.2 on # COM2 (IR)
84 io 0x60 = 0x2f8
85 irq 0x70 = 0x03
86 irq 0xf0 = 0x10 # IrDA SIR mode
87 irq 0xf1 = 0x50
88 end
89 device pnp 2e.3 off end # Parallel port
90 device pnp 2e.4 on # Environment controller
91 io 0x60 = 0xa10
92 io 0x62 = 0xa00
93 irq 0x70 = 0x00
94 irq 0xf0 = 0x80
95 irq 0xf1 = 0x00
96 irq 0xf2 = 0x0a
97 irq 0xf3 = 0x00
98 irq 0xf4 = 0x80
99 irq 0xf5 = 0x00
100 irq 0xf6 = 0x00
102 device pnp 2e.5 on # Keyboard
103 io 0x60 = 0x060
104 io 0x62 = 0x064
105 irq 0x70 = 0x01
106 irq 0xf0 = 0x00
108 device pnp 2e.6 on # Mouse
109 irq 0x70 = 0x0c
110 irq 0xf0 = 0x00
112 device pnp 2e.7 on # GPIO
113 io 0x60 = 0x000
114 io 0x62 = 0xa20
115 io 0x64 = 0xa30
116 irq 0xf0 = 0x00
117 irq 0xf1 = 0x00
118 irq 0xf2 = 0x00
119 irq 0xf3 = 0x00
120 irq 0xf4 = 0x00
121 irq 0xf5 = 0x00
122 irq 0xf6 = 0x22
123 irq 0xf7 = 0x00
124 irq 0xf8 = 0x00
125 irq 0xf9 = 0x00
126 irq 0xfa = 0x00
127 irq 0xfb = 0x00
128 irq 0xfd = 0x00
129 irq 0xfe = 0x00
131 device pnp 2e.a on # CIR
132 io 0x60 = 0x3e0
133 irq 0x70 = 0x0a
134 irq 0xf0 = 0x00
138 device pci 1f.1 off end # PATA/IDE
139 device pci 1f.2 on end # SATA
140 device pci 1f.3 on end # SMbus