mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-29 05:18:51 +09:00
![Walter Lozano](/assets/img/avatar_default.png)
Several MMC drivers use GPIO for card detection with cd-gpios property in the MMC node pointing to a GPIO node. However, as U-Boot tries to save space by keeping only required nodes using u-boot* properties, several devices tree result in having only in the MMC node but not the GPIO node associated to cd-gpios. This patch, fixes several ocurrence of this issue. Signed-off-by: Walter Lozano <walter.lozano@collabora.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Adam Ford <aford173@gmail.com> #da850-evm
35 lines
400 B
Plaintext
35 lines
400 B
Plaintext
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* da850-lcdk U-Boot Additions
|
|
*
|
|
* Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
|
|
*/
|
|
|
|
/ {
|
|
aliases {
|
|
i2c0 = &i2c0;
|
|
mmc0 = &mmc0;
|
|
serial2 = &serial2;
|
|
};
|
|
|
|
soc@1c00000 {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
nand {
|
|
compatible = "ti,davinci-nand";
|
|
};
|
|
};
|
|
|
|
&mmc0 {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&serial2 {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&gpio {
|
|
u-boot,dm-spl;
|
|
};
|