arm64: allwinner: h6: add PCF8563 RTC on Pine H64 board
[muen/linux.git] / arch / arm64 / boot / dts / allwinner / sun50i-h6-pine-h64.dts
1 // SPDX-License-Identifier: (GPL-2.0+ or MIT)
2 /*
3  * Copyright (c) 2017 Icenowy Zheng <icenowy@aosc.io>
4  */
5
6 /dts-v1/;
7
8 #include "sun50i-h6.dtsi"
9
10 #include <dt-bindings/gpio/gpio.h>
11
12 / {
13         model = "Pine H64";
14         compatible = "pine64,pine-h64", "allwinner,sun50i-h6";
15
16         aliases {
17                 serial0 = &uart0;
18         };
19
20         chosen {
21                 stdout-path = "serial0:115200n8";
22         };
23 };
24
25 &r_i2c {
26         status = "okay";
27
28         pcf8563: rtc@51 {
29                 compatible = "nxp,pcf8563";
30                 reg = <0x51>;
31                 #clock-cells = <0>;
32         };
33 };
34
35 &uart0 {
36         pinctrl-names = "default";
37         pinctrl-0 = <&uart0_ph_pins>;
38         status = "okay";
39 };