Browse Source

dts: bindings: gpio: neorv32: require interrupt property to be set

Require the interrupt property for the NEORV32 GPIO controller to be set.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
pull/89523/head
Henrik Brix Andersen 2 months ago committed by Benjamin Cabé
parent
commit
de2f9ee9b4
  1. 3
      dts/bindings/gpio/neorv32,gpio.yaml
  2. 1
      dts/riscv/neorv32.dtsi

3
dts/bindings/gpio/neorv32,gpio.yaml

@ -5,6 +5,9 @@ compatible: "neorv32,gpio" @@ -5,6 +5,9 @@ compatible: "neorv32,gpio"
include: [gpio-controller.yaml, base.yaml]
properties:
interrupts:
required: true
reg:
required: true

1
dts/riscv/neorv32.dtsi

@ -140,6 +140,7 @@ @@ -140,6 +140,7 @@
compatible = "neorv32,gpio";
status = "disabled";
reg = <0xfffc0000 0x10000>;
interrupts = <8>;
syscon = <&sysinfo>;
gpio-controller;
ngpios = <32>;

Loading…
Cancel
Save