1/* 2 * Copyright (c) 2019 Linaro Limited 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <st/h7/stm32h745zitx-pinctrl.dtsi> 8#include "arduino_r3_connector.dtsi" 9#include <zephyr/dt-bindings/input/input-event-codes.h> 10 11/ { 12 leds: leds { 13 compatible = "gpio-leds"; 14 green_led: led_1 { 15 gpios = <&gpiob 0 GPIO_ACTIVE_HIGH>; 16 label = "User LD1"; 17 }; 18 yellow_led: led_2 { 19 gpios = <&gpioe 1 GPIO_ACTIVE_HIGH>; 20 label = "User LD2"; 21 }; 22 }; 23 24 gpio_keys { 25 compatible = "gpio-keys"; 26 user_button: button_0 { 27 gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>; 28 label = "User SB1"; 29 zephyr,code = <INPUT_KEY_0>; 30 }; 31 }; 32}; 33 34&rcc { 35 d1cpre = <1>; 36 hpre = <2>; 37 d1ppre = <2>; 38 d2ppre1 = <2>; 39 d2ppre2 = <2>; 40 d3ppre = <2>; 41}; 42 43&mailbox { 44 status = "okay"; 45}; 46