summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/clock/bcm6328-clock.h
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2017-05-07 20:13:03 +0200
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2017-05-10 16:16:09 +0200
commit5b14e13c24f6a26fc30147404af8c570530f0a8d (patch)
tree3e16d62f04183b273713f58ac193b3d2793099fc /include/dt-bindings/clock/bcm6328-clock.h
parent70789bd2a5d885671f5256b5c2717fec30ac3fe7 (diff)
downloadu-boot-5b14e13c24f6a26fc30147404af8c570530f0a8d.tar.gz
u-boot-5b14e13c24f6a26fc30147404af8c570530f0a8d.tar.xz
u-boot-5b14e13c24f6a26fc30147404af8c570530f0a8d.zip
mips: bmips: add bcm6345-clk driver support for BCM6328
This driver can control up to 32 clocks. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dt-bindings/clock/bcm6328-clock.h')
-rw-r--r--include/dt-bindings/clock/bcm6328-clock.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/dt-bindings/clock/bcm6328-clock.h b/include/dt-bindings/clock/bcm6328-clock.h
new file mode 100644
index 0000000000..5d0fc115e7
--- /dev/null
+++ b/include/dt-bindings/clock/bcm6328-clock.h
@@ -0,0 +1,25 @@
+/*
+ * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
+ *
+ * Derived from linux/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __DT_BINDINGS_CLOCK_BCM6328_H
+#define __DT_BINDINGS_CLOCK_BCM6328_H
+
+#define BCM6328_CLK_PHYMIPS 0
+#define BCM6328_CLK_ADSL_QPROC 1
+#define BCM6328_CLK_ADSL_AFE 2
+#define BCM6328_CLK_ADSL 3
+#define BCM6328_CLK_MIPS 4
+#define BCM6328_CLK_SAR 5
+#define BCM6328_CLK_PCM 6
+#define BCM6328_CLK_USBD 7
+#define BCM6328_CLK_USBH 8
+#define BCM6328_CLK_HSSPI 9
+#define BCM6328_CLK_PCIE 10
+#define BCM6328_CLK_ROBOSW 11
+
+#endif /* __DT_BINDINGS_CLOCK_BCM6328_H */