blob: f004e9840a2e1a964e81e2608e3d662dcf09f533 [file] [log] [blame]
Patrick Delaunaye063f892022-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 Delaunayc7e62512022-06-30 10:20:18 +020014 u-boot,boot-led = "led-blue";
15 u-boot,error-led = "led-red";
Patrick Delaunaye063f892022-05-20 18:24:52 +020016 u-boot,mmc-env-partition = "u-boot-env";
17 };
Patrick Delaunayc7e62512022-06-30 10:20:18 +020018
Patrice Chotard52a9df32024-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 Delaunayc7e62512022-06-30 10:20:18 +020032 leds {
Patrice Chotard04b059c2024-04-09 17:01:58 +020033 led-blue {
34 /delete-property/default-state;
35 };
36
Patrick Delaunayc7e62512022-06-30 10:20:18 +020037 led-red {
Patrick Delaunayc7e62512022-06-30 10:20:18 +020038 gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
Patrick Delaunayc7e62512022-06-30 10:20:18 +020039 };
40 };
Patrick Delaunaye063f892022-05-20 18:24:52 +020041};
42
43&uart4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070044 bootph-all;
Patrick Delaunaye063f892022-05-20 18:24:52 +020045};
46
47&uart4_pins_a {
Simon Glassd3a98cb2023-02-13 08:56:33 -070048 bootph-all;
Patrick Delaunaye063f892022-05-20 18:24:52 +020049 pins1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070050 bootph-all;
Patrick Delaunaye063f892022-05-20 18:24:52 +020051 };
52 pins2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070053 bootph-all;
Patrick Delaunaye063f892022-05-20 18:24:52 +020054 };
55};
Fabrice Gasnierd0e5c272023-09-26 17:09:19 +020056
57&usbotg_hs {
58 u-boot,force-b-session-valid;
59};