diff options
author | Tero Kristo <t-kristo@ti.com> | 2019-09-27 19:14:29 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-10-11 13:32:39 -0400 |
commit | 752a45a153c778bb8b2cdcd0933180b311858b86 (patch) | |
tree | 56cd2a455b2357e15d69c6610b44a30fd30ed019 /arch/arm/dts | |
parent | 9850d4e52f7f8da1bab7fae32f90e8eba7b4f6af (diff) |
board: ti: am335x-ice: Configure the CDCE913 clock synthesizer
AM335x-ICE 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 'arch/arm/dts')
-rw-r--r-- | arch/arm/dts/am335x-icev2-u-boot.dtsi | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/dts/am335x-icev2-u-boot.dtsi b/arch/arm/dts/am335x-icev2-u-boot.dtsi new file mode 100644 index 0000000000..cc9569af03 --- /dev/null +++ b/arch/arm/dts/am335x-icev2-u-boot.dtsi @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/ + */ +/ { + xtal25mhz: xtal25mhz { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <25000000>; + }; +}; + +&i2c0 { + cdce913: cdce913@65 { + compatible = "ti,cdce913"; + reg = <0x65>; + clocks = <&xtal25mhz>; + #clock-cells = <1>; + xtal-load-pf = <0>; + }; +}; |