mb/asrock/b75pro3-m/devicetree.cb: Fix errors for PNP 2e.308
[ERROR] PNP: 002e.308 60 io size: 0x0000000008 not assigned in devicetree [ERROR] ERROR: Resource didn't fit!!! PNP: 002e.308 60 * size: 0x8 limit: fff io Configure GPIO pins like asrock/h77pro4-m, this resolves the error and makes CPU-fan readings work. Signed-off-by: Fabian Groffen <grobian@gentoo.org> Change-Id: If717d046d9f60ca66d1e33db59ad67d23c393376 Reviewed-on: https://review.coreboot.org/c/coreboot/+/73818 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <felixsinger@posteo.net>
This commit is contained in:
parent
4cf786db56
commit
2b824fd28f
|
@ -110,9 +110,29 @@ chip northbridge/intel/sandybridge
|
||||||
irq 0x72 = 12
|
irq 0x72 = 12
|
||||||
end
|
end
|
||||||
device pnp 2e.6 off end # CIR
|
device pnp 2e.6 off end # CIR
|
||||||
device pnp 2e.7 off end # GPIO6-9
|
device pnp 2e.7 off end # GPIO8
|
||||||
device pnp 2e.8 off end # WDT1, GPIO0, GPIO1, GPIOA
|
device pnp 2e.107 off end # GPIO9
|
||||||
device pnp 2e.9 off end # GPIO2-5
|
device pnp 2e.8 off end # WDT1
|
||||||
|
device pnp 2e.108 off end # GPIO0
|
||||||
|
device pnp 2e.208 off end # GPIOA
|
||||||
|
device pnp 2e.308 on # GPIO base
|
||||||
|
io 0x60 = 0x0
|
||||||
|
irq 0xf0 = 0x3e # + GPIO1 direction
|
||||||
|
irq 0xf1 = 0xde # + GPIO1 value
|
||||||
|
end
|
||||||
|
device pnp 2e.109 on end # GPIO1
|
||||||
|
device pnp 2e.209 on # GPIO2
|
||||||
|
irq 0xe0 = 0xff # + GPIO2 direction
|
||||||
|
irq 0xe1 = 0x0c # + GPIO2 value
|
||||||
|
end
|
||||||
|
device pnp 2e.309 on # GPIO3
|
||||||
|
irq 0xe4 = 0xf7 # + GPIO3 direction
|
||||||
|
irq 0xe5 = 0x08 # + GPIO3 value
|
||||||
|
end
|
||||||
|
device pnp 2e.409 off end # GPIO4
|
||||||
|
device pnp 2e.509 off end # GPIO5
|
||||||
|
device pnp 2e.609 off end # GPIO6
|
||||||
|
device pnp 2e.709 on end # GPIO7
|
||||||
device pnp 2e.a on # ACPI
|
device pnp 2e.a on # ACPI
|
||||||
irq 0xe0 = 0x01
|
irq 0xe0 = 0x01
|
||||||
irq 0xe3 = 0x14
|
irq 0xe3 = 0x14
|
||||||
|
|
Loading…
Reference in New Issue