Some files made it through review process with full license header. Change-Id: I2722b127c40b4b19500042c12e4fde85a165bae9 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
148 lines
2.7 KiB
Text
148 lines
2.7 KiB
Text
/*
|
|
* Copyright (c) 2016 Linaro Limited.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include "armv7-m.dtsi"
|
|
|
|
/ {
|
|
|
|
sram0: memory {
|
|
reg = <0x20000000 0x18000>;
|
|
};
|
|
|
|
flash0: flash {
|
|
reg = <0x08000000 0x100000>;
|
|
};
|
|
|
|
clocks {
|
|
clk_hse: clk-hse {
|
|
#clock-cells = <0>;
|
|
compatible = "fixed-clock";
|
|
clock-frequency = <0>;
|
|
};
|
|
};
|
|
|
|
soc {
|
|
usart1: uart@40013800 {
|
|
compatible = "st,stm32-usart", "st,stm32-uart";
|
|
reg = <0x40013800 0x400>;
|
|
interrupts = <37>;
|
|
zephyr,irq-prio = <0>;
|
|
baud-rate = <115200>;
|
|
status = "disabled";
|
|
};
|
|
|
|
usart2: uart@40004400 {
|
|
compatible = "st,stm32-usart", "st,stm32-uart";
|
|
reg = <0x40004400 0x400>;
|
|
interrupts = <38>;
|
|
zephyr,irq-prio = <0>;
|
|
baud-rate = <115200>;
|
|
status = "disabled";
|
|
};
|
|
|
|
usart3: uart@40004800 {
|
|
compatible = "st,stm32-usart", "st,stm32-uart";
|
|
reg = <0x40004800 0x400>;
|
|
interrupts = <39>;
|
|
zephyr,irq-prio = <0>;
|
|
baud-rate = <115200>;
|
|
status = "disabled";
|
|
};
|
|
|
|
uart4: uart@40004c00 {
|
|
compatible = "st,stm32-uart";
|
|
reg = <0x40004c00 0x400>;
|
|
interrupts = <52>;
|
|
zephyr,irq-prio = <0>;
|
|
baud-rate = <115200>;
|
|
status = "disabled";
|
|
};
|
|
|
|
uart5: uart@40005000 {
|
|
compatible = "st,stm32-uart";
|
|
reg = <0x40005000 0x400>;
|
|
interrupts = <53>;
|
|
zephyr,irq-prio = <0>;
|
|
baud-rate = <115200>;
|
|
status = "disabled";
|
|
};
|
|
|
|
syscfg: system-config@40010000 {
|
|
compatible = "syscon";
|
|
reg = <0x40013800 0x400>;
|
|
};
|
|
|
|
pin-controller {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "st,stm32l4xx-pinctrl";
|
|
ranges = <0 0x48000000 0x2000>;
|
|
pins-are-numbered;
|
|
|
|
gpioa: gpio@48000000 {
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
reg = <0x0 0x400>;
|
|
st,bank-name = "GPIOA";
|
|
};
|
|
|
|
gpiob: gpio@48000400 {
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
reg = <0x400 0x400>;
|
|
st,bank-name = "GPIOB";
|
|
};
|
|
|
|
gpioc: gpio@48000800 {
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
reg = <0x800 0x400>;
|
|
st,bank-name = "GPIOC";
|
|
};
|
|
|
|
gpiod: gpio@48000c00 {
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
reg = <0xc00 0x400>;
|
|
st,bank-name = "GPIOD";
|
|
};
|
|
|
|
gpioe: gpio@48001000 {
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
reg = <0x1000 0x400>;
|
|
st,bank-name = "GPIOE";
|
|
};
|
|
|
|
gpiof: gpio@48001400 {
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
reg = <0x1400 0x400>;
|
|
st,bank-name = "GPIOF";
|
|
};
|
|
|
|
gpiog: gpio@48001800 {
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
reg = <0x1800 0x400>;
|
|
st,bank-name = "GPIOG";
|
|
};
|
|
|
|
gpioh: gpio@48001c00 {
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
reg = <0x1c00 0x400>;
|
|
st,bank-name = "GPIOH";
|
|
};
|
|
|
|
};
|
|
};
|
|
};
|
|
|
|
&nvic {
|
|
num-irq-prio-bits = <4>;
|
|
num-irqs = <82>;
|
|
};
|