summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings
diff options
context:
space:
mode:
authorChen-Yu Tsai2018-12-07 09:47:19 +0100
committerAlexandre Belloni2018-12-07 09:55:08 +0100
commit8c4cf161a8b42749e986a3503f6cd4f3b5682fe3 (patch)
tree4218c5440396e0708dfee6ba137ee77c600c9937 /Documentation/devicetree/bindings
parentrtc: sun6i: Expose internal oscillator through device tree (diff)
downloadkernel-qcow2-linux-8c4cf161a8b42749e986a3503f6cd4f3b5682fe3.tar.gz
kernel-qcow2-linux-8c4cf161a8b42749e986a3503f6cd4f3b5682fe3.tar.xz
kernel-qcow2-linux-8c4cf161a8b42749e986a3503f6cd4f3b5682fe3.zip
dt-bindings: rtc: sun6i-rtc: Fix register range in example
The register range for the RTC extends beyond 0x54. Use the size from the user manual's memory map instead. Fixes: 9765d2d94309 ("rtc: sun6i: Add sun6i RTC driver") Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'Documentation/devicetree/bindings')
-rw-r--r--Documentation/devicetree/bindings/rtc/sun6i-rtc.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/rtc/sun6i-rtc.txt b/Documentation/devicetree/bindings/rtc/sun6i-rtc.txt
index ceb38abf1ea2..6b732c41392b 100644
--- a/Documentation/devicetree/bindings/rtc/sun6i-rtc.txt
+++ b/Documentation/devicetree/bindings/rtc/sun6i-rtc.txt
@@ -38,7 +38,7 @@ Example:
rtc: rtc@1f00000 {
compatible = "allwinner,sun6i-a31-rtc";
- reg = <0x01f00000 0x54>;
+ reg = <0x01f00000 0x400>;
interrupts = <0 40 4>, <0 41 4>;
clock-output-names = "osc32k";
clocks = <&ext_osc32k>;