summaryrefslogtreecommitdiff
path: root/arch/arm/dts/at91-sama5d2_icp.dts
diff options
context:
space:
mode:
authorRazvan Stefanescu <razvan.stefanescu@microchip.com>2018-12-12 12:42:05 +0200
committerEugen Hristev <eugen.hristev@microchip.com>2019-04-18 09:43:22 +0300
commitfe5963d63ea9043a7ab95281ab4f448701819c18 (patch)
tree2bee1bd7717381368b208bd8d3337a8fc595e503 /arch/arm/dts/at91-sama5d2_icp.dts
parentf085452d851afb303c8bfb04602faeb76034f562 (diff)
ARM: dts: at91-sama5d2-icp: Add MACB node
MACB has a fixed link connection to KSZ8563 switch port. Signed-off-by: Razvan Stefanescu <razvan.stefanescu@microchip.com>
Diffstat (limited to 'arch/arm/dts/at91-sama5d2_icp.dts')
-rw-r--r--arch/arm/dts/at91-sama5d2_icp.dts37
1 files changed, 37 insertions, 0 deletions
diff --git a/arch/arm/dts/at91-sama5d2_icp.dts b/arch/arm/dts/at91-sama5d2_icp.dts
index e777754a41..cae8748268 100644
--- a/arch/arm/dts/at91-sama5d2_icp.dts
+++ b/arch/arm/dts/at91-sama5d2_icp.dts
@@ -39,6 +39,13 @@
status = "okay";
};
+ macb0: ethernet@f8008000 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_macb0_rmii &pinctrl_macb0_phy_irq &pinctrl_macb0_rst>;
+ phy-mode = "internal";
+ status = "okay";
+ };
+
i2c1: i2c@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>,