2017-03-06 18:11:19 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2017 I-SENSE group of ICCS
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2017-07-24 20:00:55 +08:00
|
|
|
#include <st/stm32f1.dtsi>
|
2018-03-15 22:52:57 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
soc {
|
|
|
|
uart4: serial@40004c00 {
|
|
|
|
compatible = "st,stm32-uart";
|
|
|
|
reg = <0x40004c00 0x400>;
|
|
|
|
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00080000>;
|
|
|
|
interrupts = <52 0>;
|
|
|
|
status = "disabled";
|
|
|
|
label = "UART_4";
|
|
|
|
};
|
2018-03-01 05:16:00 +08:00
|
|
|
|
|
|
|
timers5: timers@40000c00 {
|
|
|
|
compatible = "st,stm32-timers";
|
|
|
|
reg = <0x40000c00 0x400>;
|
|
|
|
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00000008>;
|
|
|
|
status = "disabled";
|
|
|
|
label = "TIMERS_5";
|
|
|
|
|
|
|
|
pwm {
|
|
|
|
compatible = "st,stm32-pwm";
|
|
|
|
status = "disabled";
|
|
|
|
st,prescaler = <0>;
|
|
|
|
label = "PWM_5";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
timers6: timers@40001000 {
|
|
|
|
compatible = "st,stm32-timers";
|
|
|
|
reg = <0x40001000 0x400>;
|
|
|
|
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00000010>;
|
|
|
|
status = "disabled";
|
|
|
|
label = "TIMERS_6";
|
|
|
|
|
|
|
|
pwm {
|
|
|
|
compatible = "st,stm32-pwm";
|
|
|
|
status = "disabled";
|
|
|
|
st,prescaler = <10000>;
|
|
|
|
label = "PWM_6";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
timers7: timers@40001400 {
|
|
|
|
compatible = "st,stm32-timers";
|
|
|
|
reg = <0x40001400 0x400>;
|
|
|
|
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00000020>;
|
|
|
|
status = "disabled";
|
|
|
|
label = "TIMERS_7";
|
|
|
|
|
|
|
|
pwm {
|
|
|
|
compatible = "st,stm32-pwm";
|
|
|
|
status = "disabled";
|
|
|
|
st,prescaler = <10000>;
|
|
|
|
label = "PWM_7";
|
|
|
|
};
|
|
|
|
};
|
2018-03-15 22:52:57 +08:00
|
|
|
};
|
|
|
|
};
|