mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-09 00:36:51 -04:00
ARM: dts: microchip: sama7d65: Enable GMAC interface
Enable GMAC0 interface for sama7d65_curiosity board. Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com> Link: https://lore.kernel.org/r/fca0c1deb74006cdedbdd71061dec9dabf1e9b9a.1743523114.git.Ryan.Wanner@microchip.com [claudiu.beznea: move gmac0 node to keep the nodes alphanumerically sorted, dropped status property on the PHY node, added missing blank line] Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
This commit is contained in:
committed by
Claudiu Beznea
parent
b51e4aea3e
commit
7116fb2f15
@@ -60,6 +60,24 @@ &flx10 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gmac0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_gmac0_default
|
||||
&pinctrl_gmac0_mdio_default
|
||||
&pinctrl_gmac0_txck_default
|
||||
&pinctrl_gmac0_phy_irq>;
|
||||
phy-mode = "rgmii-id";
|
||||
status = "okay";
|
||||
|
||||
ethernet-phy@7 {
|
||||
reg = <0x7>;
|
||||
interrupt-parent = <&pioa>;
|
||||
interrupts = <PIN_PC1 IRQ_TYPE_LEVEL_LOW>;
|
||||
};
|
||||
};
|
||||
|
||||
&i2c10 {
|
||||
dmas = <0>, <0>;
|
||||
i2c-analog-filter;
|
||||
@@ -106,6 +124,39 @@ &main_xtal {
|
||||
};
|
||||
|
||||
&pioa {
|
||||
pinctrl_gmac0_default: gmac0-default {
|
||||
pinmux = <PIN_PA26__G0_TX0>,
|
||||
<PIN_PA27__G0_TX1>,
|
||||
<PIN_PB4__G0_TX2>,
|
||||
<PIN_PB5__G0_TX3>,
|
||||
<PIN_PA29__G0_RX0>,
|
||||
<PIN_PA30__G0_RX1>,
|
||||
<PIN_PB2__G0_RX2>,
|
||||
<PIN_PB6__G0_RX3>,
|
||||
<PIN_PA25__G0_TXCTL>,
|
||||
<PIN_PB3__G0_RXCK>,
|
||||
<PIN_PA28__G0_RXCTL>;
|
||||
slew-rate = <0>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
pinctrl_gmac0_mdio_default: gmac0-mdio-default {
|
||||
pinmux = <PIN_PA31__G0_MDC>,
|
||||
<PIN_PB0__G0_MDIO>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
pinctrl_gmac0_phy_irq: gmac0-phy-irq {
|
||||
pinmux = <PIN_PC1__GPIO>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
pinctrl_gmac0_txck_default: gmac0-txck-default {
|
||||
pinmux = <PIN_PB1__G0_REFCK>;
|
||||
slew-rate = <0>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
pinctrl_i2c10_default: i2c10-default{
|
||||
pinmux = <PIN_PB19__FLEXCOM10_IO1>,
|
||||
<PIN_PB20__FLEXCOM10_IO0>;
|
||||
|
||||
Reference in New Issue
Block a user