Marcin Sloniewski | 83e7c20 | 2020-07-08 19:56:22 +0200 | [diff] [blame] | 1 | // 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 Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 32 | bootph-pre-ram; |
Marcin Sloniewski | 83e7c20 | 2020-07-08 19:56:22 +0200 | [diff] [blame] | 33 | }; |
34 | |||||
35 | &sdmmc1_b4_pins_a { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 36 | bootph-pre-ram; |
Marcin Sloniewski | 83e7c20 | 2020-07-08 19:56:22 +0200 | [diff] [blame] | 37 | pins1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 38 | bootph-pre-ram; |
Marcin Sloniewski | 83e7c20 | 2020-07-08 19:56:22 +0200 | [diff] [blame] | 39 | }; |
40 | pins2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 41 | bootph-pre-ram; |
Marcin Sloniewski | 83e7c20 | 2020-07-08 19:56:22 +0200 | [diff] [blame] | 42 | }; |
43 | }; | ||||
44 | |||||
45 | &uart4 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 46 | bootph-all; |
Marcin Sloniewski | 83e7c20 | 2020-07-08 19:56:22 +0200 | [diff] [blame] | 47 | }; |
48 | |||||
49 | &uart4_pins_a { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 50 | bootph-all; |
Marcin Sloniewski | 83e7c20 | 2020-07-08 19:56:22 +0200 | [diff] [blame] | 51 | pins1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 52 | bootph-all; |
Marcin Sloniewski | 83e7c20 | 2020-07-08 19:56:22 +0200 | [diff] [blame] | 53 | }; |
54 | pins2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 55 | bootph-all; |
Marcin Sloniewski | 83e7c20 | 2020-07-08 19:56:22 +0200 | [diff] [blame] | 56 | }; |
57 | }; | ||||
58 |