/* * Copyright (c) 2025 Eduard Iten * * SPDX-License-Identifier: Apache-2.0 */ /dts-v1/; #include #include #include #include / { model = "Blue-Pill STM32F103RB"; compatible = "iten,bluepill-f103rb"; chosen { zephyr,console = &usart1; zephyr,shell-uart = &usart1; zephyr,sram = &sram0; zephyr,flash = &flash0; }; leds { compatible = "gpio-leds"; led_status: led_status { gpios = <&gpioc 13 GPIO_ACTIVE_LOW>; label = "User LED"; }; }; aliases { led0 = &led_status; watchdog0 = &iwdg; }; }; &clk_lsi { status = "okay"; }; &clk_hse { clock-frequency = ; status = "okay"; }; &pll { mul = <9>; clocks = <&clk_hse>; status = "okay"; }; &rcc { clocks = <&pll>; clock-frequency = ; ahb-prescaler = <1>; apb1-prescaler = <2>; apb2-prescaler = <1>; adc-prescaler = <6>; }; &usart1 { pinctrl-0 = <&usart1_tx_pa9 &usart1_rx_pa10>; pinctrl-names = "default"; current-speed = <115200>; status = "okay"; }; &iwdg { status = "okay"; }; &clk_lsi { status = "okay"; }; &clk_hse { clock-frequency = ; status = "okay"; }; &pll { mul = <9>; clocks = <&clk_hse>; status = "okay"; }; &rcc { clocks = <&pll>; clock-frequency = ; ahb-prescaler = <1>; apb1-prescaler = <2>; apb2-prescaler = <1>; adc-prescaler = <6>; }; &exti { status = "okay"; }; &dma1 { status = "okay"; };