aboutsummaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas2017-05-07 20:13:04 +0200
committerDaniel Schwierzeck2017-05-10 16:16:09 +0200
commit969ebdb9306e3aa731fb96be64f5f96e9457b234 (patch)
tree5531e68565239eeb9569c66ad90b1e036f66e45b /arch/mips
parent5b14e13c24f6a26fc30147404af8c570530f0a8d (diff)
mips: bmips: add bcm6345-clk driver support for BCM63268
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 'arch/mips')
-rw-r--r--arch/mips/dts/brcm,bcm63268.dtsi13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/mips/dts/brcm,bcm63268.dtsi b/arch/mips/dts/brcm,bcm63268.dtsi
index 11c67291679..4d020246cfb 100644
--- a/arch/mips/dts/brcm,bcm63268.dtsi
+++ b/arch/mips/dts/brcm,bcm63268.dtsi
@@ -4,6 +4,7 @@
* SPDX-License-Identifier: GPL-2.0+
*/
+#include <dt-bindings/clock/bcm63268-clock.h>
#include <dt-bindings/gpio/gpio.h>
#include "skeleton.dtsi"
@@ -43,6 +44,18 @@
clock-frequency = <50000000>;
u-boot,dm-pre-reloc;
};
+
+ periph_clk: periph-clk {
+ compatible = "brcm,bcm6345-clk";
+ reg = <0x10000004 0x4>;
+ #clock-cells = <1>;
+ };
+
+ timer_clk: timer-clk {
+ compatible = "brcm,bcm6345-clk";
+ reg = <0x100000ac 0x4>;
+ #clock-cells = <1>;
+ };
};
ubus {