1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
3 * Copyright : STMicroelectronics 2018
5 * Copyright (C) Linaro Ltd 2019 - All Rights Reserved
6 * Author: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
7 * Copyright (C) 2020 Marek Vasut <marex@denx.de>
10 #include <dt-bindings/clock/stm32mp1-clksrc.h>
11 #include "stm32mp15-u-boot.dtsi"
12 #include "stm32mp15-ddr3-dhsom-2x1Gb-1066-binG.dtsi"
13 #include "stm32mp15-ddr3-dhsom-2x2Gb-1066-binG.dtsi"
14 #include "stm32mp15-ddr3-dhsom-2x4Gb-1066-binG.dtsi"
24 dh,ddr3-coding-gpios = <&gpiog 0 0>, <&gpiog 1 0>;
25 dh,som-coding-gpios = <&gpioz 7 0>, <&gpiof 3 0>;
33 compatible = "fixed-partitions";
39 reg = <0x00000000 0x00040000>;
43 reg = <0x00040000 0x00040000>;
47 reg = <0x00080000 0x00160000>;
51 reg = <0x001E0000 0x00010000>;
55 reg = <0x001F0000 0x00010000>;
175 * cfg = < DIVM1 DIVN P Q R PQR(p,q,r) >;
178 * PRQ(p,q,r) ... for p,q,r: 0-output disabled / 1-output enabled
179 * DIVN ... actually multiplier, but RCC_PLL1CFGR1 calls the field DIVN
180 * m ... for PLL1,2: m=2 ; for PLL3,4: m=1
183 * VCO = ( XTAL / (DIVM1 + 1) ) * m * ( DIVN + 1 + ( f / 8192 ) )
189 /* VCO = 1066.0 MHz => P = 266 (AXI), Q = 533 (GPU), R = 533 (DDR) */
191 compatible = "st,stm32mp1-pll";
193 cfg = < 2 65 1 0 0 PQR(1,1,1) >;
198 /* VCO = 417.8 MHz => P = 209, Q = 24, R = 11 */
200 compatible = "st,stm32mp1-pll";
202 cfg = < 1 33 1 16 36 PQR(1,1,1) >;
207 /* VCO = 594.0 MHz => P = 99, Q = 74, R = 99 */
209 compatible = "st,stm32mp1-pll";
211 cfg = < 3 98 5 7 5 PQR(1,1,1) >;