};
};
+&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";
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)>;
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>;
};
};
};