forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path96b_avenger96_stm32mp157cxx.dts
72 lines (63 loc) · 1.42 KB
/
96b_avenger96_stm32mp157cxx.dts
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/*
* Copyright (c) 2019 Linaro Ltd.
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include <st/mp1/stm32mp157.dtsi>
#include <st/mp1/stm32mp157aacx-pinctrl.dtsi>
/ {
model = "Arrow Electronics STM32MP157A Avenger96 board";
compatible = "arrow,stm32mp157a-avenger96";
chosen {
/*
* By default, Zephyr console and shell are assigned to
* remoteproc. To enable console and shell over UART, uncomment
* following lines and set the correct config in
* 96b_avenger96_stm32mp157cxx_defconfig. Refer "Serial Port" section in
* Zephyr board documentation.
* zephyr,console = &uart7;
* zephyr,shell-uart = &uart7;
*/
zephyr,flash = &retram;
zephyr,sram = &mcusram;
};
leds {
compatible = "gpio-leds";
green_led_0: led_0 {
gpios = <&gpiof 3 GPIO_ACTIVE_HIGH>;
label = "USR0 LED";
};
green_led_1: led_1 {
gpios = <&gpiog 0 GPIO_ACTIVE_HIGH>;
label = "USR1 LED";
};
green_led_2: led_2 {
gpios = <&gpiog 1 GPIO_ACTIVE_HIGH>;
label = "USR2 LED";
};
};
aliases {
led0 = &green_led_0;
led1 = &green_led_1;
led2 = &green_led_2;
};
};
&rcc {
clock-frequency = <DT_FREQ_M(209)>;
};
&mailbox {
status = "okay";
};
&uart4 {
pinctrl-0 = <&uart4_tx_pd1 &uart4_rx_pb2>;
pinctrl-names = "default";
current-speed = <115200>;
status = "okay";
};
&uart7 {
pinctrl-0 = <&uart7_tx_pe8 &uart7_rx_pe7>;
pinctrl-names = "default";
current-speed = <115200>;
status = "okay";
};