blob: 8f42735609a66be9f5ca81da9ea086334e879c29 [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 {
Patrice Chotard1e26c202024-04-09 17:01:58 +020033 led-blue {
34 /delete-property/default-state;
35 };
36
Patrick Delaunay6d647672022-06-30 10:20:18 +020037 led-red {
38 color = <LED_COLOR_ID_RED>;
39 gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
Patrick Delaunay6d647672022-06-30 10:20:18 +020040 };
41 };
Patrick Delaunay44abcf62022-05-20 18:24:52 +020042};
43
44&uart4 {
Simon Glass8c103c32023-02-13 08:56:33 -070045 bootph-all;
Patrick Delaunay44abcf62022-05-20 18:24:52 +020046};
47
48&uart4_pins_a {
Simon Glass8c103c32023-02-13 08:56:33 -070049 bootph-all;
Patrick Delaunay44abcf62022-05-20 18:24:52 +020050 pins1 {
Simon Glass8c103c32023-02-13 08:56:33 -070051 bootph-all;
Patrick Delaunay44abcf62022-05-20 18:24:52 +020052 };
53 pins2 {
Simon Glass8c103c32023-02-13 08:56:33 -070054 bootph-all;
Patrick Delaunay44abcf62022-05-20 18:24:52 +020055 };
56};
Fabrice Gasnier46b4d6f2023-09-26 17:09:19 +020057
58&usbotg_hs {
59 u-boot,force-b-session-valid;
60};