2018-05-27 11:52:34 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2018 qianfan Zhao
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2018-09-27 21:23:03 +08:00
|
|
|
#include <st/f2/stm32f2.dtsi>
|
2020-07-15 19:05:55 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
soc {
|
|
|
|
mac: ethernet@40028000 {
|
|
|
|
compatible = "st,stm32-ethernet";
|
|
|
|
reg = <0x40028000 0x8000>;
|
|
|
|
label = "ETH_0";
|
|
|
|
interrupts = <61 0>;
|
|
|
|
clock-names = "stmmaceth", "mac-clk-tx",
|
|
|
|
"mac-clk-rx", "mac-clk-ptp";
|
|
|
|
clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x02000000>,
|
|
|
|
<&rcc STM32_CLOCK_BUS_AHB1 0x04000000>,
|
|
|
|
<&rcc STM32_CLOCK_BUS_AHB1 0x08000000>,
|
|
|
|
<&rcc STM32_CLOCK_BUS_AHB1 0x10000000>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|