1/*
2 * Copyright (c) 2024 S&C Electric Company <Michael.Banducci@sandc.com>
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include <st/h7/stm32h755zitx-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 = <&gpioa 5 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		red_led: led_3 {
23			gpios = <&gpiob 14 GPIO_ACTIVE_HIGH>;
24			label = "User LD3";
25		};
26	};
27
28	gpio_keys {
29		compatible = "gpio-keys";
30		user_button: button_0 {
31			gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
32			label = "User SB1";
33			zephyr,code = <INPUT_KEY_0>;
34		};
35	};
36};
37
38&rcc {
39	d1cpre = <1>;
40	hpre = <2>;
41	d1ppre = <2>;
42	d2ppre1 = <2>;
43	d2ppre2 = <2>;
44	d3ppre = <2>;
45};
46
47&mailbox {
48	status = "okay";
49};
50