Commit d1425eff authored by Anisetti Avinash Krishna's avatar Anisetti Avinash Krishna Committed by Henrik Brix Andersen
Browse files

dts: x86: Added required modifications to support RTC MFD

Added required modifications to dtsi files to support Motorola, mc146818
MFD, Counter, RTC, and BBRAM (for supported devices).

Signed-off-by: default avatarAnisetti Avinash Krishna <anisetti.avinash.krishna@intel.com>
parent 08b8f3c4
Loading
Loading
Loading
Loading
+4 −0
Changes for boards/intel/btl/intel_btl_s_crb.dts: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -31,6 +31,10 @@
	status = "okay";
};

&mfd {
	status = "okay";
};

&rtc {
	status = "okay";
};
+14 −2
Changes for dts/x86/intel/alder_lake.dtsi: 14 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -430,9 +430,12 @@
			status = "okay";
		};

		rtc: counter: rtc@70 {
		mfd: mfd@70 {
			compatible = "motorola,mc146818-mfd";
			reg = <0x70 0x01 0x71 0x01 0x72 0x01 0x73 0x01>;

			rtc: counter: rtc {
				compatible = "motorola,mc146818";
			reg = <0x70 0x0D 0x71 0x0D>;
				interrupts = <8 IRQ_TYPE_LOWEST_EDGE_RISING 3>;
				interrupt-parent = <&intc>;
				alarms-count = <1>;
@@ -440,6 +443,15 @@
				status = "okay";
			};

			bbram: bbram {
				compatible = "motorola,mc146818-bbram";
				size = <241>;
				status = "okay";
			};

			status = "okay";
		};

		tco_wdt: tco_wdt@400 {
			compatible = "intel,tco-wdt";
			reg = <0x0400 0x20>;
+9 −2
Changes for dts/x86/intel/apollo_lake.dtsi: 9 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -387,15 +387,22 @@
			status = "okay";
		};

		rtc: counter: rtc@70 {
		mfd: mfd@70 {
			compatible = "motorola,mc146818-mfd";
			reg = <0x70 0x01 0x71 0x01 0x72 0x01 0x73 0x01>;

			rtc: counter: rtc {
				compatible = "motorola,mc146818";
			reg = <0x70 0x0D 0x71 0x0D>;
				interrupts = <8 IRQ_TYPE_LOWEST_EDGE_RISING 3>;
				interrupt-parent = <&intc>;
				alarms-count = <1>;

				status = "okay";
			};

			status = "okay";
		};

	};

	gpio_n: gpio-north {
+8 −2
Changes for dts/x86/intel/atom.dtsi: 8 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -77,14 +77,20 @@
			status = "disabled";
		};

		rtc: counter: rtc@70 {
		mfd: mfd@70 {
			compatible = "motorola,mc146818-mfd";
			reg = <0x70 0x01 0x71 0x01 0x72 0x01 0x73 0x01>;

			rtc: counter: rtc {
				compatible = "motorola,mc146818";
			reg = <0x70 0x0D 0x71 0x0D>;
				interrupts = <8 IRQ_TYPE_LOWEST_EDGE_RISING 3>;
				interrupt-parent = <&intc>;
				alarms-count = <1>;

				status = "okay";
			};

			status = "okay";
		};
	};
};
+14 −2
Changes for dts/x86/intel/bartlett_lake_s.dtsi: 14 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -560,9 +560,12 @@
			status = "disabled";
		};

		rtc: counter: rtc@70 {
		mfd: mfd@70 {
			compatible = "motorola,mc146818-mfd";
			reg = <0x70 0x01 0x71 0x01 0x72 0x01 0x73 0x01>;

			rtc: counter: rtc {
				compatible = "motorola,mc146818";
			reg = <0x70 0x0D 0x71 0x0D>;
				interrupts = <8 IRQ_TYPE_LOWEST_EDGE_RISING 3>;
				interrupt-parent = <&intc>;
				alarms-count = <1>;
@@ -570,6 +573,15 @@
				status = "disabled";
			};

			bbram: bbram {
				compatible = "motorola,mc146818-bbram";
				size = <241>;
				status = "disabled";
			};

			status = "disabled";
		};

		tgpio: tgpio@fe001200 {
			compatible = "intel,timeaware-gpio";
			reg = <0xfe001200 0x100>;
Loading