Add the microchip,nr-irqs property in the DT node and set the value for the driver to get the value from the DT instead of a hardcoded macro. Signed-off-by: Varshini Rajendran <varshini.rajendran@xxxxxxxxxxxxx> --- Changes in v5: - Separated the patch from the DT bindings. --- arch/arm/boot/dts/microchip/sam9x60.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/microchip/sam9x60.dtsi b/arch/arm/boot/dts/microchip/sam9x60.dtsi index 291540e5d81e..7dbe34b7587a 100644 --- a/arch/arm/boot/dts/microchip/sam9x60.dtsi +++ b/arch/arm/boot/dts/microchip/sam9x60.dtsi @@ -1201,6 +1201,7 @@ aic: interrupt-controller@fffff100 { interrupt-controller; reg = <0xfffff100 0x100>; atmel,external-irqs = <31>; + microchip,nr-irqs = <50>; }; dbgu: serial@fffff200 { -- 2.25.1