43 lines
842 B
Plaintext
43 lines
842 B
Plaintext
/*
|
|
* 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>;
|
|
maximum-speed = "full-speed";
|
|
phys = <&usb_fs_phy>;
|
|
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x04000000>;
|
|
status = "disabled";
|
|
label = "USB";
|
|
};
|
|
|
|
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";
|
|
};
|
|
};
|
|
|
|
usb_fs_phy: usbphy {
|
|
compatible = "usb-nop-xceiv";
|
|
#phy-cells = <0>;
|
|
label = "USB_FS_PHY";
|
|
};
|
|
};
|