mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
9501ce909f
This fixes a kernel build problem.
The removed parts of the patch are already applied upstream.
Fixes: 9ad3ef27b9
("kernel: bump 5.4 to 5.4.153")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
47 lines
1.2 KiB
Diff
47 lines
1.2 KiB
Diff
From cc4f01aa78bfbebd7bdb52b4d873b5c9a332319e Mon Sep 17 00:00:00 2001
|
|
From: Biwen Li <biwen.li@nxp.com>
|
|
Date: Thu, 27 Jun 2019 14:24:29 +0800
|
|
Subject: [PATCH] arm64: dts: ls1028a: Add ftm_alarm0 DT node
|
|
|
|
The patch adds ftm_alarm0 DT node for LS1028ARDB board
|
|
FlexTimer1 module is used to wakeup the system
|
|
|
|
Signed-off-by: Biwen Li <biwen.li@nxp.com>
|
|
---
|
|
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 17 +++++++++++++++++
|
|
1 file changed, 17 insertions(+)
|
|
|
|
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
|
|
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
|
|
@@ -17,6 +17,10 @@
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
|
|
+ aliases {
|
|
+ rtc1 = &ftm_alarm0;
|
|
+ };
|
|
+
|
|
cpus {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
@@ -767,6 +771,19 @@
|
|
little-endian;
|
|
};
|
|
};
|
|
+
|
|
+ rcpm: rcpm@1e34040 {
|
|
+ compatible = "fsl,ls1028a-rcpm", "fsl,qoriq-rcpm-2.1+";
|
|
+ reg = <0x0 0x1e34040 0x0 0x1c>;
|
|
+ #fsl,rcpm-wakeup-cells = <7>;
|
|
+ };
|
|
+
|
|
+ ftm_alarm0: timer@2800000 {
|
|
+ compatible = "fsl,ls1028a-ftm-alarm";
|
|
+ reg = <0x0 0x2800000 0x0 0x10000>;
|
|
+ fsl,rcpm-wakeup = <&rcpm 0x0 0x0 0x0 0x0 0x4000 0x0 0x0>;
|
|
+ interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ };
|
|
};
|
|
|
|
firmware {
|