2020-03-30 03:19:02 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2020 Aurelien Jarno
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <st/l4/stm32l4.dtsi>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
soc {
|
|
|
|
usb: usb@40006800 {
|
|
|
|
compatible = "st,stm32-usb";
|
|
|
|
reg = <0x40006800 0x40000>;
|
|
|
|
interrupts = <67 0>;
|
|
|
|
interrupt-names = "usb";
|
|
|
|
num-bidir-endpoints = <8>;
|
|
|
|
ram-size = <1024>;
|
2021-03-01 09:21:45 +08:00
|
|
|
maximum-speed = "full-speed";
|
2020-03-30 03:19:02 +08:00
|
|
|
phys = <&usb_fs_phy>;
|
|
|
|
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x04000000>;
|
|
|
|
status = "disabled";
|
|
|
|
label = "USB";
|
|
|
|
};
|
2021-04-27 15:15:45 +08:00
|
|
|
|
|
|
|
spi2: spi@40003800 {
|
|
|
|
compatible = "st,stm32-spi";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <0x40003800 0x400>;
|
|
|
|
interrupts = <36 5>;
|
|
|
|
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00004000>;
|
|
|
|
status = "disabled";
|
|
|
|
label = "SPI_2";
|
|
|
|
};
|
2020-03-30 03:19:02 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
usb_fs_phy: usbphy {
|
|
|
|
compatible = "usb-nop-xceiv";
|
|
|
|
#phy-cells = <0>;
|
|
|
|
label = "USB_FS_PHY";
|
|
|
|
};
|
|
|
|
};
|