xref: /linux/arch/arm/boot/dts/st/stm32mp157c-emsbc-argon.dts (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2//
3// Copyright (c) 2021 emtrion GmbH
4// Author: Reinhold Müller <reinhold.mueller@emtrion.de>.
5//
6
7/dts-v1/;
8
9#include "stm32mp157c-emstamp-argon.dtsi"
10
11/ {
12	model = "emtrion STM32MP157C emSBC-Argon Developer Board";
13	compatible = "emtrion,stm32mp157c-emsbc-argon", "emtrion,stm32mp157c-emstamp-argon",
14			"st,stm32mp157";
15
16	led: gpio_leds {
17		compatible = "gpio-leds";
18		led-2 {
19			label = "red";
20			gpios = <&gpiof 12 GPIO_ACTIVE_LOW>;
21			linux,default-trigger = "none";
22			default-state = "off";
23		};
24		led-3 {
25			label = "green";
26			gpios = <&gpioe 7 GPIO_ACTIVE_LOW>;
27			linux,default-trigger = "none";
28			default-state = "off";
29		};
30	};
31};
32
33&dac {
34	status = "okay";
35};
36
37&sdmmc1 {
38	pinctrl-names = "default", "opendrain", "sleep";
39	pinctrl-0 = <&sdmmc1_b4_pins_a>;
40	pinctrl-1 = <&sdmmc1_b4_od_pins_a>;
41	pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
42	cd-gpios = <&gpiob 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
43	disable-wp;
44	st,neg-edge;
45	bus-width = <4>;
46	vmmc-supply = <&vdd_sd>;
47	status = "okay";
48};
49
50&spi1 {
51	status = "okay";
52};
53
54