[Armadeus-commitlog] armadeus branch, master, updated. armadeus-7.0-213-gda799424b
Brought to you by:
sszy
|
From: Sébastien S. <ss...@us...> - 2020-10-20 08:30:16
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via da799424b02ddff647de382b6e8a514c37f68ecb (commit)
from ea4b0713205d206cf3a1fa821161a5d86882142c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit da799424b02ddff647de382b6e8a514c37f68ecb
Author: Sébastien Szymanski <seb...@ar...>
Date: Tue Oct 20 10:28:41 2020 +0200
[BSP] OPOS8MM: enable RTC (on I2C bus)
-----------------------------------------------------------------------
Summary of changes:
.../opos8mm/opos8mm-linux-legacy-5.4_defconfig | 8 +--
...-dts-imx8mm-opos8mm-enable-RTC-on-I2C-bus.patch | 62 ++++++++++++++++++++++
2 files changed, 63 insertions(+), 7 deletions(-)
create mode 100644 patches/linux/5.4.imx_legacy/0521-arm64-dts-imx8mm-opos8mm-enable-RTC-on-I2C-bus.patch
diff --git a/buildroot/target/device/armadeus/opos8mm/opos8mm-linux-legacy-5.4_defconfig b/buildroot/target/device/armadeus/opos8mm/opos8mm-linux-legacy-5.4_defconfig
index 8fa9ef617..ea73540ef 100644
--- a/buildroot/target/device/armadeus/opos8mm/opos8mm-linux-legacy-5.4_defconfig
+++ b/buildroot/target/device/armadeus/opos8mm/opos8mm-linux-legacy-5.4_defconfig
@@ -499,13 +499,7 @@ CONFIG_LEDS_TRIGGER_PANIC=y
CONFIG_EDAC=y
CONFIG_EDAC_GHES=y
CONFIG_RTC_CLASS=y
-CONFIG_RTC_DRV_DS1307=y
-CONFIG_RTC_DRV_PCF85363=y
-CONFIG_RTC_DRV_RX8581=m
-CONFIG_RTC_DRV_DS3232=y
-CONFIG_RTC_DRV_PCF2127=y
-CONFIG_RTC_DRV_EFI=y
-CONFIG_RTC_DRV_PL031=y
+CONFIG_RTC_DRV_PCF85063=y
CONFIG_RTC_DRV_SNVS=y
CONFIG_RTC_DRV_IMX_SC=y
CONFIG_DMADEVICES=y
diff --git a/patches/linux/5.4.imx_legacy/0521-arm64-dts-imx8mm-opos8mm-enable-RTC-on-I2C-bus.patch b/patches/linux/5.4.imx_legacy/0521-arm64-dts-imx8mm-opos8mm-enable-RTC-on-I2C-bus.patch
new file mode 100644
index 000000000..8113efd28
--- /dev/null
+++ b/patches/linux/5.4.imx_legacy/0521-arm64-dts-imx8mm-opos8mm-enable-RTC-on-I2C-bus.patch
@@ -0,0 +1,62 @@
+From e052c1193926ff3612b9bab86398714fa7d1c58b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?S=C3=A9bastien=20Szymanski?=
+ <seb...@ar...>
+Date: Tue, 20 Oct 2020 10:11:01 +0200
+Subject: [PATCH 521/521] arm64: dts: imx8mm-opos8mm: enable RTC (on I2C bus)
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Sébastien Szymanski <seb...@ar...>
+---
+ .../boot/dts/freescale/imx8mm-opos8mm.dtsi | 20 +++++++++++++++++++
+ 1 file changed, 20 insertions(+)
+
+diff --git a/arch/arm64/boot/dts/freescale/imx8mm-opos8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-opos8mm.dtsi
+index 2b54193bf944..064d4f9ac512 100644
+--- a/arch/arm64/boot/dts/freescale/imx8mm-opos8mm.dtsi
++++ b/arch/arm64/boot/dts/freescale/imx8mm-opos8mm.dtsi
+@@ -5,6 +5,11 @@
+ #include "imx8mm.dtsi"
+
+ / {
++ aliases {
++ rtc0 = &pcf85063a;
++ rtc1 = &snvs_rtc;
++ };
++
+ memory@40000000 {
+ reg = <0x00000000 0x4000000 0 0>; /* will be filled by U-Boot */
+ device_type = "memory";
+@@ -222,6 +227,15 @@
+ };
+ };
+ };
++
++ pcf85063a: rtc@51 {
++ compatible = "nxp,pcf85063a";
++ reg = <0x51>;
++ pinctrl-names = "default";
++ pinctrl-0 = <&pinctrl_rtc>;
++ interrupt-parent = <&gpio3>;
++ interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
++ };
+ };
+
+ &wdog1 {
+@@ -343,6 +357,12 @@
+ >;
+ };
+
++ pinctrl_rtc: rtcgrp {
++ fsl,pins = <
++ MX8MM_IOMUXC_NAND_CE1_B_GPIO3_IO2 0x90
++ >;
++ };
++
+ pinctrl_wdog: wdoggrp {
+ fsl,pins = <
+ MX8MM_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0x92
+--
+2.26.2
+
hooks/post-receive
--
armadeus
|