Skip to content

Commit

Permalink
arm64: dts: meson: add i2c3/rtc nodes and vrtc alias to ODROID N2 dtsi
Browse files Browse the repository at this point in the history
Enable the onboard RTC hardware present on ODROID N2 and N2+ boards. Also
add aliases to ensure vrtc does not claim /dev/rtc0.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
  • Loading branch information
chewitt committed Jan 11, 2021
1 parent 9006927 commit 9c4e990
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
Expand Up @@ -13,6 +13,8 @@
aliases {
serial0 = &uart_AO;
ethernet0 = &ethmac;
rtc0 = &rtc;
rtc1 = &vrtc;
};

dioo2133: audio-amplifier-0 {
Expand Down Expand Up @@ -478,6 +480,18 @@
linux,rc-map-name = "rc-odroid";
};

&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;
};
};

&pwm_ab {
pinctrl-0 = <&pwm_a_e_pins>;
pinctrl-names = "default";
Expand Down

0 comments on commit 9c4e990

Please sign in to comment.