mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-04 21:52:29 +00:00
For test purpose, add clocks property to (some) spi nodes Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
34 lines
626 B
Plaintext
34 lines
626 B
Plaintext
/*
|
|
* Copyright (c) 2018 qianfan Zhao
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <st/stm32f0.dtsi>
|
|
|
|
/ {
|
|
soc {
|
|
spi2: spi@40003800 {
|
|
compatible = "st,stm32-spi-fifo";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg = <0x40003800 0x400>;
|
|
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00004000>;
|
|
interrupts = <26 3>;
|
|
status = "disabled";
|
|
label = "SPI_2";
|
|
};
|
|
|
|
usb: usb@40005c00 {
|
|
compatible = "st,stm32-usb";
|
|
reg = <0x40005c00 0x400>;
|
|
interrupts = <31 0>;
|
|
interrupt-names = "usb";
|
|
num-bidir-endpoints = <8>;
|
|
ram-size = <1024>;
|
|
status = "disabled";
|
|
label= "USB";
|
|
};
|
|
};
|
|
};
|