ARM i.MX5: Add system reset controller (SRC) to i.MX51 and i.MX53 device tree
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 28 Mar 2013 16:35:23 +0000 (17:35 +0100)
committerShawn Guo <shawn.guo@linaro.org>
Tue, 9 Apr 2013 14:52:57 +0000 (22:52 +0800)
Also, link SRC to IPU via phandle.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx51.dtsi
arch/arm/boot/dts/imx53.dtsi

index 76d84a4..0f6d331 100644 (file)
@@ -70,6 +70,7 @@
                        interrupts = <11 10>;
                        clocks = <&clks 59>, <&clks 110>, <&clks 61>;
                        clock-names = "bus", "di0", "di1";
+                       resets = <&src 2>;
                };
 
                aips@70000000 { /* AIPS1 */
                                status = "disabled";
                        };
 
+                       src: src@73fd0000 {
+                               compatible = "fsl,imx51-src";
+                               reg = <0x73fd0000 0x4000>;
+                               #reset-cells = <1>;
+                       };
+
                        clks: ccm@73fd4000{
                                compatible = "fsl,imx51-ccm";
                                reg = <0x73fd4000 0x4000>;
index d98350e..845982e 100644 (file)
@@ -75,6 +75,7 @@
                        interrupts = <11 10>;
                        clocks = <&clks 59>, <&clks 110>, <&clks 61>;
                        clock-names = "bus", "di0", "di1";
+                       resets = <&src 2>;
                };
 
                aips@50000000 { /* AIPS1 */
                                status = "disabled";
                        };
 
+                       src: src@53fd0000 {
+                               compatible = "fsl,imx53-src", "fsl,imx51-src";
+                               reg = <0x53fd0000 0x4000>;
+                               #reset-cells = <1>;
+                       };
+
                        clks: ccm@53fd4000{
                                compatible = "fsl,imx53-ccm";
                                reg = <0x53fd4000 0x4000>;