blob: e64ded134620e56760bffbede8c54e548bf3d8d4 [file] [log] [blame]
Patrick Delaunay44abcf62022-05-20 18:24:52 +02001// SPDX-License-Identifier: GPL-2.0-or-later OR BSD-3-Clause
2/*
3 * Copyright (C) 2022, STMicroelectronics - All Rights Reserved
4 */
5
6#include "stm32mp13-u-boot.dtsi"
7
8/ {
9 aliases {
10 mmc0 = &sdmmc1;
11 };
12
13 config {
Patrick Delaunay6d647672022-06-30 10:20:18 +020014 u-boot,boot-led = "led-blue";
15 u-boot,error-led = "led-red";
Patrick Delaunay44abcf62022-05-20 18:24:52 +020016 u-boot,mmc-env-partition = "u-boot-env";
17 };
Patrick Delaunay6d647672022-06-30 10:20:18 +020018
Patrice Chotard485798d2024-04-09 17:01:57 +020019 gpio-keys {
20 button-user-1 {
21 label = "User-1";
22 linux,code = <BTN_2>;
23 gpios = <&gpioa 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
24 };
25
26 button-user {
27 /* update label to match the label requested in board_key_check() */
28 label = "User-2";
29 };
30 };
31
Patrick Delaunay6d647672022-06-30 10:20:18 +020032 leds {
33 led-red {
34 color = <LED_COLOR_ID_RED>;
35 gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
36 default-state = "off";
37 };
38 };
Patrick Delaunay44abcf62022-05-20 18:24:52 +020039};
40
41&uart4 {
Simon Glass8c103c32023-02-13 08:56:33 -070042 bootph-all;
Patrick Delaunay44abcf62022-05-20 18:24:52 +020043};
44
45&uart4_pins_a {
Simon Glass8c103c32023-02-13 08:56:33 -070046 bootph-all;
Patrick Delaunay44abcf62022-05-20 18:24:52 +020047 pins1 {
Simon Glass8c103c32023-02-13 08:56:33 -070048 bootph-all;
Patrick Delaunay44abcf62022-05-20 18:24:52 +020049 };
50 pins2 {
Simon Glass8c103c32023-02-13 08:56:33 -070051 bootph-all;
Patrick Delaunay44abcf62022-05-20 18:24:52 +020052 };
53};
Fabrice Gasnier46b4d6f2023-09-26 17:09:19 +020054
55&usbotg_hs {
56 u-boot,force-b-session-valid;
57};