/* * Copyright (c) 2024 STMicroelectronics * * SPDX-License-Identifier: Apache-2.0 */ /dts-v1/; #include #include #include "arduino_r3_connector.dtsi" #include / { model = "STMicroelectronics STM32U83C-DK board"; compatible = "st,stm32u083c-dk"; #address-cells = <1>; #size-cells = <1>; chosen { zephyr,console = &usart2; zephyr,shell-uart = &usart2; zephyr,sram = &sram0; zephyr,flash = &flash0; }; leds: leds { compatible = "gpio-leds"; green_led_1: led_3 { gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>; label = "User LD3"; }; }; aliases { led0 = &green_led_1; }; }; &usart1 { pinctrl-0 = <&usart1_tx_pa9 &usart1_rx_pa10>; pinctrl-names = "default"; current-speed = <115200>; status = "okay"; }; &usart2 { pinctrl-0 = <&usart2_tx_pa2 &usart2_rx_pa3>; pinctrl-names = "default"; current-speed = <115200>; status = "okay"; }; &clk_hsi { status = "okay"; }; &pll { div-m = <1>; mul-n = <6>; div-p = <2>; div-q = <2>; div-r = <2>; clocks = <&clk_hsi>; status = "okay"; }; &rcc { clocks = <&pll>; clock-frequency = ; ahb-prescaler = <1>; apb1-prescaler = <1>; }; &adc1 { pinctrl-0 = <&adc1_in0_pc0 &adc1_in1_pc1>; pinctrl-names = "default"; st,adc-clock-source = "ASYNC"; clocks = <&rcc STM32_CLOCK_BUS_APB1_2 0x00100000>, <&rcc STM32_SRC_HSI ADC_SEL(2)>; st,adc-prescaler = <4>; status = "okay"; vref-mv = <3300>; }; &dac1 { status = "okay"; pinctrl-0 = <&dac1_out1_pa4>; pinctrl-names = "default"; }; &i2c1 { pinctrl-0 = <&i2c1_scl_pa9 &i2c1_sda_pa10>; pinctrl-names = "default"; status = "okay"; clock-frequency = ; }; &i2c2 { pinctrl-0 = <&i2c2_scl_pa7 &i2c2_sda_pa6>; pinctrl-names = "default"; status = "okay"; clock-frequency = ; }; &timers1 { st,prescaler = <10000>; status = "okay"; pwm1: pwm { status = "okay"; pinctrl-0 = <&tim1_ch1_pa8>; pinctrl-names = "default"; }; }; &timers2 { st,prescaler = <10000>; status = "okay"; pwm2: pwm { pinctrl-0 = <&tim2_ch1_pa5>; pinctrl-names = "default"; status = "okay"; }; };