Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 | /* SPDX-License-Identifier: Apache-2.0 * * Copyright (c) 2020 Google, LLC * * SoC device tree include for STM32F103xG SoCs * where 'x' is replaced for specific SoCs like {R,V,Z} */ #include <mem.h> #include <st/f1/stm32f103Xe.dtsi> / { sram0: memory@20000000 { reg = <0x20000000 DT_SIZE_K(96)>; }; soc { flash-controller@40022000 { flash0: flash@8000000 { /* Note that there are actually two banks of * flash (512KB each) and two flash controllers. * This matters if you're doing in-application * flash programming and you need the * read-while-write capabilities, but is * otherwise a non-issue. */ reg = <0x08000000 DT_SIZE_K(1024)>; erase-block-size = <DT_SIZE_K(2)>; }; }; timers9: timers@40014c00 { compatible = "st,stm32-timers"; reg = <0x40014c00 0x400>; clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00080000>; /* Shared with TIM1_BRK */ interrupts = <24 0>; status = "disabled"; label = "TIMERS_9"; pwm { compatible = "st,stm32-pwm"; status = "disabled"; st,prescaler = <10000>; label = "PWM_9"; #pwm-cells = <3>; }; }; timers10: timers@40015000 { compatible = "st,stm32-timers"; reg = <0x40015000 0x400>; clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00100000>; /* Shared with TIM1_UP */ interrupts = <25 0>; status = "disabled"; label = "TIMERS_10"; pwm { compatible = "st,stm32-pwm"; status = "disabled"; st,prescaler = <10000>; label = "PWM_10"; #pwm-cells = <3>; }; }; timers11: timers@40015400 { compatible = "st,stm32-timers"; reg = <0x40015400 0x400>; clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00200000>; /* Shared with TIM1_TRG_COM */ interrupts = <26 0>; status = "disabled"; label = "TIMERS_11"; pwm { compatible = "st,stm32-pwm"; status = "disabled"; st,prescaler = <10000>; label = "PWM_11"; #pwm-cells = <3>; }; }; timers12: timers@40001800 { compatible = "st,stm32-timers"; reg = <0x40001800 0x400>; clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00000040>; /* Shared with TIM8_BRK */ interrupts = <43 0>; status = "disabled"; label = "TIMERS_12"; pwm { compatible = "st,stm32-pwm"; status = "disabled"; st,prescaler = <10000>; label = "PWM_12"; #pwm-cells = <3>; }; }; timers13: timers@40001c00 { compatible = "st,stm32-timers"; reg = <0x40001c00 0x400>; clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00000080>; /* Shared with TIM8_UP */ interrupts = <44 0>; status = "disabled"; label = "TIMERS_13"; pwm { compatible = "st,stm32-pwm"; status = "disabled"; st,prescaler = <10000>; label = "PWM_13"; #pwm-cells = <3>; }; }; timers14: timers@40002000 { compatible = "st,stm32-timers"; reg = <0x40002000 0x400>; clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00000100>; /* Shared with TIM8_TRG_COM */ interrupts = <45 0>; status = "disabled"; label = "TIMERS_14"; pwm { compatible = "st,stm32-pwm"; status = "disabled"; st,prescaler = <10000>; label = "PWM_14"; #pwm-cells = <3>; }; }; }; }; |