44 lines
920 B
Plaintext
44 lines
920 B
Plaintext
/*
|
|
* Copyright (c) 2017 Florian Vaussard, HEIG-VD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <st/stm32f412-pinctrl.dtsi>
|
|
#include <st/stm32f411.dtsi>
|
|
|
|
/ {
|
|
soc {
|
|
pinctrl: pin-controller@40020000 {
|
|
reg = <0x40020000 0x1c00>;
|
|
|
|
gpiof: gpio@40021400 {
|
|
compatible = "st,stm32-gpio";
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
reg = <0x40021400 0x400>;
|
|
clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x00000020>;
|
|
label = "GPIOF";
|
|
};
|
|
|
|
gpiog: gpio@40021800 {
|
|
compatible = "st,stm32-gpio";
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
reg = <0x40021800 0x400>;
|
|
clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x00000040>;
|
|
label = "GPIOG";
|
|
};
|
|
};
|
|
|
|
usart3: serial@40004800 {
|
|
compatible = "st,stm32-usart", "st,stm32-uart";
|
|
reg = <0x40004800 0x400>;
|
|
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00040000>;
|
|
interrupts = <39 0>;
|
|
status = "disabled";
|
|
label = "UART_3";
|
|
};
|
|
};
|
|
};
|