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 aliases { 12 sdhc0 = &sdhc; 13 }; 14 15 leds { 16 compatible = "gpio-leds"; 17 red_led: led_0 { 18 gpios = <&gpioi 12 GPIO_ACTIVE_LOW>; 19 }; 20 green_led: led_1 { 21 gpios = <&gpioj 13 GPIO_ACTIVE_LOW>; 22 }; 23 blue_led: led_2 { 24 gpios = <&gpioe 3 GPIO_ACTIVE_LOW>; 25 }; 26 }; 27 28 gpio_keys { 29 compatible = "gpio-keys"; 30 user_button: button_0 { 31 gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>; 32 zephyr,code = <INPUT_KEY_0>; 33 }; 34 }; 35}; 36 37&rcc { 38 d1cpre = <1>; 39 hpre = <2>; 40 d1ppre = <2>; 41 d2ppre1 = <2>; 42 d2ppre2 = <2>; 43 d3ppre = <2>; 44}; 45 46&mailbox { 47 status = "okay"; 48}; 49 50sdhc: &sdmmc1 { 51 compatible = "st,stm32-sdio"; 52 interrupts = <49 0>; 53 interrupt-names = "event"; 54 pinctrl-0 = <&sdmmc1_d0_pc8 &sdmmc1_d1_pc9 55 &sdmmc1_d2_pc10 &sdmmc1_d3_pc11 56 &sdmmc1_ck_pc12 &sdmmc1_cmd_pd2>; 57 pinctrl-names = "default"; 58 sdhi-on-gpios = <&gpiob 10 GPIO_ACTIVE_HIGH>; 59 min-bus-freq = <DT_FREQ_K(400)>; 60 max-bus-freq = <DT_FREQ_M(208)>; 61 hw-flow-control; 62 bus-width = <4>; 63 status = "okay"; 64 65 wifi: airoc-wifi { 66 status = "okay"; 67 compatible = "infineon,airoc-wifi"; 68 wifi-reg-on-gpios = <&gpiob 10 GPIO_ACTIVE_HIGH>; 69 wifi-host-wake-gpios = <&gpioi 8 GPIO_ACTIVE_HIGH>; 70 }; 71}; 72