aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/layerscape/patches-5.4/302-dts-0071-arm-dts-ls1021a-replace-ftm0-with-ftm_alarm0-DT-node.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/layerscape/patches-5.4/302-dts-0071-arm-dts-ls1021a-replace-ftm0-with-ftm_alarm0-DT-node.patch')
-rw-r--r--target/linux/layerscape/patches-5.4/302-dts-0071-arm-dts-ls1021a-replace-ftm0-with-ftm_alarm0-DT-node.patch63
1 files changed, 0 insertions, 63 deletions
diff --git a/target/linux/layerscape/patches-5.4/302-dts-0071-arm-dts-ls1021a-replace-ftm0-with-ftm_alarm0-DT-node.patch b/target/linux/layerscape/patches-5.4/302-dts-0071-arm-dts-ls1021a-replace-ftm0-with-ftm_alarm0-DT-node.patch
deleted file mode 100644
index 2d63cc0b55..0000000000
--- a/target/linux/layerscape/patches-5.4/302-dts-0071-arm-dts-ls1021a-replace-ftm0-with-ftm_alarm0-DT-node.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-From f3a115bd1372e774979ecb81919664279b81810e Mon Sep 17 00:00:00 2001
-From: Biwen Li <biwen.li@nxp.com>
-Date: Fri, 28 Jun 2019 16:36:20 +0800
-Subject: [PATCH] arm: dts: ls1021a: replace ftm0 with ftm_alarm0 DT node
-
-The patch replaces ftm0 with ftm_alarm0 DT node
- - remove old ftm0 node
- - add rcpm node
- - add ftm_alarm0 node
- - aliases ftm_alarm0 as rtc1
-
-Signed-off-by: Biwen Li <biwen.li@nxp.com>
----
- arch/arm/boot/dts/ls1021a.dtsi | 24 ++++++++++++++----------
- 1 file changed, 14 insertions(+), 10 deletions(-)
-
---- a/arch/arm/boot/dts/ls1021a.dtsi
-+++ b/arch/arm/boot/dts/ls1021a.dtsi
-@@ -66,6 +66,7 @@
- serial4 = &lpuart4;
- serial5 = &lpuart5;
- sysclk = &sysclk;
-+ rtc1 = &ftm_alarm0;
- };
-
- cpus {
-@@ -549,16 +550,6 @@
- status = "disabled";
- };
-
-- ftm0: ftm0@29d0000 {
-- compatible = "fsl,ftm-alarm";
-- reg = <0x0 0x29d0000 0x0 0x10000>,
-- <0x0 0x1ee2140 0x0 0x4>;
-- reg-names = "ftm", "FlexTimer1";
-- interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
-- big-endian;
-- status = "okay";
-- };
--
- pwm1: pwm@29e0000 {
- compatible = "fsl,vf610-ftm-pwm";
- #pwm-cells = <3>;
-@@ -970,6 +961,19 @@
- big-endian;
- };
-
-+ rcpm: rcpm@1ee2140 {
-+ compatible = "fsl,ls1021a-rcpm", "fsl,qoriq-rcpm-2.1+";
-+ reg = <0x0 0x1ee2140 0x0 0x8>;
-+ #fsl,rcpm-wakeup-cells = <2>;
-+ };
-+
-+ ftm_alarm0: timer0@29d0000 {
-+ compatible = "fsl,ls1021a-ftm-alarm";
-+ reg = <0x0 0x29d0000 0x0 0x10000>;
-+ fsl,rcpm-wakeup = <&rcpm 0x0 0x20000000>;
-+ interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
-+ big-endian;
-+ };
- };
-
- thermal-zones {