Commit 59b4c260 authored by Xianwei Zhao's avatar Xianwei Zhao Committed by Neil Armstrong
Browse files

arm64: dts: amlogic: C3: Add RTC controller node

parent 8f5ae30d
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -53,6 +53,13 @@ xtal: xtal-clk {
		#clock-cells = <0>;
	};

	xtal_32k: xtal-clk-32k {
		compatible = "fixed-clock";
		clock-frequency = <32768>;
		clock-output-names = "xtal_32k";
		#clock-cells = <0>;
	};

	sm: secure-monitor {
		compatible = "amlogic,meson-gxbb-sm";

@@ -967,6 +974,15 @@ nand: nand-controller@8d000 {
				clock-names = "core", "device";
				status = "disabled";
			};

			rtc@9a000 {
				compatible = "amlogic,c3-rtc",
					     "amlogic,a5-rtc";
				reg = <0x0 0x9a000 0x0 0x38>;
				interrupts = <GIC_SPI 131 IRQ_TYPE_EDGE_RISING>;
				clocks = <&xtal_32k>, <&clkc_periphs CLKID_SYS_RTC>;
				clock-names = "osc", "sys";
			};
		};

		ethmac: ethernet@fdc00000 {