Skip to contentSkip to conversation

ARM64: dts: marvell: armada-3720 add RTC support

PATCH New Gregory CLEMENT 1 participant 2 messages Mar 8, 2017 – Mar 23, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM64: dts: marvell: armada-3720 add RTC support

The Armada 3720 DB board has an RTC on the I2C bus. It's a PT7C4337A from Pericom but which claims to be fully compatible with the ds1337.

---
 arch/arm64/boot/dts/marvell/armada-3720-db.dts | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/marvell/armada-3720-db.dts +6 -0
index 10207f96f090..38fa7a85c28a 100644
@@ -98,6 +98,12 @@
 		 * IO0_7: PWR_EN_SGMII	IO1_7: PWR_MCI_PS
 		 */
 	};
+
+	rtc at 68  {
+		/* PT7C4337A from pericom fully compatible with the ds1337 */
+		compatible = "dallas,ds1337";
+		reg = <0x68>;
+	};
 };
 
 /* CON3 */
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 ARM64: dts: marvell: armada-3720 add RTC support

Hi,

Quoted 4 lines · Gregory CLEMENT

The Armada 3720 DB board has an RTC on the I2C bus. It's a PT7C4337A from Pericom but which claims to be fully compatible with the ds1337.

Applied on mvebu/dt64

Gregory

Quoted 29 lines
---
 arch/arm64/boot/dts/marvell/armada-3720-db.dts | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/marvell/armada-3720-db.dts +6 -0
index 10207f96f090..38fa7a85c28a 100644
@@ -98,6 +98,12 @@
 		 * IO0_7: PWR_EN_SGMII	IO1_7: PWR_MCI_PS
 		 */
 	};
+
+	rtc at 68  {
+		/* PT7C4337A from pericom fully compatible with the ds1337 */
+		compatible = "dallas,ds1337";
+		reg = <0x68>;
+	};
 };
 
 /* CON3 */
Signature · 7 lines
2.11.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Signature · 4 lines
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com