1/* 2 * Copyright (c) 2017 Linaro Limited 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <st/f3/stm32f3.dtsi> 8#include <zephyr/dt-bindings/adc/stm32l4_adc.h> 9 10/ { 11 soc { 12 compatible = "st,stm32f334", "st,stm32f3", "simple-bus"; 13 14 timers1: timers@40012c00 { 15 compatible = "st,stm32-timers"; 16 reg = <0x40012c00 0x400>; 17 clocks = <&rcc STM32_CLOCK(APB2, 11U)>; 18 resets = <&rctl STM32_RESET(APB2, 11U)>; 19 interrupts = <24 0>, <25 0>, <26 0>, <27 0>; 20 interrupt-names = "brk", "up", "trgcom", "cc"; 21 st,prescaler = <0>; 22 status = "disabled"; 23 24 pwm { 25 compatible = "st,stm32-pwm"; 26 status = "disabled"; 27 #pwm-cells = <3>; 28 }; 29 }; 30 31 adc1: adc@50000000 { 32 compatible = "st,stm32-adc"; 33 reg = <0x50000000 0x400>; 34 clocks = <&rcc STM32_CLOCK(AHB1, 28U)>; 35 interrupts = <18 0>; 36 status = "disabled"; 37 #io-channel-cells = <1>; 38 resolutions = <STM32_ADC_RES(12, 0x00) 39 STM32_ADC_RES(10, 0x01) 40 STM32_ADC_RES(8, 0x02) 41 STM32_ADC_RES(6, 0x03)>; 42 sampling-times = <2 3 5 8 20 62 182 602>; 43 st,adc-sequencer = "FULLY_CONFIGURABLE"; 44 st,adc-oversampler = "OVERSAMPLER_NONE"; 45 }; 46 47 rtc@40002800 { 48 bbram: backup_regs { 49 compatible = "st,stm32-bbram"; 50 st,backup-regs = <5>; 51 status = "disabled"; 52 }; 53 }; 54 }; 55}; 56 57/delete-node/ &usb; 58