/* * Copyright (c) 2024 S&C Electric Company * * SPDX-License-Identifier: Apache-2.0 */ #include #include "arduino_r3_connector.dtsi" #include / { leds: leds { compatible = "gpio-leds"; green_led: led_1 { gpios = <&gpioa 5 GPIO_ACTIVE_HIGH>; label = "User LD1"; }; yellow_led: led_2 { gpios = <&gpioe 1 GPIO_ACTIVE_HIGH>; label = "User LD2"; }; red_led: led_3 { gpios = <&gpiob 14 GPIO_ACTIVE_HIGH>; label = "User LD3"; }; }; gpio_keys { compatible = "gpio-keys"; user_button: button_0 { gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>; label = "User SB1"; zephyr,code = ; }; }; }; &rcc { d1cpre = <1>; hpre = <2>; d1ppre = <2>; d2ppre1 = <2>; d2ppre2 = <2>; d3ppre = <2>; }; &mailbox { status = "okay"; };