26 lines
571 B
Plaintext
26 lines
571 B
Plaintext
/*
|
|
* Copyright (c) 2018 qianfan Zhao
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <st/f2/stm32f2.dtsi>
|
|
|
|
/ {
|
|
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";
|
|
};
|
|
};
|
|
};
|