1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
3 * Copyright (C) 2019 Marek Vasut <marex@denx.de>
6 #include <dt-bindings/clock/stm32mp1-clksrc.h>
7 #include "stm32mp15-u-boot.dtsi"
8 #include "stm32mp15-ddr3-dhsom-2x1Gb-1066-binG.dtsi"
9 #include "stm32mp15-ddr3-dhsom-2x2Gb-1066-binG.dtsi"
10 #include "stm32mp15-ddr3-dhsom-2x4Gb-1066-binG.dtsi"
25 u-boot,boot-led = "heartbeat";
26 u-boot,error-led = "error";
27 st,fastboot-gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
28 st,stm32prog-gpios = <&gpioa 14 GPIO_ACTIVE_LOW>;
29 dh,som-coding-gpios = <&gpiof 12 0>, <&gpiof 13 0>, <&gpiof 15 0>;
30 dh,ddr3-coding-gpios = <&gpioz 6 0>, <&gpioz 7 0>;
36 gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
37 default-state = "off";
46 /* This is actually on FMC2, but we do not have bus driver for that */
47 ksz8851: ks8851mll@64000000 {
48 compatible = "micrel,ks8851-mll";
49 reg = <0x64000000 0x20000>;
65 /* These should bound to FMC2 bus driver, but we do not have one */
66 pinctrl-0 = <&fmc_pins_b &mco2_pins_a>;
67 pinctrl-1 = <&fmc_sleep_pins_b &mco2_sleep_pins_a>;
68 pinctrl-names = "default", "sleep";
72 pinmux = <STM32_PINMUX('G', 2, AF1)>; /* MCO2 */
79 mco2_sleep_pins_a: mco2-sleep-0 {
81 pinmux = <STM32_PINMUX('G', 2, ANALOG)>; /* MCO2 */
190 /* VCO = 1066.0 MHz => P = 266 (AXI), Q = 533 (GPU), R = 533 (DDR) */
192 compatible = "st,stm32mp1-pll";
194 cfg = < 2 65 1 0 0 PQR(1,1,1) >;
199 /* VCO = 417.8 MHz => P = 209, Q = 24, R = 11 */
201 compatible = "st,stm32mp1-pll";
203 cfg = < 1 33 1 16 36 PQR(1,1,1) >;
208 /* VCO = 600.0 MHz => P = 50, Q = 50, R = 50 */
210 compatible = "st,stm32mp1-pll";
212 cfg = < 1 49 5 11 11 PQR(1,1,1) >;
270 /* pull-up on rx to avoid floating level */