mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 17:48:58 +00:00
20ea6adbf1
Build system: x86_64 Build-tested: bcm2708, bcm2709, bcm2710, bcm2711 Run-tested: bcm2708/RPiB+, bcm2709/RPi3B, bcm2710/RPi3B, bcm2711/RPi4B Signed-off-by: Marty Jones <mj8263788@gmail.com> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
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";
|
|
};
|