mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-10 06:24:40 +01:00
Add a new microchipsw target aimed add supporting Microchip switch SoC-s. Start by supporting LAN969x SoC-s as the first subtarget. Signed-off-by: Robert Marko <robert.marko@sartura.hr>
40 lines
1.1 KiB
Diff
40 lines
1.1 KiB
Diff
From 7dffd83ae4ae02a43d61b15af6edb199fcc7ebb3 Mon Sep 17 00:00:00 2001
|
|
From: Robert Marko <robert.marko@sartura.hr>
|
|
Date: Tue, 5 Nov 2024 12:08:06 +0100
|
|
Subject: [PATCH] include: dt-bindings: add LAN969x clock bindings
|
|
|
|
Add the required LAN969x clock bindings.
|
|
|
|
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
|
|
---
|
|
include/dt-bindings/clock/microchip,lan969x.h | 24 +++++++++++++++++++
|
|
1 file changed, 24 insertions(+)
|
|
create mode 100644 include/dt-bindings/clock/microchip,lan969x.h
|
|
|
|
--- /dev/null
|
|
+++ b/include/dt-bindings/clock/microchip,lan969x.h
|
|
@@ -0,0 +1,24 @@
|
|
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
|
|
+
|
|
+#ifndef _DT_BINDINGS_CLK_LAN969X_H
|
|
+#define _DT_BINDINGS_CLK_LAN969X_H
|
|
+
|
|
+#define GCK_ID_QSPI0 0
|
|
+#define GCK_ID_QSPI2 1
|
|
+#define GCK_ID_SDMMC0 2
|
|
+#define GCK_ID_SDMMC1 3
|
|
+#define GCK_ID_MCAN0 4
|
|
+#define GCK_ID_MCAN1 5
|
|
+#define GCK_ID_FLEXCOM0 6
|
|
+#define GCK_ID_FLEXCOM1 7
|
|
+#define GCK_ID_FLEXCOM2 8
|
|
+#define GCK_ID_FLEXCOM3 9
|
|
+#define GCK_ID_TIMER 10
|
|
+#define GCK_ID_USB_REFCLK 11
|
|
+
|
|
+/* Gate clocks */
|
|
+#define GCK_GATE_USB_DRD 12
|
|
+#define GCK_GATE_MCRAMC 13
|
|
+#define GCK_GATE_HMATRIX 14
|
|
+
|
|
+#endif
|