arm64: dts: meson: add i2c3/rtc nodes and vrtc alias to GT-King/GT-King-Pro

The GT-King and GT-King-Pro boxes have an RTC chip and power cell, so enable it.

GTKING:~ # dmesg | grep rtc
[    5.237245] meson-vrtc ff8000a8.rtc: registered as rtc1
[    5.261869] rtc-hym8563 0-0051: registered as rtc0
[    5.265016] rtc-hym8563 0-0051: setting system clock to 2020-11-30T09:16:54 UTC (1606727814)

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/20201201062135.18241-1-christianshewitt@gmail.com
This commit is contained in:
Christian Hewitt 2020-12-01 06:21:35 +00:00 committed by Kevin Hilman
parent 9e454e37dc
commit 7704b10071
2 changed files with 35 additions and 0 deletions

View File

@ -14,6 +14,11 @@ / {
compatible = "azw,gtking", "amlogic,g12b"; compatible = "azw,gtking", "amlogic,g12b";
model = "Beelink GT-King Pro"; model = "Beelink GT-King Pro";
aliases {
rtc0 = &rtc;
rtc1 = &vrtc;
};
gpio-keys-polled { gpio-keys-polled {
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
#address-cells = <1>; #address-cells = <1>;
@ -112,6 +117,18 @@ &frddr_c {
status = "okay"; status = "okay";
}; };
&i2c3 {
status = "okay";
pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>;
pinctrl-names = "default";
rtc: rtc@51 {
compatible = "nxp,pcf8563";
reg = <0x51>;
wakeup-source;
};
};
&tdmif_b { &tdmif_b {
status = "okay"; status = "okay";
}; };

View File

@ -14,6 +14,11 @@ / {
compatible = "azw,gtking", "amlogic,g12b"; compatible = "azw,gtking", "amlogic,g12b";
model = "Beelink GT-King"; model = "Beelink GT-King";
aliases {
rtc0 = &rtc;
rtc1 = &vrtc;
};
spdif_dit: audio-codec-1 { spdif_dit: audio-codec-1 {
#sound-dai-cells = <0>; #sound-dai-cells = <0>;
compatible = "linux,spdif-dit"; compatible = "linux,spdif-dit";
@ -122,6 +127,19 @@ &frddr_c {
status = "okay"; status = "okay";
}; };
&i2c3 {
status = "okay";
pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>;
pinctrl-names = "default";
rtc: rtc@51 {
compatible = "nxp,pcf8563";
reg = <0x51>;
wakeup-source;
};
};
&spdifout { &spdifout {
pinctrl-0 = <&spdif_out_h_pins>; pinctrl-0 = <&spdif_out_h_pins>;
pinctrl-names = "default"; pinctrl-names = "default";