mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-12 07:57:21 +00:00
- Small fixes to eMMC and SDHCI for Intel Edison
This commit is contained in:
commit
a49930f4c6
2 changed files with 33 additions and 0 deletions
|
@ -88,6 +88,7 @@
|
|||
emmc: mmc@ff3fc000 {
|
||||
compatible = "intel,sdhci-tangier";
|
||||
reg = <0xff3fc000 0x1000>;
|
||||
non-removable;
|
||||
};
|
||||
|
||||
sdcard: mmc@ff3fa000 {
|
||||
|
|
|
@ -97,6 +97,38 @@ Device (PCI0)
|
|||
}
|
||||
}
|
||||
|
||||
Device (SDHB)
|
||||
{
|
||||
Name (_ADR, 0x00010002)
|
||||
Name (_DEP, Package ()
|
||||
{
|
||||
GPIO
|
||||
})
|
||||
|
||||
Name (RBUF, ResourceTemplate()
|
||||
{
|
||||
GpioInt(Edge, ActiveBoth, SharedAndWake, PullNone, 10000,
|
||||
"\\_SB.PCI0.GPIO", 0, ResourceConsumer, , ) { 77 }
|
||||
})
|
||||
|
||||
Method (_CRS, 0, Serialized)
|
||||
{
|
||||
Return (RBUF)
|
||||
}
|
||||
|
||||
Name (_DSD, Package () {
|
||||
ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
|
||||
Package () {
|
||||
Package () { "cd-gpios", Package () { ^SDHB, 0, 0, 0 } },
|
||||
}
|
||||
})
|
||||
|
||||
Method (_STA)
|
||||
{
|
||||
Return (STA_VISIBLE)
|
||||
}
|
||||
}
|
||||
|
||||
Device (SDHC)
|
||||
{
|
||||
Name (_ADR, 0x00010003)
|
||||
|
|
Loading…
Reference in a new issue