blob: 173e64e04c1ba5ae8355f853a556291b27e5b780 (
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} {
led-red {
label = "error";
gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
default-state = "off";
status = "okay";
};
};
&{/led/led-blue} {
default-state = "on";
};
|