2020-06-24 02:51:35

by Biwen Li (OSS)

[permalink] [raw]
Subject: [v3 2/4] arm64: dts: ls1028a: Add ftm_alarm0 DT node

From: Biwen Li <[email protected]>

The patch adds ftm_alarm0 DT node for LS1028ARDB board
FlexTimer1 module is used to wakeup the system

Signed-off-by: Biwen Li <[email protected]>
---
Change in v3:
- none

Change in v2:
- use generic name
- use definition

arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 17 +++++++++++++++++
1 file changed, 17 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
index 055f114..7bcb225 100644
--- 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>;
@@ -983,6 +987,19 @@
};
};
};
+
+ rcpm: power-controller@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>;
+ };
};

malidp0: display@f080000 {
--
2.7.4


2020-07-11 15:41:00

by Shawn Guo

[permalink] [raw]
Subject: Re: [v3 2/4] arm64: dts: ls1028a: Add ftm_alarm0 DT node

On Wed, Jun 24, 2020 at 10:44:59AM +0800, Biwen Li wrote:
> From: Biwen Li <[email protected]>
>
> The patch adds ftm_alarm0 DT node for LS1028ARDB board
> FlexTimer1 module is used to wakeup the system
>
> Signed-off-by: Biwen Li <[email protected]>

Applied, thanks.