mb/pcengines/*: enable simple IO-based GPIO control

Add Nuvoton NCT5104D GPIO IO VLDN and define an IO base address
unused by any peripheral for GPIO use.

Signed-off-by: Piotr Kleinschmidt <piotr.kleinschmidt@3mdeb.com>
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Change-Id: I034c5d0169b8d97eac97a20c92c22816fd674f79
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38275
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
Piotr Kleinschmidt 2020-01-08 16:09:59 +01:00 committed by Felix Held
parent 79d7f6b5fc
commit 302951d9c3
5 changed files with 18 additions and 5 deletions

View File

@ -62,7 +62,10 @@ chip northbridge/amd/agesa/family14/root_complex
io 0x60 = 0x2e8 io 0x60 = 0x2e8
irq 0x70 = 3 irq 0x70 = 3
end end
device pnp 2e.8 off end device pnp 2e.008 off end
device pnp 2e.108 on
io 0x60 = 0x220
end
# GPIO0 and GPIO1 are conditionally turned on # GPIO0 and GPIO1 are conditionally turned on
device pnp 2e.007 off end device pnp 2e.007 off end
device pnp 2e.107 off end device pnp 2e.107 off end

View File

@ -64,7 +64,10 @@ chip northbridge/amd/pi/00730F01/root_complex
io 0x60 = 0x2e8 io 0x60 = 0x2e8
irq 0x70 = 3 irq 0x70 = 3
end end
device pnp 2e.8 off end device pnp 2e.008 off end
device pnp 2e.108 on
io 0x60 = 0x220
end
# GPIO0 and GPIO1 are conditionally turned on # GPIO0 and GPIO1 are conditionally turned on
device pnp 2e.007 on end device pnp 2e.007 on end
device pnp 2e.107 on end device pnp 2e.107 on end

View File

@ -64,7 +64,10 @@ chip northbridge/amd/pi/00730F01/root_complex
io 0x60 = 0x2e8 io 0x60 = 0x2e8
irq 0x70 = 3 irq 0x70 = 3
end end
device pnp 2e.8 off end device pnp 2e.008 off end
device pnp 2e.108 on
io 0x60 = 0x220
end
# GPIO0 and GPIO1 are conditionally turned on # GPIO0 and GPIO1 are conditionally turned on
device pnp 2e.007 on end device pnp 2e.007 on end
device pnp 2e.107 on end device pnp 2e.107 on end

View File

@ -64,7 +64,10 @@ chip northbridge/amd/pi/00730F01/root_complex
io 0x60 = 0x2e8 io 0x60 = 0x2e8
irq 0x70 = 3 irq 0x70 = 3
end end
device pnp 2e.8 off end device pnp 2e.008 off end
device pnp 2e.108 on
io 0x60 = 0x220
end
# GPIO0 and GPIO1 are conditionally turned on # GPIO0 and GPIO1 are conditionally turned on
device pnp 2e.007 on end device pnp 2e.007 on end
device pnp 2e.107 on end device pnp 2e.107 on end

View File

@ -64,7 +64,8 @@ chip northbridge/amd/pi/00730F01/root_complex
io 0x60 = 0x2e8 io 0x60 = 0x2e8
irq 0x70 = 3 irq 0x70 = 3
end end
device pnp 2e.8 off end device pnp 2e.008 off end
device pnp 2e.108 off end
device pnp 2e.f off end device pnp 2e.f off end
device pnp 2e.007 off end device pnp 2e.007 off end
device pnp 2e.107 off end device pnp 2e.107 off end