mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-26 15:43:06 -04:00
arm64: dts: renesas: rzg2ul-smarc-som: Add PHY interrupt support for ETH{0/1}
The PHY interrupt (INT_N) pin is connected to IRQ2 and IRQ7 for ETH0 and ETH1 respectively. Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20230102221815.273719-7-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
This commit is contained in:
committed by
Geert Uytterhoeven
parent
85169df721
commit
f4673e52db
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/interrupt-controller/irqc-rzg2l.h>
|
||||
#include <dt-bindings/pinctrl/rzg2l-pinctrl.h>
|
||||
|
||||
/ {
|
||||
@@ -77,6 +78,8 @@ phy0: ethernet-phy@7 {
|
||||
compatible = "ethernet-phy-id0022.1640",
|
||||
"ethernet-phy-ieee802.3-c22";
|
||||
reg = <7>;
|
||||
interrupt-parent = <&irqc>;
|
||||
interrupts = <RZG2L_IRQ2 IRQ_TYPE_LEVEL_LOW>;
|
||||
rxc-skew-psec = <2400>;
|
||||
txc-skew-psec = <2400>;
|
||||
rxdv-skew-psec = <0>;
|
||||
@@ -104,6 +107,8 @@ phy1: ethernet-phy@7 {
|
||||
compatible = "ethernet-phy-id0022.1640",
|
||||
"ethernet-phy-ieee802.3-c22";
|
||||
reg = <7>;
|
||||
interrupt-parent = <&irqc>;
|
||||
interrupts = <RZG2L_IRQ7 IRQ_TYPE_LEVEL_LOW>;
|
||||
rxc-skew-psec = <2400>;
|
||||
txc-skew-psec = <2400>;
|
||||
rxdv-skew-psec = <0>;
|
||||
@@ -151,7 +156,8 @@ eth0_pins: eth0 {
|
||||
<RZG2L_PORT_PINMUX(3, 2, 1)>, /* ET0_RXD0 */
|
||||
<RZG2L_PORT_PINMUX(3, 3, 1)>, /* ET0_RXD1 */
|
||||
<RZG2L_PORT_PINMUX(4, 0, 1)>, /* ET0_RXD2 */
|
||||
<RZG2L_PORT_PINMUX(4, 1, 1)>; /* ET0_RXD3 */
|
||||
<RZG2L_PORT_PINMUX(4, 1, 1)>, /* ET0_RXD3 */
|
||||
<RZG2L_PORT_PINMUX(5, 1, 7)>; /* IRQ2 */
|
||||
};
|
||||
|
||||
eth1_pins: eth1 {
|
||||
@@ -169,7 +175,8 @@ eth1_pins: eth1 {
|
||||
<RZG2L_PORT_PINMUX(9, 1, 1)>, /* ET1_RXD0 */
|
||||
<RZG2L_PORT_PINMUX(9, 2, 1)>, /* ET1_RXD1 */
|
||||
<RZG2L_PORT_PINMUX(9, 3, 1)>, /* ET1_RXD2 */
|
||||
<RZG2L_PORT_PINMUX(10, 0, 1)>; /* ET1_RXD3 */
|
||||
<RZG2L_PORT_PINMUX(10, 0, 1)>, /* ET1_RXD3 */
|
||||
<RZG2L_PORT_PINMUX(18, 5, 1)>; /* IRQ7 */
|
||||
};
|
||||
|
||||
sdhi0_emmc_pins: sd0emmc {
|
||||
|
||||
Reference in New Issue
Block a user