arm64: dts: add power tree for darcy p2894
Daniel Fu [Wed, 28 Oct 2015 23:46:55 +0000 (16:46 -0700)]
Bug 1695353

Change-Id: I5b3ee0d2dd6ad7e4df9cc81e76692be3b5c6563f
Signed-off-by: Daniel Fu <danifu@nvidia.com>
Reviewed-on: http://git-master/r/824398
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vinayak Pane <vpane@nvidia.com>

arch/arm64/boot/dts/tegra210-darcy-p2894-common.dtsi
arch/arm64/boot/dts/tegra210-platforms/tegra210-darcy-power-tree-p2894-0000-a00.dtsi [new file with mode: 0644]

index 4f1c54f..268cfd9 100644 (file)
@@ -25,7 +25,7 @@
 #include "tegra210-common.dtsi"
 #include "tegra210-platforms/tegra210-sdhci.dtsi"
 #include "tegra210-platforms/tegra210-p2530-common.dtsi"
-#include "tegra210-platforms/tegra210-foster-e-power-tree-p2530-0932-e00.dtsi"
+#include "tegra210-platforms/tegra210-darcy-power-tree-p2894-0000-a00.dtsi"
 #include "tegra210-platforms/tegra210-pinmux-drive-sdmmc-common.dtsi"
 #include "tegra210-platforms/tegra210-loki-e-comms.dtsi"
 #include "tegra210-platforms/tegra210-foster-e-pwm-fan.dtsi"
diff --git a/arch/arm64/boot/dts/tegra210-platforms/tegra210-darcy-power-tree-p2894-0000-a00.dtsi b/arch/arm64/boot/dts/tegra210-platforms/tegra210-darcy-power-tree-p2894-0000-a00.dtsi
new file mode 100644 (file)
index 0000000..8db24c4
--- /dev/null
@@ -0,0 +1,39 @@
+/*
+ * Copyright (c) 2015, NVIDIA CORPORATION.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "tegra210-foster-e-power-tree-p2530-0932-e00.dtsi"
+
+/ {
+
+       regulators {
+               usb_vbus1: regulator@14 {
+                       gpio = <&gpio TEGRA_GPIO(CC, 5) 0>;
+               };
+
+               usb_vbus2: regulator@15 {
+                       gpio = <&gpio TEGRA_GPIO(CC, 4) 0>;
+               };
+       };
+
+       otg@7d000000 {
+               usb_vbus-supply = <&usb_vbus1>;
+       };
+
+       xusb@70090000 {
+               usb_vbus1-supply = <&battery_reg>;
+       };
+};