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

Commit 4c94ac29 authored by Benoit Cousson's avatar Benoit Cousson
Browse files

ARM: dts: OMAP: Move interrupt-parent to the root node to avoid duplication



The interrupt-parent attribute does not have to be added in each
node since the fmwk will check for the parent as well to get it.

Create an interrupt-parent for OMAP2, OMAP3, AM33xx and remove the
attributes from every nodes that were using it.

Signed-off-by: default avatarBenoit Cousson <b-cousson@ti.com>
Cc: Vaibhav Hiremath <hvaibhav@ti.com>
Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
Cc: Sebastien Guiriec <s-guiriec@ti.com>
parent 3ce0a99c
Loading
Loading
Loading
Loading
+1 −16
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@

/ {
	compatible = "ti,am33xx";
	interrupt-parent = <&intc>;

	aliases {
		serial0 = &uart1;
@@ -94,7 +95,6 @@
			interrupt-controller;
			#interrupt-cells = <1>;
			reg = <0x44e07000 0x1000>;
			interrupt-parent = <&intc>;
			interrupts = <96>;
		};

@@ -106,7 +106,6 @@
			interrupt-controller;
			#interrupt-cells = <1>;
			reg = <0x4804c000 0x1000>;
			interrupt-parent = <&intc>;
			interrupts = <98>;
		};

@@ -118,7 +117,6 @@
			interrupt-controller;
			#interrupt-cells = <1>;
			reg = <0x481ac000 0x1000>;
			interrupt-parent = <&intc>;
			interrupts = <32>;
		};

@@ -130,7 +128,6 @@
			interrupt-controller;
			#interrupt-cells = <1>;
			reg = <0x481ae000 0x1000>;
			interrupt-parent = <&intc>;
			interrupts = <62>;
		};

@@ -139,7 +136,6 @@
			ti,hwmods = "uart1";
			clock-frequency = <48000000>;
			reg = <0x44e09000 0x2000>;
			interrupt-parent = <&intc>;
			interrupts = <72>;
			status = "disabled";
		};
@@ -149,7 +145,6 @@
			ti,hwmods = "uart2";
			clock-frequency = <48000000>;
			reg = <0x48022000 0x2000>;
			interrupt-parent = <&intc>;
			interrupts = <73>;
			status = "disabled";
		};
@@ -159,7 +154,6 @@
			ti,hwmods = "uart3";
			clock-frequency = <48000000>;
			reg = <0x48024000 0x2000>;
			interrupt-parent = <&intc>;
			interrupts = <74>;
			status = "disabled";
		};
@@ -169,7 +163,6 @@
			ti,hwmods = "uart4";
			clock-frequency = <48000000>;
			reg = <0x481a6000 0x2000>;
			interrupt-parent = <&intc>;
			interrupts = <44>;
			status = "disabled";
		};
@@ -179,7 +172,6 @@
			ti,hwmods = "uart5";
			clock-frequency = <48000000>;
			reg = <0x481a8000 0x2000>;
			interrupt-parent = <&intc>;
			interrupts = <45>;
			status = "disabled";
		};
@@ -189,7 +181,6 @@
			ti,hwmods = "uart6";
			clock-frequency = <48000000>;
			reg = <0x481aa000 0x2000>;
			interrupt-parent = <&intc>;
			interrupts = <46>;
			status = "disabled";
		};
@@ -200,7 +191,6 @@
			#size-cells = <0>;
			ti,hwmods = "i2c1";
			reg = <0x44e0b000 0x1000>;
			interrupt-parent = <&intc>;
			interrupts = <70>;
			status = "disabled";
		};
@@ -211,7 +201,6 @@
			#size-cells = <0>;
			ti,hwmods = "i2c2";
			reg = <0x4802a000 0x1000>;
			interrupt-parent = <&intc>;
			interrupts = <71>;
			status = "disabled";
		};
@@ -222,7 +211,6 @@
			#size-cells = <0>;
			ti,hwmods = "i2c3";
			reg = <0x4819c000 0x1000>;
			interrupt-parent = <&intc>;
			interrupts = <30>;
			status = "disabled";
		};
@@ -231,7 +219,6 @@
			compatible = "ti,omap3-wdt";
			ti,hwmods = "wd_timer2";
			reg = <0x44e35000 0x1000>;
			interrupt-parent = <&intc>;
			interrupts = <91>;
		};

@@ -240,7 +227,6 @@
			ti,hwmods = "d_can0";
			reg = <0x481cc000 0x2000>;
			interrupts = <52>;
			interrupt-parent = <&intc>;
			status = "disabled";
		};

@@ -249,7 +235,6 @@
			ti,hwmods = "d_can1";
			reg = <0x481d0000 0x2000>;
			interrupts = <55>;
			interrupt-parent = <&intc>;
			status = "disabled";
		};
	};
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@

/ {
	compatible = "ti,omap2430", "ti,omap2420", "ti,omap2";
	interrupt-parent = <&intc>;

	aliases {
		serial0 = &uart1;
+0 −2
Original line number Diff line number Diff line
@@ -30,7 +30,6 @@
			interrupts = <59>, /* TX interrupt */
				     <60>; /* RX interrupt */
			interrupt-names = "tx", "rx";
			interrupt-parent = <&intc>;
			ti,hwmods = "mcbsp1";
		};

@@ -41,7 +40,6 @@
			interrupts = <62>, /* TX interrupt */
				     <63>; /* RX interrupt */
			interrupt-names = "tx", "rx";
			interrupt-parent = <&intc>;
			ti,hwmods = "mcbsp2";
		};
	};
+0 −5
Original line number Diff line number Diff line
@@ -32,7 +32,6 @@
				     <60>, /* RX interrupt */
				     <61>; /* RX overflow interrupt */
			interrupt-names = "common", "tx", "rx", "rx_overflow";
			interrupt-parent = <&intc>;
			ti,buffer-size = <128>;
			ti,hwmods = "mcbsp1";
		};
@@ -45,7 +44,6 @@
				     <62>, /* TX interrupt */
				     <63>; /* RX interrupt */
			interrupt-names = "common", "tx", "rx";
			interrupt-parent = <&intc>;
			ti,buffer-size = <128>;
			ti,hwmods = "mcbsp2";
		};
@@ -58,7 +56,6 @@
				     <89>, /* TX interrupt */
				     <90>; /* RX interrupt */
			interrupt-names = "common", "tx", "rx";
			interrupt-parent = <&intc>;
			ti,buffer-size = <128>;
			ti,hwmods = "mcbsp3";
		};
@@ -71,7 +68,6 @@
				     <54>, /* TX interrupt */
				     <55>; /* RX interrupt */
			interrupt-names = "common", "tx", "rx";
			interrupt-parent = <&intc>;
			ti,buffer-size = <128>;
			ti,hwmods = "mcbsp4";
		};
@@ -84,7 +80,6 @@
				     <81>, /* TX interrupt */
				     <82>; /* RX interrupt */
			interrupt-names = "common", "tx", "rx";
			interrupt-parent = <&intc>;
			ti,buffer-size = <128>;
			ti,hwmods = "mcbsp5";
		};
+1 −5
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@

/ {
	compatible = "ti,omap3430", "ti,omap3";
	interrupt-parent = <&intc>;

	aliases {
		serial0 = &uart1;
@@ -240,7 +241,6 @@
				     <59>, /* TX interrupt */
				     <60>; /* RX interrupt */
			interrupt-names = "common", "tx", "rx";
			interrupt-parent = <&intc>;
			ti,buffer-size = <128>;
			ti,hwmods = "mcbsp1";
		};
@@ -255,7 +255,6 @@
				     <63>, /* RX interrupt */
				     <4>;  /* Sidetone */
			interrupt-names = "common", "tx", "rx", "sidetone";
			interrupt-parent = <&intc>;
			ti,buffer-size = <1280>;
			ti,hwmods = "mcbsp2", "mcbsp2_sidetone";
		};
@@ -270,7 +269,6 @@
				     <90>, /* RX interrupt */
				     <5>;  /* Sidetone */
			interrupt-names = "common", "tx", "rx", "sidetone";
			interrupt-parent = <&intc>;
			ti,buffer-size = <128>;
			ti,hwmods = "mcbsp3", "mcbsp3_sidetone";
		};
@@ -283,7 +281,6 @@
				     <54>, /* TX interrupt */
				     <55>; /* RX interrupt */
			interrupt-names = "common", "tx", "rx";
			interrupt-parent = <&intc>;
			ti,buffer-size = <128>;
			ti,hwmods = "mcbsp4";
		};
@@ -296,7 +293,6 @@
				     <81>, /* TX interrupt */
				     <82>; /* RX interrupt */
			interrupt-names = "common", "tx", "rx";
			interrupt-parent = <&intc>;
			ti,buffer-size = <128>;
			ti,hwmods = "mcbsp5";
		};
Loading