50 lines
1.0 KiB
Plaintext
50 lines
1.0 KiB
Plaintext
/*
|
|
* Copyright (c) 2018 Anthony Kreft <anthony.kreft@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <st/l0/stm32l051.dtsi>
|
|
|
|
/ {
|
|
soc {
|
|
compatible = "st,stm32l053", "st,stm32l0", "simple-bus";
|
|
|
|
clocks {
|
|
clk_hsi48: clk-hsi48 {
|
|
#clock-cells = <0>;
|
|
compatible = "fixed-clock";
|
|
clock-frequency = <DT_FREQ_M(48)>;
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
usb: usb@40005c00 {
|
|
compatible = "st,stm32-usb";
|
|
reg = <0x40005c00 0x400>;
|
|
interrupts = <31 0>;
|
|
interrupt-names = "usb";
|
|
num-bidir-endpoints = <8>;
|
|
ram-size = <1024>;
|
|
maximum-speed = "full-speed";
|
|
phys = <&otgfs_phy>;
|
|
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00800000>,
|
|
<&rcc STM32_SRC_HSI48 HSI48_SEL(1)>;
|
|
status = "disabled";
|
|
};
|
|
|
|
dac1: dac@40007400 {
|
|
compatible = "st,stm32-dac";
|
|
reg = <0x40007400 0x400>;
|
|
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x20000000>;
|
|
status = "disabled";
|
|
#io-channel-cells = <1>;
|
|
};
|
|
};
|
|
|
|
otgfs_phy: otgfs_phy {
|
|
compatible = "usb-nop-xceiv";
|
|
#phy-cells = <0>;
|
|
};
|
|
};
|