summaryrefslogtreecommitdiff
path: root/src/mainboard/asrock/b75pro3-m/devicetree.cb
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2023-03-20 08:32:17 +0100
committerFelix Singer <felixsinger@posteo.net>2023-03-20 19:23:02 +0000
commit2b824fd28ff5cb0e771683076378a327624cfad3 (patch)
treeb9ce391c94867ed8b88880a9e8cdcaa9f5d37ebd /src/mainboard/asrock/b75pro3-m/devicetree.cb
parent4cf786db56325379ca3c44727db71b3ba5484a40 (diff)
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>
Diffstat (limited to 'src/mainboard/asrock/b75pro3-m/devicetree.cb')
-rw-r--r--src/mainboard/asrock/b75pro3-m/devicetree.cb26
1 files changed, 23 insertions, 3 deletions
diff --git a/src/mainboard/asrock/b75pro3-m/devicetree.cb b/src/mainboard/asrock/b75pro3-m/devicetree.cb
index 6d7dddc05f..d3b6828d33 100644
--- a/src/mainboard/asrock/b75pro3-m/devicetree.cb
+++ b/src/mainboard/asrock/b75pro3-m/devicetree.cb
@@ -110,9 +110,29 @@ chip northbridge/intel/sandybridge
irq 0x72 = 12
end
device pnp 2e.6 off end # CIR
- device pnp 2e.7 off end # GPIO6-9
- device pnp 2e.8 off end # WDT1, GPIO0, GPIO1, GPIOA
- device pnp 2e.9 off end # GPIO2-5
+ device pnp 2e.7 off end # GPIO8
+ device pnp 2e.107 off end # GPIO9
+ 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
irq 0xe0 = 0x01
irq 0xe3 = 0x14