blob: c1e35f2049b116e18c7dddfbf298010c6970c1de [file] [log] [blame]
Marcin Sloniewski83e7c202020-07-08 19:56:22 +02001// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
2/*
3 * Copyright (C) 2020 Marcin Sloniewski <marcin.sloniewski@gmail.com>
4 */
5
6 #include "stm32mp157c-odyssey-som-u-boot.dtsi"
7
8/ {
9 aliases {
10 mmc0 = &sdmmc1;
11 usb0 = &usbotg_hs;
12 };
13 config {
14 u-boot,boot-led = "heartbeat";
15 u-boot,error-led = "error";
16 };
17 led {
18 red {
19 label = "error";
20 gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
21 default-state = "off";
22 status = "okay";
23 };
24 };
25};
26
27&adc {
28 status = "okay";
29};
30
31&sdmmc1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070032 bootph-pre-ram;
Marcin Sloniewski83e7c202020-07-08 19:56:22 +020033};
34
35&sdmmc1_b4_pins_a {
Simon Glassd3a98cb2023-02-13 08:56:33 -070036 bootph-pre-ram;
Marcin Sloniewski83e7c202020-07-08 19:56:22 +020037 pins1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070038 bootph-pre-ram;
Marcin Sloniewski83e7c202020-07-08 19:56:22 +020039 };
40 pins2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070041 bootph-pre-ram;
Marcin Sloniewski83e7c202020-07-08 19:56:22 +020042 };
43};
44
45&uart4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070046 bootph-all;
Marcin Sloniewski83e7c202020-07-08 19:56:22 +020047};
48
49&uart4_pins_a {
Simon Glassd3a98cb2023-02-13 08:56:33 -070050 bootph-all;
Marcin Sloniewski83e7c202020-07-08 19:56:22 +020051 pins1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070052 bootph-all;
Marcin Sloniewski83e7c202020-07-08 19:56:22 +020053 };
54 pins2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070055 bootph-all;
Marcin Sloniewski83e7c202020-07-08 19:56:22 +020056 };
57};
58