* [PATCH 0/2] Add IRQ support for ethernet PHY on SAM9X60 boards
@ 2023-11-09 13:11 Mihai Sain
2023-11-09 13:11 ` [PATCH 1/2] ARM: dts: at91: sam9x60_curiosity: Add IRQ support for ethernet PHY Mihai Sain
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Mihai Sain @ 2023-11-09 13:11 UTC (permalink / raw)
To: robh+dt, krzysztof.kozlowski+dt, conor+dt, nicolas.ferre,
alexandre.belloni, claudiu.beznea, devicetree, linux-arm-kernel,
linux-kernel
Cc: cristian.birsan, Mihai Sain
Add IRQ support for ethernet PHY on SAM9X60-Curiosity board.
Add IRQ support for ethernet PHY on SAM9X60-EK board.
Mihai Sain (2):
ARM: dts: at91: sam9x60_curiosity: Add IRQ support for ethernet PHY
ARM: dts: at91: sam9x60ek: Add IRQ support for ethernet PHY
arch/arm/boot/dts/microchip/at91-sam9x60_curiosity.dts | 3 +++
arch/arm/boot/dts/microchip/at91-sam9x60ek.dts | 3 +++
2 files changed, 6 insertions(+)
--
2.42.0
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH 1/2] ARM: dts: at91: sam9x60_curiosity: Add IRQ support for ethernet PHY
2023-11-09 13:11 [PATCH 0/2] Add IRQ support for ethernet PHY on SAM9X60 boards Mihai Sain
@ 2023-11-09 13:11 ` Mihai Sain
2023-11-09 13:11 ` [PATCH 2/2] ARM: dts: at91: sam9x60ek: " Mihai Sain
2023-11-20 9:16 ` [PATCH 0/2] Add IRQ support for ethernet PHY on SAM9X60 boards claudiu beznea
2 siblings, 0 replies; 4+ messages in thread
From: Mihai Sain @ 2023-11-09 13:11 UTC (permalink / raw)
To: robh+dt, krzysztof.kozlowski+dt, conor+dt, nicolas.ferre,
alexandre.belloni, claudiu.beznea, devicetree, linux-arm-kernel,
linux-kernel
Cc: cristian.birsan, Mihai Sain
Add interrupt support for ethernet phy subnode.
Add PB8 definition to macb0 pinctrl.
Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
---
arch/arm/boot/dts/microchip/at91-sam9x60_curiosity.dts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/microchip/at91-sam9x60_curiosity.dts b/arch/arm/boot/dts/microchip/at91-sam9x60_curiosity.dts
index 83372c1f291b..c6fbdd29019f 100644
--- a/arch/arm/boot/dts/microchip/at91-sam9x60_curiosity.dts
+++ b/arch/arm/boot/dts/microchip/at91-sam9x60_curiosity.dts
@@ -249,6 +249,8 @@ &macb0 {
ethernet-phy@0 {
reg = <0x0>;
+ interrupt-parent = <&pioB>;
+ interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
};
};
@@ -353,6 +355,7 @@ AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB4 periph A */
AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB5 periph A */
AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB6 periph A */
AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB7 periph A */
+ AT91_PIOB 8 AT91_PERIPH_GPIO AT91_PINCTRL_NONE /* PB8 IRQ GPIO */
AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB9 periph A */
AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB10 periph A */
};
--
2.42.0
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH 2/2] ARM: dts: at91: sam9x60ek: Add IRQ support for ethernet PHY
2023-11-09 13:11 [PATCH 0/2] Add IRQ support for ethernet PHY on SAM9X60 boards Mihai Sain
2023-11-09 13:11 ` [PATCH 1/2] ARM: dts: at91: sam9x60_curiosity: Add IRQ support for ethernet PHY Mihai Sain
@ 2023-11-09 13:11 ` Mihai Sain
2023-11-20 9:16 ` [PATCH 0/2] Add IRQ support for ethernet PHY on SAM9X60 boards claudiu beznea
2 siblings, 0 replies; 4+ messages in thread
From: Mihai Sain @ 2023-11-09 13:11 UTC (permalink / raw)
To: robh+dt, krzysztof.kozlowski+dt, conor+dt, nicolas.ferre,
alexandre.belloni, claudiu.beznea, devicetree, linux-arm-kernel,
linux-kernel
Cc: cristian.birsan, Mihai Sain
Add interrupt support for ethernet phy subnode.
Add PB8 definition to macb0 pinctrl.
Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
---
arch/arm/boot/dts/microchip/at91-sam9x60ek.dts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/microchip/at91-sam9x60ek.dts b/arch/arm/boot/dts/microchip/at91-sam9x60ek.dts
index 5cd593028aff..f3cbb675cea4 100644
--- a/arch/arm/boot/dts/microchip/at91-sam9x60ek.dts
+++ b/arch/arm/boot/dts/microchip/at91-sam9x60ek.dts
@@ -292,6 +292,8 @@ &macb0 {
ethernet-phy@0 {
reg = <0x0>;
+ interrupt-parent = <&pioB>;
+ interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
};
};
@@ -465,6 +467,7 @@ AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB4 periph A */
AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB5 periph A */
AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB6 periph A */
AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB7 periph A */
+ AT91_PIOB 8 AT91_PERIPH_GPIO AT91_PINCTRL_NONE /* PB8 IRQ GPIO */
AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB9 periph A */
AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB10 periph A */
};
--
2.42.0
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH 0/2] Add IRQ support for ethernet PHY on SAM9X60 boards
2023-11-09 13:11 [PATCH 0/2] Add IRQ support for ethernet PHY on SAM9X60 boards Mihai Sain
2023-11-09 13:11 ` [PATCH 1/2] ARM: dts: at91: sam9x60_curiosity: Add IRQ support for ethernet PHY Mihai Sain
2023-11-09 13:11 ` [PATCH 2/2] ARM: dts: at91: sam9x60ek: " Mihai Sain
@ 2023-11-20 9:16 ` claudiu beznea
2 siblings, 0 replies; 4+ messages in thread
From: claudiu beznea @ 2023-11-20 9:16 UTC (permalink / raw)
To: Mihai Sain, robh+dt, krzysztof.kozlowski+dt, conor+dt,
nicolas.ferre, alexandre.belloni, devicetree, linux-arm-kernel,
linux-kernel
Cc: cristian.birsan
On 09.11.2023 15:11, Mihai Sain wrote:
> Add IRQ support for ethernet PHY on SAM9X60-Curiosity board.
> Add IRQ support for ethernet PHY on SAM9X60-EK board.
>
> Mihai Sain (2):
> ARM: dts: at91: sam9x60_curiosity: Add IRQ support for ethernet PHY
> ARM: dts: at91: sam9x60ek: Add IRQ support for ethernet PHY
>
> arch/arm/boot/dts/microchip/at91-sam9x60_curiosity.dts | 3 +++
> arch/arm/boot/dts/microchip/at91-sam9x60ek.dts | 3 +++
> 2 files changed, 6 insertions(+)
>
Applied to at91-dt, thanks!
Please note that I've changed the commits' titles as follows:
s/ARM: dts: at91/ARM: dts: microchip/g
to cope with the new microchip directory for DTSes. Please let me know if
you consider there are any issues with this.
Thank you,
Claudiu Beznea
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-11-20 9:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-09 13:11 [PATCH 0/2] Add IRQ support for ethernet PHY on SAM9X60 boards Mihai Sain
2023-11-09 13:11 ` [PATCH 1/2] ARM: dts: at91: sam9x60_curiosity: Add IRQ support for ethernet PHY Mihai Sain
2023-11-09 13:11 ` [PATCH 2/2] ARM: dts: at91: sam9x60ek: " Mihai Sain
2023-11-20 9:16 ` [PATCH 0/2] Add IRQ support for ethernet PHY on SAM9X60 boards claudiu beznea
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).