gru: Fix and export SPK_PA_EN GPIO for Scarlet

On older Grus, GPIO0_A2 was an audio voltage rail enable line. On
Scarlet, we instead moved the audio codec enable (previously on
GPIO1_A2) there. Unfortunately the code still had some hardcoded
leftovers that were overlooked in the initial port and make our speakers
smell weird.

This patch fixes the incorrect GPIO settings and adds the speaker enable
pin to the GPIOs passed through the coreboot table, so that depthcharge
doesn't have to keep its own definition of the pin which may go out of

Change-Id: I1ac70ee47ebf04b8b92ff17a46cbf5d839421a61
Signed-off-by: Julius Werner <>
Tested-by: build bot (Jenkins) <>
Reviewed-by: David Schneider <>
Reviewed-by: Alexandru Stan <>
Reviewed-by: Aaron Durbin <>
Reviewed-by: Paul Menzel <>
3 files changed