summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Niewöhner <foss@mniewoehner.de>2020-09-06 18:23:09 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2020-09-17 19:24:30 +0000
commit1d7b7f6e7a4381ec652d2900571ee9af4fe74a14 (patch)
tree936eadb2845a6b6eaae2e7a89ad76a7a2edede8e /src
parent7fbcdb3f9a629d291fae88fb0e14a757a751cb58 (diff)
mb/system76/lemp9: move HDA options into devicetree
Change-Id: Id4fc12896f89739d0ee2a47a42173693921da14e Signed-off-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45132 Reviewed-by: Felix Singer <felixsinger@posteo.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/system76/lemp9/devicetree.cb27
1 files changed, 13 insertions, 14 deletions
diff --git a/src/mainboard/system76/lemp9/devicetree.cb b/src/mainboard/system76/lemp9/devicetree.cb
index 31f411d085..15790809b5 100644
--- a/src/mainboard/system76/lemp9/devicetree.cb
+++ b/src/mainboard/system76/lemp9/devicetree.cb
@@ -45,19 +45,6 @@ chip soc/intel/cannonlake
[PchSerialIoIndexI2C0] = PchSerialIoPci, // Touchpad
}"
- # Audio
- register "PchHdaDspEnable" = "0"
- register "PchHdaAudioLinkHda" = "1"
- register "PchHdaAudioLinkDmic0" = "1"
- register "PchHdaAudioLinkDmic1" = "1"
- register "PchHdaAudioLinkSsp0" = "0"
- register "PchHdaAudioLinkSsp1" = "0"
- register "PchHdaAudioLinkSsp2" = "0"
- register "PchHdaAudioLinkSndw1" = "0"
- register "PchHdaAudioLinkSndw2" = "0"
- register "PchHdaAudioLinkSndw3" = "0"
- register "PchHdaAudioLinkSndw4" = "0"
-
# Misc
register "AcousticNoiseMitigation" = "1"
#register "dmipwroptimize" = "1"
@@ -221,7 +208,19 @@ chip soc/intel/cannonlake
end
device pci 1f.1 off end # P2SB
device pci 1f.2 off end # Power Management Controller
- device pci 1f.3 on end # Intel HDA
+ device pci 1f.3 on # Intel HDA
+ register "PchHdaDspEnable" = "0"
+ register "PchHdaAudioLinkHda" = "1"
+ register "PchHdaAudioLinkDmic0" = "1"
+ register "PchHdaAudioLinkDmic1" = "1"
+ register "PchHdaAudioLinkSsp0" = "0"
+ register "PchHdaAudioLinkSsp1" = "0"
+ register "PchHdaAudioLinkSsp2" = "0"
+ register "PchHdaAudioLinkSndw1" = "0"
+ register "PchHdaAudioLinkSndw2" = "0"
+ register "PchHdaAudioLinkSndw3" = "0"
+ register "PchHdaAudioLinkSndw4" = "0"
+ end
device pci 1f.4 on end # SMBus
device pci 1f.5 on end # PCH SPI
device pci 1f.6 off end # GbE