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 {
32	u-boot,dm-spl;
33};
34
35&sdmmc1_b4_pins_a {
36	u-boot,dm-spl;
37	pins1 {
38		u-boot,dm-spl;
39	};
40	pins2 {
41		u-boot,dm-spl;
42	};
43};
44
45&uart4 {
46	u-boot,dm-pre-reloc;
47};
48
49&uart4_pins_a {
50	u-boot,dm-pre-reloc;
51	pins1 {
52		u-boot,dm-pre-reloc;
53	};
54	pins2 {
55		u-boot,dm-pre-reloc;
56	};
57};
58
59