From: Icenowy Zheng Date: Thu, 3 May 2018 18:38:47 +0000 (+0800) Subject: arm64: allwinner: h6: add PCF8563 RTC on Pine H64 board X-Git-Tag: v4.18-rc1~50^2~20^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=17ebc33afc35094f779ddca92ffcbda800365574;p=thirdparty%2Fkernel%2Flinux.git arm64: allwinner: h6: add PCF8563 RTC on Pine H64 board Pine H64 board has a PCF8563 dedicated RTC connected to its R_I2C bus. Enable the R_I2C bus and add the RTC to the device tree. Signed-off-by: Icenowy Zheng Signed-off-by: Maxime Ripard --- diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts index d36de5eb81f3f..b6f2d6b2ecaea 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts @@ -22,6 +22,16 @@ }; }; +&r_i2c { + status = "okay"; + + pcf8563: rtc@51 { + compatible = "nxp,pcf8563"; + reg = <0x51>; + #clock-cells = <0>; + }; +}; + &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_ph_pins>;