summaryrefslogtreecommitdiff
path: root/overlays/apalis-imx8qm_st-m41t0_overlay.dts
blob: 76374e020f6cef1520ba30ce536c2ef30aff4885 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Enable the external RTC ST m41t0

/dts-v1/;
/plugin/;

#include "dt-bindings/interrupt-controller/irq.h"
#include "dt-bindings/gpio/gpio.h"

/ {
	compatible = "toradex,apalis-imx8qm";
};

&i2c2 {
	#address-cells = <1>;
	#size-cells = <0>;

	/* M41T0M6 real time clock on carrier board */
	rtc_i2c: rtc@68 {
		compatible = "st,m41t0";
		reg = <0x68>;
	};
};

&{/aliases} {
	aliases {
		rtc0 = &rtc_i2c;
	};
};