From: Icenowy Zheng <icen...@aosc.io>

This commit introduces suniv dt-bindings headers
needed for device tree files.

Signed-off-by: Icenowy Zheng <icen...@aosc.io>
Signed-off-by: Jesse Taube <mr.bossman...@gmail.com>
---
V1->V2:
* Sync with Linux
---
 include/dt-bindings/reset/suniv-ccu.h | 37 +++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 include/dt-bindings/reset/suniv-ccu.h

diff --git a/include/dt-bindings/reset/suniv-ccu.h 
b/include/dt-bindings/reset/suniv-ccu.h
new file mode 100644
index 0000000000..a201438183
--- /dev/null
+++ b/include/dt-bindings/reset/suniv-ccu.h
@@ -0,0 +1,37 @@
+/* SPDX-License-Identifier: (GPL-2.0+ or MIT) */
+/*
+ * Copyright (C) 2018 Icenowy Zheng <icen...@aosc.io>
+ */
+
+#ifndef _DT_BINDINGS_RST_SUNIV_H_
+#define _DT_BINDINGS_RST_SUNIV_H_
+
+#define RST_USB_PHY0           0
+#define RST_BUS_DMA            1
+#define RST_BUS_MMC0           2
+#define RST_BUS_MMC1           3
+#define RST_BUS_DRAM           4
+#define RST_BUS_SPI0           5
+#define RST_BUS_SPI1           6
+#define RST_BUS_OTG            7
+#define RST_BUS_VE             8
+#define RST_BUS_LCD            9
+#define RST_BUS_DEINTERLACE    10
+#define RST_BUS_CSI            11
+#define RST_BUS_TVD            12
+#define RST_BUS_TVE            13
+#define RST_BUS_DE_BE          14
+#define RST_BUS_DE_FE          15
+#define RST_BUS_CODEC          16
+#define RST_BUS_SPDIF          17
+#define RST_BUS_IR             18
+#define RST_BUS_RSB            19
+#define RST_BUS_I2S0           20
+#define RST_BUS_I2C0           21
+#define RST_BUS_I2C1           22
+#define RST_BUS_I2C2           23
+#define RST_BUS_UART0          24
+#define RST_BUS_UART1          25
+#define RST_BUS_UART2          26
+
+#endif /* _DT_BINDINGS_RST_SUNIV_H_ */
-- 
2.34.1

Reply via email to