diff options
| author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2026-03-11 20:59:58 +0100 |
|---|---|---|
| committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2026-03-12 11:55:45 +0100 |
| commit | b2eaf45e12fafffbdfc20dbe7cb160a4d2c8f9be (patch) | |
| tree | 696dca101a58a9fc05e9028ef4ae12d99f570b51 | |
| parent | 9fdad4267cef855dff8f45a04419bd61bb3438c4 (diff) | |
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>
| -rw-r--r-- | arch/arm/boot/dts/renesas/r9a06g032-rzn1d400-db.dts | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/renesas/r9a06g032-rzn1d400-db.dts b/arch/arm/boot/dts/renesas/r9a06g032-rzn1d400-db.dts index d0956950472c..5626d7fd6c3e 100644 --- a/arch/arm/boot/dts/renesas/r9a06g032-rzn1d400-db.dts +++ b/arch/arm/boot/dts/renesas/r9a06g032-rzn1d400-db.dts @@ -185,6 +185,18 @@ }; }; +&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 @@ 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 @@ 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>; }; }; }; |
