mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 18:19:02 +00:00
37 lines
1.2 KiB
Diff
37 lines
1.2 KiB
Diff
|
From 32d5f26a939d8d4477309bc601c1e7901fb01baa Mon Sep 17 00:00:00 2001
|
||
|
From: Dom Cobley <popcornmix@gmail.com>
|
||
|
Date: Tue, 19 Oct 2021 14:15:45 +0100
|
||
|
Subject: [PATCH] dt: Move VEC clock to clk-raspberrypi
|
||
|
|
||
|
clk-2835 is deprecated and gets an innacurate clock for VEC (107MHz).
|
||
|
Switch to clk-raspberrypi which uses the right PLL to get an accurate 108MHz.
|
||
|
|
||
|
Signed-off-by: Dom Cobley <popcornmix@gmail.com>
|
||
|
---
|
||
|
arch/arm/boot/dts/bcm2711.dtsi | 2 +-
|
||
|
arch/arm/boot/dts/bcm2835-common.dtsi | 2 +-
|
||
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
--- a/arch/arm/boot/dts/bcm2711.dtsi
|
||
|
+++ b/arch/arm/boot/dts/bcm2711.dtsi
|
||
|
@@ -304,7 +304,7 @@
|
||
|
vec: vec@7ec13000 {
|
||
|
compatible = "brcm,bcm2711-vec";
|
||
|
reg = <0x7ec13000 0x1000>;
|
||
|
- clocks = <&clocks BCM2835_CLOCK_VEC>;
|
||
|
+ clocks = <&firmware_clocks 15>;
|
||
|
interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
|
||
|
status = "disabled";
|
||
|
};
|
||
|
--- a/arch/arm/boot/dts/bcm2835-common.dtsi
|
||
|
+++ b/arch/arm/boot/dts/bcm2835-common.dtsi
|
||
|
@@ -109,7 +109,7 @@
|
||
|
vec: vec@7e806000 {
|
||
|
compatible = "brcm,bcm2835-vec";
|
||
|
reg = <0x7e806000 0x1000>;
|
||
|
- clocks = <&clocks BCM2835_CLOCK_VEC>;
|
||
|
+ clocks = <&firmware_clocks 15>;
|
||
|
interrupts = <2 27>;
|
||
|
status = "disabled";
|
||
|
};
|