]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: meson: g12: factor the power domain.
authorJerome Brunet <jbrunet@baylibre.com>
Thu, 5 Sep 2019 12:59:55 +0000 (14:59 +0200)
committerKevin Hilman <khilman@baylibre.com>
Thu, 3 Oct 2019 15:43:00 +0000 (08:43 -0700)
The power domain declared in the g12a and g12b dtsi are the same.
Move the declaration of these power domains in the g12 common dtsi.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-g12.dtsi
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
arch/arm64/boot/dts/amlogic/meson-g12b.dtsi

index 1e30061fb2a7abfd2987e7d43519cb0477f85db0..ac5833781611f8b3b403dc1955ced895a7a8c1f7 100644 (file)
@@ -5,3 +5,16 @@
  */
 
 #include "meson-g12-common.dtsi"
+#include <dt-bindings/power/meson-g12a-power.h>
+
+&ethmac {
+       power-domains = <&pwrc PWRC_G12A_ETH_ID>;
+};
+
+&vpu {
+       power-domains = <&pwrc PWRC_G12A_VPU_ID>;
+};
+
+&sd_emmc_a {
+       amlogic,dram-access-quirk;
+};
index 69339d69dfd46074c08dafd1a9c8793ef0766842..07450c4babfc63d880a08c3e3578370a5c9daff9 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #include "meson-g12.dtsi"
-#include <dt-bindings/power/meson-g12a-power.h>
 
 / {
        compatible = "amlogic,g12a";
@@ -110,15 +109,3 @@ opp-1800000000 {
                };
        };
 };
-
-&ethmac {
-       power-domains = <&pwrc PWRC_G12A_ETH_ID>;
-};
-
-&vpu {
-       power-domains = <&pwrc PWRC_G12A_VPU_ID>;
-};
-
-&sd_emmc_a {
-       amlogic,dram-access-quirk;
-};
index eefac0ef092ba39fcc5fdb10c47a81debdd92b88..a9e1db0f115846208339dda206976a73f88aacd8 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include "meson-g12.dtsi"
-#include <dt-bindings/power/meson-g12a-power.h>
 
 / {
        compatible = "amlogic,g12b";
@@ -102,14 +101,3 @@ &clkc {
        compatible = "amlogic,g12b-clkc";
 };
 
-&ethmac {
-       power-domains = <&pwrc PWRC_G12A_ETH_ID>;
-};
-
-&vpu {
-       power-domains = <&pwrc PWRC_G12A_VPU_ID>;
-};
-
-&sd_emmc_a {
-       amlogic,dram-access-quirk;
-};