1/* 2 * Copyright (c) 2017 Linaro Limited 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <st/l4/stm32l4.dtsi> 8 9/ { 10 11 clocks { 12 clk_hsi48: clk-hsi48 { 13 #clock-cells = <0>; 14 compatible = "fixed-clock"; 15 clock-frequency = <DT_FREQ_M(48)>; 16 status = "disabled"; 17 }; 18 }; 19 20 soc { 21 compatible = "st,stm32l432", "st,stm32l4", "simple-bus"; 22 23 rng: rng@50060800 { 24 clocks = <&rcc STM32_CLOCK(AHB2, 18U)>, 25 <&rcc STM32_SRC_HSI48 CLK48_SEL(0)>; 26 }; 27 28 spi3: spi@40003c00 { 29 compatible = "st,stm32-spi-fifo", "st,stm32-spi"; 30 #address-cells = <1>; 31 #size-cells = <0>; 32 reg = <0x40003c00 0x400>; 33 clocks = <&rcc STM32_CLOCK(APB1, 15U)>; 34 interrupts = <51 5>; 35 status = "disabled"; 36 }; 37 38 timers7: timers@40001400 { 39 compatible = "st,stm32-timers"; 40 reg = <0x40001400 0x400>; 41 clocks = <&rcc STM32_CLOCK(APB1, 5U)>; 42 resets = <&rctl STM32_RESET(APB1L, 5U)>; 43 interrupts = <55 0>; 44 interrupt-names = "global"; 45 st,prescaler = <0>; 46 status = "disabled"; 47 48 counter { 49 compatible = "st,stm32-counter"; 50 status = "disabled"; 51 }; 52 }; 53 54 can1: can@40006400 { 55 compatible = "st,stm32-bxcan"; 56 reg = <0x40006400 0x400>; 57 interrupts = <19 0>, <20 0>, <21 0>, <22 0>; 58 interrupt-names = "TX", "RX0", "RX1", "SCE"; 59 clocks = <&rcc STM32_CLOCK(APB1, 25U)>; //RCC_APB1ENR1_CAN1EN 60 status = "disabled"; 61 }; 62 63 usb: usb@40006800 { 64 compatible = "st,stm32-usb"; 65 reg = <0x40006800 0x40000>; 66 interrupts = <67 0>; 67 interrupt-names = "usb"; 68 num-bidir-endpoints = <8>; 69 ram-size = <1024>; 70 maximum-speed = "full-speed"; 71 phys = <&usb_fs_phy>; 72 clocks = <&rcc STM32_CLOCK(APB1, 26U)>, 73 <&rcc STM32_SRC_HSI48 CLK48_SEL(0)>; 74 status = "disabled"; 75 }; 76 77 dac1: dac@40007400 { 78 compatible = "st,stm32-dac"; 79 reg = <0x40007400 0x400>; 80 clocks = <&rcc STM32_CLOCK(APB1, 29U)>; 81 status = "disabled"; 82 #io-channel-cells = <1>; 83 }; 84 85 rtc@40002800 { 86 bbram: bbram_regs { 87 compatible = "st,stm32-bbram"; 88 st,backup-regs = <32>; 89 status = "disabled"; 90 }; 91 }; 92 }; 93 94 usb_fs_phy: usbphy { 95 compatible = "usb-nop-xceiv"; 96 #phy-cells = <0>; 97 }; 98}; 99