From 1925b501a80ee5f53f1b24c20f3ccaee3d66a1b5 Mon Sep 17 00:00:00 2001 From: Tomasz Bursztyka Date: Wed, 18 Dec 2019 09:08:12 +0100 Subject: [PATCH] soc/xtensa: Configuring the DW USB DT aliases in Intel s1000 These aliases will be used by the DW driver. Signed-off-by: Tomasz Bursztyka --- soc/xtensa/intel_s1000/dts_fixup.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/soc/xtensa/intel_s1000/dts_fixup.h b/soc/xtensa/intel_s1000/dts_fixup.h index 96e9c6b67cc..994f1d89117 100644 --- a/soc/xtensa/intel_s1000/dts_fixup.h +++ b/soc/xtensa/intel_s1000/dts_fixup.h @@ -102,4 +102,16 @@ #define DT_DMA_DW_2_IRQ_FLAGS \ DT_SNPS_DESIGNWARE_DMA_7E000_IRQ_0_SENSE +/* + * USB configuration + */ +#define DT_USB_DW_0_BASE_ADDRESS \ + DT_SNPS_DESIGNWARE_USB_A0000_BASE_ADDRESS +#define DT_USB_DW_0_NAME DT_SNPS_DESIGNWARE_USB_A0000_LABEL +#define DT_USB_DW_0_IRQ DT_SNPS_DESIGNWARE_USB_A0000_IRQ_0 +#define DT_USB_DW_0_IRQ_PRI \ + DT_SNPS_DESIGNWARE_USB_A0000_IRQ_0_PRIORITY +#define DT_USB_DW_0_IRQ_FLAGS \ + DT_SNPS_DESIGNWARE_USB_A0000_IRQ_0_SENSE + /* End of SoC Level DTS fixup file */