summaryrefslogtreecommitdiff
path: root/include/dt-bindings/firmware
diff options
context:
space:
mode:
authorJoakim Zhang <qiangqing.zhang@nxp.com>2020-11-06 18:56:26 +0800
committerMarc Kleine-Budde <mkl@pengutronix.de>2020-11-20 12:06:45 +0100
commitcefd754d131a65756ff6c2b428b935240c7a0a10 (patch)
tree57e80140e23a337d3cec771ee2c01d256b0e669f /include/dt-bindings/firmware
parent07b6b3e23cbd531977535b4d1bbef741d13af264 (diff)
dt-bindings: firmware: add IMX_SC_R_CAN(x) macro for CAN
Add IMX_SC_R_CAN(x) macro for CAN. Suggested-by: Marc Kleine-Budde <mkl@pengutronix.de> Acked-by: Shawn Guo <shawnguo@kernel.org> Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com> Link: https://lore.kernel.org/r/20201106105627.31061-5-qiangqing.zhang@nxp.com Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'include/dt-bindings/firmware')
-rw-r--r--include/dt-bindings/firmware/imx/rsrc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dt-bindings/firmware/imx/rsrc.h b/include/dt-bindings/firmware/imx/rsrc.h
index 54278d5c1856..43885056557c 100644
--- a/include/dt-bindings/firmware/imx/rsrc.h
+++ b/include/dt-bindings/firmware/imx/rsrc.h
@@ -111,6 +111,7 @@
#define IMX_SC_R_CAN_0 105
#define IMX_SC_R_CAN_1 106
#define IMX_SC_R_CAN_2 107
+#define IMX_SC_R_CAN(x) (IMX_SC_R_CAN_0 + (x))
#define IMX_SC_R_DMA_1_CH0 108
#define IMX_SC_R_DMA_1_CH1 109
#define IMX_SC_R_DMA_1_CH2 110