]> git.baikalelectronics.ru Git - uboot.git/commitdiff
dt-bindings: reset: add sama7g5 definitions
authorSergiu Moga <sergiu.moga@microchip.com>
Wed, 4 Jan 2023 14:04:13 +0000 (16:04 +0200)
committerEugen Hristev <eugen.hristev@microchip.com>
Thu, 5 Jan 2023 08:04:57 +0000 (10:04 +0200)
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>
include/dt-bindings/reset/sama7g5-reset.h [new file with mode: 0644]

diff --git a/include/dt-bindings/reset/sama7g5-reset.h b/include/dt-bindings/reset/sama7g5-reset.h
new file mode 100644 (file)
index 0000000..2116f41
--- /dev/null
@@ -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 */