diff options
author | Tero Kristo <t-kristo@ti.com> | 2019-09-27 19:14:28 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-10-11 13:32:39 -0400 |
commit | 9850d4e52f7f8da1bab7fae32f90e8eba7b4f6af (patch) | |
tree | eda030a2d6c8602a85030b59d91d9a8ad803aaa0 /board/ti/am43xx | |
parent | e8e683d33b0ccd43e03809bf4ea88a899a867473 (diff) | |
download | u-boot-9850d4e52f7f8da1bab7fae32f90e8eba7b4f6af.tar.gz u-boot-9850d4e52f7f8da1bab7fae32f90e8eba7b4f6af.tar.bz2 u-boot-9850d4e52f7f8da1bab7fae32f90e8eba7b4f6af.zip |
board: ti: am43xx-idk: Configure the CDCE913 clock synthesizer
AM43xx-IDK boards contain the CDCE913 clock synthesizer, and their
reset crystal capacitance load value of 10pF is wrong leading into
lost packets in certain networking tests. Add DT data for this
device, and probe it from the board file to program the crystal
capacitance load value to 0pF to avoid any problems.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to 'board/ti/am43xx')
-rw-r--r-- | board/ti/am43xx/board.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/board/ti/am43xx/board.c b/board/ti/am43xx/board.c index 2e09cc20e8..f5ecf871bc 100644 --- a/board/ti/am43xx/board.c +++ b/board/ti/am43xx/board.c @@ -720,6 +720,7 @@ static int device_okay(const char *path) int board_late_init(void) { + struct udevice *dev; #ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG set_board_info_env(NULL); @@ -737,6 +738,10 @@ int board_late_init(void) if (device_okay("/ocp/omap_dwc3@483c0000")) enable_usb_clocks(1); #endif + + /* Just probe the potentially supported cdce913 device */ + uclass_get_device(UCLASS_CLK, 0, &dev); + return 0; } #endif |