summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/stm32mp157a-dk1.dtsi
blob: 3a10ff9cf9b374bc0f50d53d20ec35ff6e4b27e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
/*
 * Copyright (C) STMicroelectronics 2018 - All Rights Reserved
 * Author: Alexandre Torgue <alexandre.torgue@st.com>.
 */

#include "stm32mp151.dtsi"
#include <dt-bindings/gpio/gpio.h>

/ {
	chosen {
		environment {
			compatible = "barebox,environment";
			device-path = &sdmmc1, "partname:barebox-environment";
		};
	};
};

&{/led} {
	red {
		label = "error";
		gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
		default-state = "off";
		status = "okay";
	};
};

&{/led/blue} {
	default-state = "on";
};