Newer
Older
barebox / arch / arm / dts / stm32mp157a-dk1.dtsi
@Ahmad Fatoum Ahmad Fatoum on 13 Nov 2019 555 bytes ARM: dts: stm32mp: move alias to SoC device tree
// 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 "stm32mp157c.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";
		};

		blue {
			default-state = "on";
		};
	};
};