blob: 1209dfe009c980493ccd092e46eb8fab3648f5ce [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"
Patrick Delaunayddba40a2022-07-05 16:55:57 +02008
9/ {
10 aliases {
11 i2c3 = &i2c4;
12 usb0 = &usbotg_hs;
13 };
14
15 config {
16 u-boot,boot-led = "heartbeat";
17 u-boot,error-led = "error";
18 u-boot,mmc-env-partition = "u-boot-env";
19 st,adc_usb_pd = <&adc1 18>, <&adc1 19>;
20 st,fastboot-gpios = <&gpioa 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
21 st,stm32prog-gpios = <&gpioa 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
22 };
23
24 led {
25 red {
26 label = "error";
27 gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
28 default-state = "off";
29 status = "okay";
30 };
31 };
32};
33
34&adc {
35 status = "okay";
36};
37
38&uart4 {
39 u-boot,dm-pre-reloc;
40};
41
42&uart4_pins_a {
43 u-boot,dm-pre-reloc;
44 pins1 {
45 u-boot,dm-pre-reloc;
46 };
47 pins2 {
48 u-boot,dm-pre-reloc;
49 /* pull-up on rx to avoid floating level */
50 bias-pull-up;
51 };
52};
53
54&usbotg_hs {
55 u-boot,force-b-session-valid;
56};