boards: st: stm32n6570_dk: Add ethernet node
Add the Ethernet MAC and MDIO nodes in the device tree. Add Kconfig for Ethernet Support. Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <marwa.ibenelhadjmessaoud-ext@st.com>
This commit is contained in:
parent
cc0684351a
commit
11a1b89948
2 changed files with 47 additions and 0 deletions
15
boards/st/stm32n6570_dk/Kconfig.defconfig
Normal file
15
boards/st/stm32n6570_dk/Kconfig.defconfig
Normal file
|
@ -0,0 +1,15 @@
|
|||
# STM32N6570 DISCOVERY board configuration
|
||||
|
||||
# Copyright (c) 2025 STMicroelectronics
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_STM32N6570_DK
|
||||
|
||||
if NETWORKING
|
||||
|
||||
config NET_L2_ETHERNET
|
||||
default y
|
||||
|
||||
endif # NETWORKING
|
||||
|
||||
endif # BOARD_STM32N6570_DK
|
|
@ -247,3 +247,35 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
&mac {
|
||||
status = "okay";
|
||||
pinctrl-0 = <ð1_rgmii_gtx_clk_pf0
|
||||
ð1_rgmii_clk125_pf2
|
||||
ð1_rgmii_rx_clk_pf7
|
||||
ð1_rgmii_rxd2_pf8
|
||||
ð1_rgmii_rxd3_pf9
|
||||
ð1_rgmii_rx_ctl_pf10
|
||||
ð1_rgmii_tx_ctl_pf11
|
||||
ð1_rgmii_txd1_pf13
|
||||
ð1_rgmii_txd0_pf12
|
||||
ð1_rgmii_rxd0_pf14
|
||||
ð1_rgmii_rxd1_pf15
|
||||
ð1_rgmii_txd2_pg3
|
||||
ð1_rgmii_txd3_pg4
|
||||
ð1_phy_intn_pd3>;
|
||||
pinctrl-names = "default";
|
||||
phy-connection-type = "rgmii";
|
||||
phy-handle = <ð_phy>;
|
||||
};
|
||||
|
||||
&mdio {
|
||||
status = "okay";
|
||||
pinctrl-0 = <ð1_mdio_pd12 ð1_mdc_pd1>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
eth_phy: ethernet-phy@0 {
|
||||
compatible = "ethernet-phy";
|
||||
reg = <0x0>;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue