blob: 20728f27ee10f6025030d7d3a624ce2ad6108ced [file] [log] [blame]
Patrick Delaunay6cccc8d2022-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
Patrick Delaunay6cccc8d2022-07-05 16:55:57 +02006#include "stm32mp15-scmi-u-boot.dtsi"
Patrick Delaunay6cccc8d2022-07-05 16:55:57 +02007
8/ {
9 aliases {
10 i2c3 = &i2c4;
11 usb0 = &usbotg_hs;
12 };
13
14 config {
15 u-boot,boot-led = "heartbeat";
16 u-boot,error-led = "error";
17 u-boot,mmc-env-partition = "u-boot-env";
18 st,adc_usb_pd = <&adc1 18>, <&adc1 19>;
19 st,fastboot-gpios = <&gpioa 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
20 st,stm32prog-gpios = <&gpioa 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
21 };
22
23 led {
24 red {
25 label = "error";
26 gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
27 default-state = "off";
28 status = "okay";
29 };
30 };
31};
32
33&adc {
34 status = "okay";
35};
36
37&uart4 {
Simon Glass8c103c32023-02-13 08:56:33 -070038 bootph-all;
Patrick Delaunay6cccc8d2022-07-05 16:55:57 +020039};
40
41&uart4_pins_a {
Simon Glass8c103c32023-02-13 08:56:33 -070042 bootph-all;
Patrick Delaunay6cccc8d2022-07-05 16:55:57 +020043 pins1 {
Simon Glass8c103c32023-02-13 08:56:33 -070044 bootph-all;
Patrick Delaunay6cccc8d2022-07-05 16:55:57 +020045 };
46 pins2 {
Simon Glass8c103c32023-02-13 08:56:33 -070047 bootph-all;
Patrick Delaunay6cccc8d2022-07-05 16:55:57 +020048 /* pull-up on rx to avoid floating level */
49 bias-pull-up;
50 };
51};
52
53&usbotg_hs {
54 u-boot,force-b-session-valid;
55};