1/*
2 * Copyright 2023 Google LLC
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include "arduino_r3_connector.dtsi"
8#include <zephyr/dt-bindings/input/input-event-codes.h>
9
10/ {
11	leds {
12		compatible = "gpio-leds";
13		red_led: led_0 {
14			gpios = <&gpioi 12 GPIO_ACTIVE_LOW>;
15		};
16		green_led: led_1 {
17			gpios = <&gpioj 13 GPIO_ACTIVE_LOW>;
18		};
19		blue_led: led_2 {
20			gpios = <&gpioe 3 GPIO_ACTIVE_LOW>;
21		};
22	};
23
24	gpio_keys {
25		compatible = "gpio-keys";
26		user_button: button_0 {
27			gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
28			zephyr,code = <INPUT_KEY_0>;
29		};
30	};
31};
32
33&rcc {
34	d1cpre = <1>;
35	hpre = <2>;
36	d1ppre = <2>;
37	d2ppre1 = <2>;
38	d2ppre2 = <2>;
39	d3ppre = <2>;
40};
41
42&mailbox {
43	status = "okay";
44};
45