summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2018-12-07 16:47:19 +0800
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2018-12-07 09:55:08 +0100
commit8c4cf161a8b42749e986a3503f6cd4f3b5682fe3 (patch)
tree4218c5440396e0708dfee6ba137ee77c600c9937
parentc56afc1844d6a8a050d73eda1a59d286e1d5bc04 (diff)
downloadlinux-8c4cf161a8b42749e986a3503f6cd4f3b5682fe3.tar.bz2
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>
-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>;