summaryrefslogtreecommitdiff
path: root/src/mainboard/google/dedede/variants/baseboard/devicetree.cb
diff options
context:
space:
mode:
authorAamir Bohra <aamir.bohra@intel.com>2020-03-16 14:47:27 +0530
committerKarthik Ramasubramanian <kramasub@google.com>2020-06-02 03:26:40 +0000
commit29c6169efdac2a93fa1d891e476644b203443f5b (patch)
tree1b88419d34467f8c94f254de240b11c33482f7ea /src/mainboard/google/dedede/variants/baseboard/devicetree.cb
parent3fd5a1bbbb7a112544975045a0c4ac1f3ea82202 (diff)
downloadcoreboot-29c6169efdac2a93fa1d891e476644b203443f5b.tar.xz
mb/google/dedede: Add SD card support
1. Configure SD card GPIOs. 2. Set SD card power polarity and card detect configs. SD card CMD. DATA and CLK GPIOs are set for native pad termination as per recommendation in EDS vol1 section 10.4.10 BUG=b:150872580 TEST=Verify SD card enumeration and read/write transactions. Change-Id: I90c8ceb85ada23718ff7b6fd7013317c818dd532 Signed-off-by: Aamir Bohra <aamir.bohra@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39237 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google/dedede/variants/baseboard/devicetree.cb')
-rw-r--r--src/mainboard/google/dedede/variants/baseboard/devicetree.cb7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mainboard/google/dedede/variants/baseboard/devicetree.cb b/src/mainboard/google/dedede/variants/baseboard/devicetree.cb
index 72ce7c1821..a856b222c1 100644
--- a/src/mainboard/google/dedede/variants/baseboard/devicetree.cb
+++ b/src/mainboard/google/dedede/variants/baseboard/devicetree.cb
@@ -114,6 +114,11 @@ chip soc/intel/jasperlake
# Enable EMMC HS400 mode
register "ScsEmmcHs400Enabled" = "1"
+ # GPIO for SD card detect
+ register "sdcard_cd_gpio" = "VGPIO_39"
+ # SD card power enable polarity
+ register "SdCardPowerEnableActiveHigh" = "1"
+
# Display related UPDs
# Select eDP for port A
register "DdiPortAConfig" = "1"
@@ -255,7 +260,7 @@ chip soc/intel/jasperlake
register "wake" = "GPE0_PME_B0"
device pci 14.3 on end # CNVi wifi
end
- device pci 14.5 off end # SDCard
+ device pci 14.5 on end # SDCard
device pci 15.0 on end # I2C 0
device pci 15.1 on end # I2C 1
device pci 15.2 on end # I2C 2