1/* 2 * Copyright (c) 2019 Linaro Ltd. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/dts-v1/; 8#include <st/mp1/stm32mp157.dtsi> 9#include <st/mp1/stm32mp157aacx-pinctrl.dtsi> 10 11/ { 12 model = "Arrow Electronics STM32MP157A Avenger96 board"; 13 compatible = "arrow,stm32mp157a-avenger96"; 14 15 chosen { 16 /* 17 * By default, Zephyr console and shell are assigned to 18 * remoteproc. To enable console and shell over UART, uncomment 19 * following lines and set the correct config in 20 * 96b_avenger96_defconfig. Refer "Serial Port" section in 21 * Zephyr board documentation. 22 * zephyr,console = &uart7; 23 * zephyr,shell-uart = &uart7; 24 */ 25 zephyr,flash = &retram; 26 zephyr,sram = &mcusram; 27 }; 28 29 leds { 30 compatible = "gpio-leds"; 31 green_led_0: led_0 { 32 gpios = <&gpiof 3 GPIO_ACTIVE_HIGH>; 33 label = "USR0 LED"; 34 }; 35 green_led_1: led_1 { 36 gpios = <&gpiog 0 GPIO_ACTIVE_HIGH>; 37 label = "USR1 LED"; 38 }; 39 green_led_2: led_2 { 40 gpios = <&gpiog 1 GPIO_ACTIVE_HIGH>; 41 label = "USR2 LED"; 42 }; 43 }; 44 45 aliases { 46 led0 = &green_led_0; 47 led1 = &green_led_1; 48 led2 = &green_led_2; 49 }; 50}; 51 52&rcc { 53 clock-frequency = <DT_FREQ_M(209)>; 54}; 55 56&mailbox { 57 status = "okay"; 58}; 59 60&uart4 { 61 pinctrl-0 = <&uart4_tx_pd1 &uart4_rx_pb2>; 62 pinctrl-names = "default"; 63 current-speed = <115200>; 64 status = "okay"; 65}; 66 67&uart7 { 68 pinctrl-0 = <&uart7_tx_pe8 &uart7_rx_pe7>; 69 pinctrl-names = "default"; 70 current-speed = <115200>; 71 status = "okay"; 72}; 73