Loading...
/* * Copyright (c) 2017 Clage GmbH * * SPDX-License-Identifier: Apache-2.0 */ /dts-v1/; #include <st/f0/stm32f072Xb.dtsi> / { model = "STMicroelectronics STM32F072B-DISCO board"; compatible = "st,stm32f072b-disco", "st,stm32f072"; chosen { zephyr,console = &usart1; zephyr,shell-uart = &usart1; zephyr,sram = &sram0; zephyr,flash = &flash0; }; leds { compatible = "gpio-leds"; red_up_led_3: led_3 { gpios = <&gpioc 6 GPIO_INT_ACTIVE_HIGH>; label = "User LD3"; }; yellow_left_4: led_4 { gpios = <&gpioc 8 GPIO_INT_ACTIVE_HIGH>; label = "User LD4"; }; green_right_led_5: led_5 { gpios = <&gpioc 9 GPIO_INT_ACTIVE_HIGH>; label = "User LD5"; }; blue_low_led_6: led_6 { gpios = <&gpioc 7 GPIO_INT_ACTIVE_HIGH>; label = "User LD6"; }; }; gpio_keys { compatible = "gpio-keys"; user_button: button { label = "User"; gpios = <&gpioa 0 GPIO_INT_ACTIVE_LOW>; }; }; aliases { led0 = &red_up_led_3; led1 = &yellow_left_4; led2 = &green_right_led_5; led3 = &blue_low_led_6; sw0 = &user_button; }; }; &usart1 { current-speed = <115200>; status = "okay"; }; &i2c1 { status = "okay"; clock-frequency = <I2C_BITRATE_FAST>; }; &i2c2 { status = "okay"; clock-frequency = <I2C_BITRATE_FAST>; }; &spi1 { status = "okay"; }; &can1 { bus-speed = <125000>; status = "okay"; }; &iwdg { status = "okay"; }; |