dts: Introduce stm32h7 ethernet compatible
Add stm32h7 ethernet compatible "st,stm32h7-ethernet", used also for stm32h5. Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <marwa.ibenelhadjmessaoud-ext@st.com>
This commit is contained in:
parent
ca768581c8
commit
d0751148c1
|
@ -512,7 +512,7 @@
|
|||
};
|
||||
|
||||
mac: ethernet@40028000 {
|
||||
compatible = "st,stm32-ethernet";
|
||||
compatible = "st,stm32h7-ethernet", "st,stm32-ethernet";
|
||||
reg = <0x40028000 0x8000>;
|
||||
interrupts = <106 0>;
|
||||
clock-names = "stmmaceth", "mac-clk-tx", "mac-clk-rx";
|
||||
|
|
|
@ -1022,7 +1022,7 @@
|
|||
};
|
||||
|
||||
mac: ethernet@40028000 {
|
||||
compatible = "st,stm32-ethernet";
|
||||
compatible = "st,stm32h7-ethernet", "st,stm32-ethernet";
|
||||
reg = <0x40028000 0x8000>;
|
||||
interrupts = <61 0>;
|
||||
clock-names = "stmmaceth", "mac-clk-tx", "mac-clk-rx";
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
# Copyright (c) 2024, STMicroelectronics
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Common fields for STM32 Ethernet peripherals.
|
||||
|
||||
include: [ethernet-controller.yaml, pinctrl-device.yaml]
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
||||
interrupts:
|
||||
required: true
|
||||
clocks:
|
||||
required: true
|
||||
clock-names:
|
||||
required: true
|
||||
pinctrl-0:
|
||||
required: true
|
||||
pinctrl-names:
|
||||
required: true
|
|
@ -1,22 +1,9 @@
|
|||
# Copyright (c) 2020, Linaro Limited
|
||||
# Copyright (c) 2024, STMicroelectronics
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: ST STM32 Ethernet
|
||||
|
||||
compatible: "st,stm32-ethernet"
|
||||
|
||||
include: [ethernet-controller.yaml, pinctrl-device.yaml]
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
||||
interrupts:
|
||||
required: true
|
||||
clocks:
|
||||
required: true
|
||||
clock-names:
|
||||
required: true
|
||||
pinctrl-0:
|
||||
required: true
|
||||
pinctrl-names:
|
||||
required: true
|
||||
include: st,stm32-ethernet-common.yaml
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
# Copyright (c) 2024, STMicroelectronics
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: |
|
||||
ST STM32H7 Ethernet
|
||||
|
||||
This binding file describes the device tree properties required to configure
|
||||
and use the Ethernet controller on STM32H7 and STM32H5 series microcontrollers.
|
||||
The `st,stm32h7-ethernet` compatible string can be used for both series,
|
||||
ensuring flexibility and ease of configuration.
|
||||
|
||||
compatible: "st,stm32h7-ethernet"
|
||||
|
||||
include: st,stm32-ethernet-common.yaml
|
Loading…
Reference in New Issue