Skip to content
Permalink
Browse files
sparx5: Add IRQ muxing UIO driver [LOCAL]
  • Loading branch information
lpovlsen authored and steen-hegelund-mchp committed Mar 15, 2021
1 parent 5be2527 commit 5c575d7626ed53e4ccf148d834dde04b91c29b77
Show file tree
Hide file tree
Showing 4 changed files with 398 additions and 0 deletions.
@@ -473,5 +473,18 @@
resets = <&reset 0>;
reset-names = "switch";
};

uio0: vcoreiii_switch@600000000 {
compatible = "mscc,uio_fireant_irqmux";
reg = <6 0x00000000 0x12000000>;
reg-names = "origin1_2";
interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "master",
"slave-0x10001", "slave-0x10002",
"slave-0x20000";
};
};
};
@@ -165,4 +165,12 @@ config UIO_HV_GENERIC
to network and storage devices from userspace.

If you compile this as a module, it will be called uio_hv_generic.

config UIO_FIREANT_IRQMUX
tristate "Generic driver for Fireant SoC"
depends on OF
help
Driver for acessing Fireant Switch and IRQs. It provides
switch access from userspace.

endif
@@ -11,3 +11,4 @@ obj-$(CONFIG_UIO_PRUSS) += uio_pruss.o
obj-$(CONFIG_UIO_MF624) += uio_mf624.o
obj-$(CONFIG_UIO_FSL_ELBC_GPCM) += uio_fsl_elbc_gpcm.o
obj-$(CONFIG_UIO_HV_GENERIC) += uio_hv_generic.o
obj-$(CONFIG_UIO_FIREANT_IRQMUX) += uio_fireant_irqmux.o

0 comments on commit 5c575d7

Please sign in to comment.