blob: 2db045e7cec692f11824c6b9af45e32c7fb3bb7e [file] [log] [blame]
Patrick Delaunayddba40a2022-07-05 16:55:57 +02001// SPDX-License-Identifier: GPL-2.0-or-later OR BSD-3-Clause
2/*
3 * Copyright : STMicroelectronics 2022
4 */
5
6#include <dt-bindings/clock/stm32mp1-clksrc.h>
7#include "stm32mp15-scmi-u-boot.dtsi"
8#include "stm32mp15-ddr3-1x4Gb-1066-binG.dtsi"
9
10/ {
11 aliases {
12 i2c3 = &i2c4;
13 usb0 = &usbotg_hs;
14 };
15
16 config {
17 u-boot,boot-led = "heartbeat";
18 u-boot,error-led = "error";
19 u-boot,mmc-env-partition = "u-boot-env";
20 st,adc_usb_pd = <&adc1 18>, <&adc1 19>;
21 st,fastboot-gpios = <&gpioa 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
22 st,stm32prog-gpios = <&gpioa 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
23 };
24
25 led {
26 red {
27 label = "error";
28 gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
29 default-state = "off";
30 status = "okay";
31 };
32 };
33};
34
35&adc {
36 status = "okay";
37};
38
39&uart4 {
40 u-boot,dm-pre-reloc;
41};
42
43&uart4_pins_a {
44 u-boot,dm-pre-reloc;
45 pins1 {
46 u-boot,dm-pre-reloc;
47 };
48 pins2 {
49 u-boot,dm-pre-reloc;
50 /* pull-up on rx to avoid floating level */
51 bias-pull-up;
52 };
53};
54
55&usbotg_hs {
56 u-boot,force-b-session-valid;
57};