ARM: dts: renesas: r9a06g032-rzn1d400-db: Use interrupts for Micrel PHYs

Make use of the interrupts wired to the Micrel PHYs via the GPIO IRQ
mux.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Herve Codina <herve.codina@bootlin.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20260311200307.16034-2-wsa+renesas@sang-engineering.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
This commit is contained in:
Wolfram Sang
2026-03-11 20:59:58 +01:00
committed by Geert Uytterhoeven
parent 9fdad4267c
commit b2eaf45e12

View File

@@ -185,6 +185,18 @@ fixed-link {
};
};
&gpioirqmux {
interrupt-map = <89 &gic GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, /* pin 147: phy@4 */
<91 &gic GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; /* pin 149: phy@5 */
status = "okay";
};
&gpio2 {
pinctrl-0 = <&pins_gpio2>;
pinctrl-names = "default";
status = "okay";
};
&i2c2 {
pinctrl-0 = <&pins_i2c2>;
pinctrl-names = "default";
@@ -290,6 +302,13 @@ pins_eth4: pins-eth4 {
bias-disable;
};
pins_gpio2: pins-gpio2 {
pinmux = <RZN1_PINMUX(147, RZN1_FUNC_GPIO)>,
<RZN1_PINMUX(149, RZN1_FUNC_GPIO)>;
drive-strength = <6>;
bias-pull-up;
};
pins_i2c2: pins-i2c2 {
pinmux = <RZN1_PINMUX(115, RZN1_FUNC_I2C)>,
<RZN1_PINMUX(116, RZN1_FUNC_I2C)>;
@@ -401,11 +420,13 @@ mdio {
switch0phy4: ethernet-phy@4 {
reg = <4>;
micrel,led-mode = <1>;
interrupts-extended = <&gpio2a 25 IRQ_TYPE_LEVEL_LOW>;
};
switch0phy5: ethernet-phy@5 {
reg = <5>;
micrel,led-mode = <1>;
interrupts-extended = <&gpio2a 27 IRQ_TYPE_LEVEL_LOW>;
};
};
};