]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
arm64: jetson: add expander IO placeholder DTSI
authorShreshtha SAHU <ssahu@nvidia.com>
Wed, 8 Jul 2015 11:22:01 +0000 (16:52 +0530)
committerLaxman Dewangan <ldewangan@nvidia.com>
Wed, 22 Jul 2015 13:18:01 +0000 (06:18 -0700)
Add placeholder to handle modules which will be plugged to expander IO
interface. Each node will be enabled selectively after verification.

Bug 200121436

Change-Id: Ib93efe1430fd97bed46754fe9266a5f69250d5fb
Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/767524
(cherry picked from commit f71180c090deae824e5db59ba635e18ca0d532d2)
Reviewed-on: http://git-master/r/772751
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
arch/arm64/boot/dts/tegra210-jetson-cv-p2597-2180-a00.dts
arch/arm64/boot/dts/tegra210-platforms/tegra210-jetson-common-power-tree-p2530-0930-e03.dtsi
arch/arm64/boot/dts/tegra210-platforms/tegra210-jetson-cv-super-module-e2614-a00.dtsi [new file with mode: 0644]
arch/arm64/boot/dts/tegra210-platforms/tegra210-jetson-e-power-tree-p2530-0930-e03.dtsi

index ccf9d2d9849bf3584dfc91f65c34cedc37d3dc24..500efbcb4f2b0ae607a7cdbcdf8ccbe259cddf0d 100644 (file)
@@ -16,6 +16,7 @@
 
 #include "tegra210-jetson-cv-base-p2597-2180-a00.dts"
 #include "tegra210-platforms/tegra210-modem-common.dtsi"
+#include "tegra210-platforms/tegra210-jetson-cv-super-module-e2614-a00.dtsi"
 #include "tegra210-platforms/tegra210-jetson-cv-shim-p2597-2180-a00.dtsi"
 
 / {
index a604ab2391b890da8494dadbc5ac98ca514971b5..8f309c721d3af78ad8b6ec99f914c825d1cd58f8 100644 (file)
                        vin-supply = <&vdd_3v3>;
                };
        };
-       i2c@7000c000 {
-               icm20628@68 {
-                       vlogic-supply = <&max77620_sd3>;
-                       vdd-supply = <&max77620_sd3>;
-               };
-
-               ak8963c@0c {
-                       vid-supply = <&max77620_sd3>;
-                       vdd-supply = <&vdd_3v3>;
-               };
-
-               jsa1127@39 {
-                       vdd-supply = <&vdd_3v3>;
-               };
-       };
 
        i2c@546c0000 {
                bus-pullup-supply = <&battery_reg>;
diff --git a/arch/arm64/boot/dts/tegra210-platforms/tegra210-jetson-cv-super-module-e2614-a00.dtsi b/arch/arm64/boot/dts/tegra210-platforms/tegra210-jetson-cv-super-module-e2614-a00.dtsi
new file mode 100644 (file)
index 0000000..c380a90
--- /dev/null
@@ -0,0 +1,45 @@
+/*
+ * Jetson-CV Super Module peripherals
+ *
+ * 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; version 2 of the License.
+ *
+ * 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.
+ *
+ */
+
+/ {
+       i2c@7000c000 {
+               icm20628@68 {
+                       status = "disabled";
+               };
+
+               ak8963c@0c {
+                       status = "disabled";
+               };
+
+               jsa1127@39 {
+                       status = "disabled";
+               };
+       };
+
+       ahub {
+               i2s@702d1000 {
+                       status = "disabled";
+               };
+
+               i2s@702d1100 {
+                       status = "disabled";
+               };
+       };
+
+       spi@7000d600 {
+               status = "disabled";
+       };
+};
index 218c6646a32c8db125005a3e3dfb5138e617d455..090a3321fd0e7b0bce4b32cb13a7bde8f31ab889 100644 (file)
                iopower-sdmmc2-supply = <&max77620_sd3>;
                iopower-dp-supply = <&max77620_sd3>;
        };
+
+       i2c@7000c000 {
+               icm20628@68 {
+                       vlogic-supply = <&max77620_sd3>;
+                       vdd-supply = <&max77620_sd3>;
+               };
+
+               ak8963c@0c {
+                       vid-supply = <&max77620_sd3>;
+                       vdd-supply = <&vdd_3v3>;
+               };
+
+               jsa1127@39 {
+                       vdd-supply = <&vdd_3v3>;
+               };
+       };
 };