armbian_build/patch/kernel/archive/sunxi-5.14/add-missing-ext_osc32k-on-H6.patch
Igor Pečovnik 744ea89a58
Bumping EDGE kernel to 5.14.y (#3125)
* Bumping EDGE kernel to 5.14.y

Meson64:
- removing Odroid reboot shutdown patch since its probably not needed anymore

Rockchip64:
- removing Rockpi S. No interest to maintain this any further
- removing PBP suspend. Doesn’t align. Need inspection if some other way was mainstreamed
- temporally removing Orangepi R1

* Re-adding rockpis, pbp suspend, HFLPS170 wifi and cleanup

* Removing deprecated patch, fixing ap6256 wifi

* Re-enable Opi R1 plus, untest

* Add and fix Radxa Zero
2021-09-08 17:51:34 +02:00

27 lines
769 B
Diff

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
index f55879b..c3621dd 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
@@ -70,6 +80,13 @@
clock-output-names = "osc24M";
};
+ ext_osc32k: ext_osc32k_clk {
+ #clock-cells = <0>;
+ compatible = "fixed-clock";
+ clock-frequency = <32768>;
+ clock-output-names = "ext_osc32k";
+ };
+
pmu {
compatible = "arm,cortex-a53-pmu";
interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>,
@@ -922,6 +1050,7 @@
interrupts = <5 IRQ_TYPE_LEVEL_HIGH>,
<6 IRQ_TYPE_LEVEL_HIGH>;
clock-output-names = "osc32k", "osc32k-out", "iosc";
+ clocks = <&ext_osc32k>;
#clock-cells = <1>;
};