zephyr/boards/arm/nucleo_l152re/nucleo_l152re.dts
Ilya Tagunov 3dc6ee048d boards: nucleo_l073rz/l152re: use node labels in DAC samples and tests
Use node labels instead of aliases to select ADC and DAC instance
in samples and tests.

Signed-off-by: Ilya Tagunov <tagunil@gmail.com>
2020-06-12 11:06:44 +02:00

69 lines
995 B
Plaintext

/*
* Copyright (c) 2019 Antony Pavlov <antonynpavlov@gmail.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include <st/l1/stm32l152Xe.dtsi>
#include "arduino_r3_connector.dtsi"
/ {
model = "STMicroelectronics STM32L152RE-NUCLEO board";
compatible = "st,stm32l152re-nucleo", "st,stm32l152";
chosen {
zephyr,console = &usart2;
zephyr,shell-uart = &usart2;
zephyr,sram = &sram0;
zephyr,flash = &flash0;
};
leds {
compatible = "gpio-leds";
green_led_0: led_0 {
gpios = <&gpioa 5 GPIO_ACTIVE_LOW>;
label = "User LD2";
};
};
gpio_keys {
compatible = "gpio-keys";
user_button: button {
label = "User";
gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
};
};
aliases {
led0 = &green_led_0;
sw0 = &user_button;
eeprom-0 = &eeprom;
};
};
&usart2 {
current-speed = <115200>;
status = "okay";
};
&i2c1 {
status = "okay";
};
&eeprom {
status = "okay";
};
&iwdg {
status = "okay";
};
&adc1 {
status = "okay";
};
&dac1 {
status = "okay";
};