Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0183f52 authored by Alexey Brodkin's avatar Alexey Brodkin Committed by Vineet Gupta
Browse files

ARC: [axs101] Prepare for AXS103



To avoid duplicating the MB DTS file, move the MB intc entry into cpu
card specific file

Cc: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: devicetree@vger.kernel.org
Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent a12ebe16
Loading
Loading
Loading
Loading
+21 −0
Original line number Original line Diff line number Diff line
@@ -69,6 +69,27 @@
		};
		};
	};
	};


	/*
	 * This INTC is actually connected to DW APB GPIO
	 * which acts as a wire between MB INTC and CPU INTC.
	 * GPIO INTC is configured in platform init code
	 * and here we mimic direct connection from MB INTC to
	 * CPU INTC, thus we set "interrupts = <7>" instead of
	 * "interrupts = <12>"
	 *
	 * This intc actually resides on MB, but we move it here to
	 * avoid duplicating the MB dtsi file given that IRQ from
	 * this intc to cpu intc are different for axs101 and axs103
	 */
	mb_intc: dw-apb-ictl@0xe0012000 {
		#interrupt-cells = <1>;
		compatible = "snps,dw-apb-ictl";
		reg = < 0xe0012000 0x200 >;
		interrupt-controller;
		interrupt-parent = <&cpu_intc>;
		interrupts = < 7 >;
	};

	memory {
	memory {
		#address-cells = <1>;
		#address-cells = <1>;
		#size-cells = <1>;
		#size-cells = <1>;
+0 −17
Original line number Original line Diff line number Diff line
@@ -36,23 +36,6 @@
			};
			};
		};
		};


		/*
		 * This INTC is actually connected to DW APB GPIO
		 * which acts as a wire between MB INTC and CPU INTC.
		 * GPIO INTC is configured in platform init code
		 * and here we mimic direct connection from MB INTC to
		 * CPU INTC, thus we set "interrupts = <7>" instead of
		 * "interrupts = <12>"
		 */
		mb_intc: dw-apb-ictl@0x12000 {
			#interrupt-cells = <1>;
			compatible = "snps,dw-apb-ictl";
			reg = < 0x12000 0x200 >;
			interrupt-controller;
			interrupt-parent = <&cpu_intc>;
			interrupts = < 7 >;
		};

		ethernet@0x18000 {
		ethernet@0x18000 {
			#interrupt-cells = <1>;
			#interrupt-cells = <1>;
			compatible = "snps,dwmac";
			compatible = "snps,dwmac";