arm: dts: simplified rk3229 board configs.
authorFrank Wang <frank.wang@rock-chips.com>
Tue, 2 May 2017 08:42:38 +0000 (16:42 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 9 May 2017 12:06:57 +0000 (20:06 +0800)
Move EMMC and UART configs from every board DTS to a DTSI file.

Change-Id: If2fd49b9243b879ae89e172f55903eedfd4f3981
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
arch/arm/boot/dts/rk3229-echo-v10.dts
arch/arm/boot/dts/rk3229-evb.dts
arch/arm/boot/dts/rk322x-android.dtsi

index 19bf6234057648a0ddb8ab606013717e1ed6d8d0..484c1bda47e0645cce04d9065721cb7e405e5118 100644 (file)
        };
 };
 
-&emmc {
-       broken-cd;
-       bus-width = <8>;
-       cap-mmc-highspeed;
-       supports-emmc;
-       disable-wp;
-       non-removable;
-       num-slots = <1>;
-       /delete-property/ default-sample-phase;
-       /delete-property/ pinctrl-names;
-       /delete-property/ pinctrl-0;
-       status = "okay";
-};
-
 &i2c0 {
        status = "okay";
 
index 6905788e3db8c2e34c6f82d16f4ad0683c9bbf99..36ace42b66c5b7b1ac6303531ebdc71524cb5748 100644 (file)
@@ -1,4 +1,6 @@
 /*
+ * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd
+ *
  * This file is dual-licensed: you can use it either under the terms
  * of the GPL or the X11 license, at your option. Note that this dual
  * licensing only applies to this file, and not this project as a
@@ -41,6 +43,7 @@
 /dts-v1/;
 
 #include "rk322x.dtsi"
+#include "rk322x-android.dtsi"
 
 / {
        model = "Rockchip RK3229 Evaluation board";
 &u2phy1_host {
        phy-supply = <&vcc_host>;
 };
-
-&uart2 {
-       status = "okay";
-};
index 6729dbe7973ac7bf6ecbc8a60e43c9bcd9522822..54cc74a10801faa6ae16f37214279e7bb260afab 100644 (file)
@@ -16,7 +16,7 @@
  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  *     GNU General Public License for more details.
  *
- * Or, alternatively,
+ *  Or, alternatively,
  *
  *  b) Permission is hereby granted, free of charge, to any person
  *     obtaining a copy of this software and associated documentation
        enable-method = "psci";
 };
 
+&emmc {
+       broken-cd;
+       bus-width = <8>;
+       cap-mmc-highspeed;
+       supports-emmc;
+       disable-wp;
+       non-removable;
+       num-slots = <1>;
+       /delete-property/ default-sample-phase;
+       /delete-property/ pinctrl-names;
+       /delete-property/ pinctrl-0;
+       status = "okay";
+};
+
 &u2phy0 {
        status = "okay";