54 lines
1012 B
Plaintext
54 lines
1012 B
Plaintext
|
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
|
||
|
/*
|
||
|
* Copyright (C) STMicroelectronics 2017 - All Rights Reserved
|
||
|
* Author: Alexandre Torgue <alexandre.torgue@st.com> for STMicroelectronics.
|
||
|
*/
|
||
|
|
||
|
/dts-v1/;
|
||
|
|
||
|
#include "stm32mp157f-ev1.dts"
|
||
|
#include <dt-bindings/input/input.h>
|
||
|
|
||
|
/ {
|
||
|
model = "STMicroelectronics STM32MP157F-EV1 configured to run Linux A7 examples";
|
||
|
compatible = "st,stm32mp157f-ev1-a7-examples", "st,stm32mp157f-ev1", "st,stm32mp157f-ed1", "st,stm32mp157";
|
||
|
|
||
|
test_keys {
|
||
|
compatible = "gpio-keys";
|
||
|
#address-cells = <1>;
|
||
|
#size-cells = <0>;
|
||
|
autorepeat;
|
||
|
status = "okay";
|
||
|
/* gpio needs vdd core in retention for wakeup */
|
||
|
power-domains = <&pd_core_ret>;
|
||
|
|
||
|
button@1 {
|
||
|
label = "PA13";
|
||
|
linux,code = <BTN_1>;
|
||
|
interrupts-extended = <&gpioa 13 IRQ_TYPE_EDGE_FALLING>;
|
||
|
status = "okay";
|
||
|
wakeup-source;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
&adc {
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
&dac {
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
&timers2 {
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
&timers8 {
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
&timers12 {
|
||
|
status = "okay";
|
||
|
};
|