blob: 4d763bd3a2c598aa84c6b431030681548297af0f [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 };
12
13 config {
14 u-boot,boot-led = "heartbeat";
15 u-boot,error-led = "error";
16 u-boot,mmc-env-partition = "u-boot-env";
17 st,fastboot-gpios = <&gpioa 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
18 st,stm32prog-gpios = <&gpioa 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
19 };
20
21 led {
22 red {
23 label = "error";
24 gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
25 default-state = "off";
26 status = "okay";
27 };
28 };
29};
30
31&uart4 {
Simon Glass8c103c32023-02-13 08:56:33 -070032 bootph-all;
Patrick Delaunay6cccc8d2022-07-05 16:55:57 +020033};
34
35&uart4_pins_a {
Simon Glass8c103c32023-02-13 08:56:33 -070036 bootph-all;
Patrick Delaunay6cccc8d2022-07-05 16:55:57 +020037 pins1 {
Simon Glass8c103c32023-02-13 08:56:33 -070038 bootph-all;
Patrick Delaunay6cccc8d2022-07-05 16:55:57 +020039 };
40 pins2 {
Simon Glass8c103c32023-02-13 08:56:33 -070041 bootph-all;
Patrick Delaunay6cccc8d2022-07-05 16:55:57 +020042 /* pull-up on rx to avoid floating level */
43 bias-pull-up;
44 };
45};