| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | From 31301e26a9d72fe2e4ecdf0999e9fda4c6832188 Mon Sep 17 00:00:00 2001 | 
 | 2 | From: Biwen Li <biwen.li@nxp.com> | 
 | 3 | Date: Thu, 1 Aug 2019 12:34:33 +0800 | 
 | 4 | Subject: [PATCH] arm64: dts: lx2160a: add ftm_alarm0 DT node | 
 | 5 |  | 
 | 6 | The patch adds ftm_alarm0 DT node for Soc LX2160A | 
 | 7 | FlexTimer1 module is used to wakeup the system in deep sleep | 
 | 8 |  | 
 | 9 | Signed-off-by: Biwen Li <biwen.li@nxp.com> | 
 | 10 | --- | 
 | 11 |  arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 18 ++++++++++++++++++ | 
 | 12 |  1 file changed, 18 insertions(+) | 
 | 13 |  | 
 | 14 | --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 
 | 15 | +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 
 | 16 | @@ -15,6 +15,10 @@ | 
 | 17 |  	#address-cells = <2>; | 
 | 18 |  	#size-cells = <2>; | 
 | 19 |   | 
 | 20 | +	aliases { | 
 | 21 | +		rtc1 = &ftm_alarm0; | 
 | 22 | +	}; | 
 | 23 | + | 
 | 24 |  	cpus { | 
 | 25 |  		#address-cells = <1>; | 
 | 26 |  		#size-cells = <0>; | 
 | 27 | @@ -769,6 +773,20 @@ | 
 | 28 |  			timeout-sec = <30>; | 
 | 29 |  		}; | 
 | 30 |   | 
 | 31 | +		rcpm: rcpm@1e34040 { | 
 | 32 | +			compatible = "fsl,lx2160a-rcpm", "fsl,qoriq-rcpm-2.1+"; | 
 | 33 | +			reg = <0x0 0x1e34040 0x0 0x1c>; | 
 | 34 | +			#fsl,rcpm-wakeup-cells = <7>; | 
 | 35 | +			little-endian; | 
 | 36 | +		}; | 
 | 37 | + | 
 | 38 | +		ftm_alarm0: timer@2800000 { | 
 | 39 | +			compatible = "fsl,lx2160a-ftm-alarm"; | 
 | 40 | +			reg = <0x0 0x2800000 0x0 0x10000>; | 
 | 41 | +			fsl,rcpm-wakeup = <&rcpm 0x0 0x0 0x0 0x0 0x4000 0x0 0x0>; | 
 | 42 | +			interrupts = <0 44 4>; | 
 | 43 | +		}; | 
 | 44 | + | 
 | 45 |  		usb0: usb@3100000 { | 
 | 46 |  			compatible = "snps,dwc3"; | 
 | 47 |  			reg = <0x0 0x3100000 0x0 0x10000>; |