1/* 2 * Copyright (c) 2018 Georgij Cernysiov 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <st/l4/stm32l451.dtsi> 8 9/ { 10 soc { 11 compatible = "st,stm32l452", "st,stm32l4", "simple-bus"; 12 13 usb: usb@40006800 { 14 compatible = "st,stm32-usb"; 15 reg = <0x40006800 0x40000>; 16 interrupts = <67 0>; 17 interrupt-names = "usb"; 18 num-bidir-endpoints = <8>; 19 ram-size = <1024>; 20 maximum-speed = "full-speed"; 21 phys = <&usb_fs_phy>; 22 clocks = <&rcc STM32_CLOCK_BUS_APB1 0x04000000>, 23 <&rcc STM32_SRC_HSI48 CLK48_SEL(0)>; 24 status = "disabled"; 25 }; 26 }; 27 28 usb_fs_phy: usbphy { 29 compatible = "usb-nop-xceiv"; 30 #phy-cells = <0>; 31 }; 32}; 33