aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSergiu Moga2023-01-04 16:04:13 +0200
committerEugen Hristev2023-01-05 10:04:57 +0200
commit7b88887ba78d100bcb74d3e0baa03f87a338e707 (patch)
treeb1293f5160ec665aabeba7e143f266738783f4ca /include
parent205ecbdccd3d3359f94c4b576992cec3f37fb306 (diff)
dt-bindings: reset: add sama7g5 definitions
Upstream linux commit 5994f58977e0. Add reset bindings for SAMA7G5. At the moment only USB PHYs are included. The three reset USB phy's have their ID's mapped from 4 to 6. There are no USB phy's with ID's numbered from 0 to 3. Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
Diffstat (limited to 'include')
-rw-r--r--include/dt-bindings/reset/sama7g5-reset.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/dt-bindings/reset/sama7g5-reset.h b/include/dt-bindings/reset/sama7g5-reset.h
new file mode 100644
index 00000000000..2116f41d04e
--- /dev/null
+++ b/include/dt-bindings/reset/sama7g5-reset.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
+
+#ifndef __DT_BINDINGS_RESET_SAMA7G5_H
+#define __DT_BINDINGS_RESET_SAMA7G5_H
+
+#define SAMA7G5_RESET_USB_PHY1 4
+#define SAMA7G5_RESET_USB_PHY2 5
+#define SAMA7G5_RESET_USB_PHY3 6
+
+#endif /* __DT_BINDINGS_RESET_SAMA7G5_H */