lkml.org 
[lkml]   [2019]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 09/10] ARM: dts: at91: sama5d2: add rtc_adc_trigger node
Date
From: Eugen Hristev <eugen.hristev@microchip.com>

Add node for the AT91 RTC ADC Trigger.
This is a child node of the RTC and uses the same register map.
Add a link in the ADC node to this new node. This represents the internal
hardware line that is connected from the ADC to the RTC device.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
---
arch/arm/boot/dts/sama5d2.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index 5652048..c2df369 100644
--- a/arch/arm/boot/dts/sama5d2.dtsi
+++ b/arch/arm/boot/dts/sama5d2.dtsi
@@ -694,6 +694,16 @@
reg = <0xf80480b0 0x30>;
interrupts = <74 IRQ_TYPE_LEVEL_HIGH 7>;
clocks = <&clk32k>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges = <0 0xf80480b0 0x10>;
+
+ rtc_adc_trigger: rtc-adc-trigger {
+ reg = <0x0 0x10>;
+ compatible = "microchip,rtc-adc-trigger";
+ status = "disabled";
+ };
+
};

i2s0: i2s@f8050000 {
@@ -856,6 +866,7 @@
atmel,max-sample-rate-hz = <20000000>;
atmel,startup-time-ms = <4>;
atmel,trigger-edge-type = <IRQ_TYPE_EDGE_RISING>;
+ atmel,rtc-trigger = <&rtc_adc_trigger>;
#io-channel-cells = <1>;
status = "disabled";
};
--
2.7.4
\
 
 \ /
  Last update: 2019-12-18 17:27    [W:0.118 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site