ARM: dts: at91-sama5d2-icp: Add MACB node
Subsystems (2)
PATCH 1/2 ARM: dts: at91-sama5d2-icp: Add MACB node
From: Razvan Stefanescu <[email protected]>
MACB has a fixed link connection to KSZ8563 switch port.
Signed-off-by Razvan Stefanescu <[email protected]>
--- arch/arm/dts/at91-sama5d2_icp.dts | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+)
arch/arm/dts/at91-sama5d2_icp.dts +37 -0
@@ -39,6 +39,13 @@ status = "okay"; }; + macb0: ethernet at f8008000 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_macb0_rmii &pinctrl_macb0_phy_irq &pinctrl_macb0_rst>; + phy-mode = "internal"; + status = "okay"; + }; + i2c1: i2c at fc028000 { dmas = <0>, <0>; pinctrl-names = "default";
@@ -72,6 +79,36 @@ bias-disable; }; + pinctrl_macb0_rmii: macb0_rmii { + pinmux = <PIN_PD1__GRXCK>, + <PIN_PD2__GTXER>, + <PIN_PD5__GRX2>, + <PIN_PD6__GRX3>, + <PIN_PD7__GTX2>, + <PIN_PD8__GTX3>, + <PIN_PD9__GTXCK>, + <PIN_PD10__GTXEN>, + <PIN_PD11__GRXDV>, + <PIN_PD12__GRXER>, + <PIN_PD13__GRX0>, + <PIN_PD14__GRX1>, + <PIN_PD15__GTX0>, + <PIN_PD16__GTX1>, + <PIN_PD17__GMDC>, + <PIN_PD18__GMDIO>; + bias-disable; + }; + + pinctrl_macb0_phy_irq: macb0_phy_irq { + pinmux = <PIN_PD3__GPIO>; + bias-disable; + }; + + pinctrl_macb0_rst: macb0_sw_rst { + pinmux = <PIN_PD4__GPIO>; + bias-pull-up; + }; + pinctrl_sdmmc0_default: sdmmc0_default { pinmux = <PIN_PA1__SDMMC0_CMD>, <PIN_PA2__SDMMC0_DAT0>,
Signature · 1 line
2.7.4
PATCH 1/2 ARM: dts: at91-sama5d2-icp: Add MACB node
Quoted 6 lines · On 12.04.2019 14:58, Eugen Hristev - M18282 wrote:
From: Razvan Stefanescu <[email protected]>
MACB has a fixed link connection to KSZ8563 switch port.
Signed-off-by Razvan Stefanescu <[email protected]>---
Applied to u-boot-atmel/master
PATCH 2/2 board: sama5d2_icp: Enable MACB driver
In reply to Eugen.Hristev at microchip.comFrom: Razvan Stefanescu <[email protected]>
Signed-off-by Razvan Stefanescu <[email protected]>
--- configs/sama5d2_icp_mmc_defconfig | 2 ++ 1 file changed, 2 insertions(+)
configs/sama5d2_icp_mmc_defconfig +2 -0
@@ -61,6 +61,8 @@ CONFIG_I2C_EEPROM=y CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ATMEL=y +CONFIG_DM_ETH=y +CONFIG_MACB=y CONFIG_PINCTRL=y CONFIG_SPL_PINCTRL=y CONFIG_PINCTRL_AT91PIO4=y
Signature · 1 line
2.7.4
PATCH 2/2 board: sama5d2_icp: Enable MACB driver
Quoted 4 lines · On 12.04.2019 14:58, Eugen Hristev - M18282 wrote:
From: Razvan Stefanescu <[email protected]>
Signed-off-by Razvan Stefanescu <[email protected]>---
Applied to u-boot-atmel/master