mb/google/brya: Create rull variant
[coreboot2.git] / src / mainboard / asus / p5gc-mx / devicetree.cb
blob3518a01b9fb869d45801c815d2d223386639d7be
1 ## SPDX-License-Identifier: GPL-2.0-only
3 chip northbridge/intel/i945
5 device cpu_cluster 0 on ops i945_cpu_bus_ops end # APIC cluster
7 device domain 0 on
8 ops i945_pci_domain_ops
9 device pci 00.0 on # host bridge
10 subsystemid 0x1458 0x5000
11 end
12 device pci 01.0 on # i945 PCIe root port
13 subsystemid 0x1458 0x5000
14 end
15 device pci 02.0 on # vga controller
16 subsystemid 0x1458 0xd000
17 end
19 chip southbridge/intel/i82801gx
20 register "pirqa_routing" = "0x80"
21 register "pirqb_routing" = "0x80"
22 register "pirqc_routing" = "0x80"
23 register "pirqd_routing" = "0x80"
24 register "pirqe_routing" = "0x80"
25 register "pirqf_routing" = "0x80"
26 register "pirqg_routing" = "0x80"
27 register "pirqh_routing" = "0x80"
29 register "gpe0_en" = "0"
31 register "ide_enable_primary" = "true"
32 register "ide_enable_secondary" = "false"
34 register "p_cnt_throttling_supported" = "false"
36 # SuperIO Power Management Events
37 register "gen1_dec" = "0x00040291"
39 device pci 1b.0 on end # High Definition Audio
40 device pci 1c.0 on end # PCIe
41 device pci 1c.1 on end # PCIe
42 device pci 1c.2 off end # PCIe port 3
43 device pci 1c.3 off end # PCIe port 4
44 device pci 1d.0 on end # USB UHCI
45 device pci 1d.1 on end # USB UHCI
46 device pci 1d.2 on end # USB UHCI
47 device pci 1d.3 on end # USB UHCI
48 device pci 1d.7 on end # USB2 EHCI
49 device pci 1e.0 on end # PCI bridge
50 device pci 1e.2 off end # AC'97 Audio
51 device pci 1e.3 off end # AC'97 Modem
53 device pci 1f.0 on # LPC bridge
54 chip superio/winbond/w83627dhg
55 device pnp 2e.0 on # Floppy
56 io 0x60 = 0x3f0
57 irq 0x70 = 6
58 drq 0x74 = 2
59 end
60 device pnp 2e.1 on # Parallel port
61 io 0x60 = 0x378
62 irq 0x70 = 7
63 drq 0x74 = 3
64 end
65 device pnp 2e.2 on # COM1
66 io 0x60 = 0x3f8
67 irq 0x70 = 4
68 end
69 device pnp 2e.3 on # COM2
70 io 0x60 = 0x2f8
71 irq 0x70 = 3
72 end
73 device pnp 2e.5 on # Keyboard
74 io 0x60 = 0x60
75 io 0x62 = 0x64
76 irq 0x70 = 1 # Keyboard
77 irq 0x72 = 12 # Mouse
78 end
79 device pnp 2e.6 off end # SPI
80 device pnp 2e.7 on end # GPIO6
81 device pnp 2e.8 off end # WDTO# & PLED
82 device pnp 2e.9 off end # GPIO2
83 device pnp 2e.109 on # GPIO3
84 irq 0xf0 = 0xf3 # BSEL straps to output
85 irq 0xf2 = 0x08 # INVERT GPIO33
86 end
87 device pnp 2e.209 on # GPIO4
88 irq 0xf5 = 0xf8
89 end
90 device pnp 2e.309 on # GPIO5
91 irq 0xe0 = 0xde
92 end
93 device pnp 2e.a on # ACPI
94 irq 0x70 = 0
95 irq 0xe4 = 0x10 # VSBGATE# to power dram during S3
96 end
97 device pnp 2e.b on # HWM
98 io 0x60 = 0x290
99 irq 0x70 = 0
101 device pnp 2e.c on end # PECI, SST
104 device pci 1f.1 on end # IDE
105 device pci 1f.2 on end # SATA
106 device pci 1f.3 on end # SMBus