2020-06-13 02:40:22 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2019 Linaro Limited
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2020-10-06 04:32:44 +08:00
|
|
|
#include <st/h7/stm32h745zitx-pinctrl.dtsi>
|
2020-06-13 02:40:22 +08:00
|
|
|
#include "arduino_r3_connector.dtsi"
|
2023-08-03 18:52:22 +08:00
|
|
|
#include <zephyr/dt-bindings/input/input-event-codes.h>
|
2020-06-13 02:40:22 +08:00
|
|
|
|
|
|
|
/ {
|
2023-08-04 01:19:00 +08:00
|
|
|
leds: leds {
|
2020-06-13 02:40:22 +08:00
|
|
|
compatible = "gpio-leds";
|
|
|
|
green_led: led_1 {
|
|
|
|
gpios = <&gpiob 0 GPIO_ACTIVE_HIGH>;
|
|
|
|
label = "User LD1";
|
|
|
|
};
|
|
|
|
yellow_led: led_2 {
|
|
|
|
gpios = <&gpioe 1 GPIO_ACTIVE_HIGH>;
|
|
|
|
label = "User LD2";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio_keys {
|
|
|
|
compatible = "gpio-keys";
|
|
|
|
user_button: button_0 {
|
|
|
|
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
|
|
|
|
label = "User SB1";
|
2023-08-03 18:52:22 +08:00
|
|
|
zephyr,code = <INPUT_KEY_0>;
|
2020-06-13 02:40:22 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2021-04-29 20:48:04 +08:00
|
|
|
|
|
|
|
&rcc {
|
|
|
|
d1cpre = <1>;
|
|
|
|
hpre = <2>;
|
|
|
|
d1ppre = <2>;
|
|
|
|
d2ppre1 = <2>;
|
|
|
|
d2ppre2 = <2>;
|
|
|
|
d3ppre = <2>;
|
|
|
|
};
|
2024-01-29 20:41:44 +08:00
|
|
|
|
|
|
|
&mailbox {
|
|
|
|
status = "okay";
|
|
|
|
};
|