mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-27 04: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
34 lines
601 B
Plaintext
34 lines
601 B
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright 2015 Google, Inc
|
|
*/
|
|
|
|
#include "rk3288-veyron-u-boot.dtsi"
|
|
|
|
&dmc {
|
|
rockchip,pctl-timing = <0x215 0xc8 0x0 0x35 0x26 0x2 0x70 0x2000d
|
|
0x6 0x0 0x8 0x4 0x17 0x24 0xd 0x6
|
|
0x4 0x8 0x4 0x76 0x4 0x0 0x30 0x0
|
|
0x1 0x2 0x2 0x4 0x0 0x0 0xc0 0x4
|
|
0x8 0x1f4>;
|
|
rockchip,phy-timing = <0x48d7dd93 0x187008d8 0x121076
|
|
0x0 0xc3 0x6 0x1>;
|
|
rockchip,sdram-params = <0x20D266A4 0x5B6 6 533000000 6 13 0>;
|
|
};
|
|
|
|
&sdmmc {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&emmc {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&uart2 {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&pinctrl {
|
|
u-boot,dm-pre-reloc;
|
|
};
|