ARM: dts: iwg20d-q7-common: Move cmt/rwdt node out of RZ/G1M SOM
authorBiju Das <biju.das@bp.renesas.com>
Wed, 5 Dec 2018 09:06:51 +0000 (09:06 +0000)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 5 Dec 2018 19:18:53 +0000 (11:18 -0800)
The iWave RZ/G1N board is almost identical to RZ/G1M. cmt and rwdt modules
are SoC specific and should be part of board dts rather than SoM dtsi. By
moving these nodes to the common dtsi it allows cmt and rwdt to be enabled
on both of these boards with less lines of code.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/iwg20d-q7-common.dtsi
arch/arm/boot/dts/r8a7743-iwg20m.dtsi

index ca9154dd8052b43de8ed9e945b6896260c1db1f9..e2b1ab9b56e5657eedfc710061db76d962bf4390 100644 (file)
        status = "okay";
 };
 
+&cmt0 {
+       status = "okay";
+};
+
 &hsusb {
        status = "okay";
        pinctrl-0 = <&usb0_pins>;
        };
 };
 
+&rwdt {
+       timeout-sec = <60>;
+       status = "okay";
+};
+
 &scif0 {
        pinctrl-0 = <&scif0_pins>;
        pinctrl-names = "default";
index 0e2e033cc84982f3d3c9d9f25089afad73f58cd2..b3fee1d61c87d031381fb36fa027d8bb3456c4e5 100644 (file)
        };
 };
 
-&cmt0 {
-       status = "okay";
-};
-
 &extal_clk {
        clock-frequency = <20000000>;
 };
        };
 };
 
-&rwdt {
-       timeout-sec = <60>;
-       status = "okay";
-};
-
 &sdhi0 {
        pinctrl-0 = <&sdhi0_pins>;
        pinctrl-names = "default";