ram: k3-ddrss: Allow use of dt provided initial frequency

Allow device tree to provide ti,ddr-freq0 to be used as the initial DDR
frequency that is set for lpddr4 before initialization of the
controller. Make this optional and continue to use PLL bypass frequency
as is done currently if ti,ddr-freq0 is not provided.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
This commit is contained in:
Dave Gerlach
2022-04-08 16:46:50 -05:00
committed by Tom Rini
parent a96d565725
commit 270f7fd25b
2 changed files with 12 additions and 5 deletions

View File

@@ -39,6 +39,8 @@ Optional properties:
- reg: Must add "ss" to list if the above ss region is included.
- ti,ecc-enable: Boolean flag to enable ECC. This will reduce available DDR
by 1/9.
- ti,ddr-freq0: Initial frequency set point, if not provided PLL bypass
frequency will be used.
Example (J721E):
================