]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
arm64: tegra: add modem node in T210 DTS
authorMark Kuo <mkuo@nvidia.com>
Tue, 22 Jul 2014 07:32:46 +0000 (15:32 +0800)
committerSteve Lin <stlin@nvidia.com>
Fri, 25 Jul 2014 01:35:18 +0000 (18:35 -0700)
Add modem node to T210 DTS

Bug 200012894

Change-Id: I2c84db13aa6f5f786b6a11929384b5e896e56215
Signed-off-by: Mark Kuo <mkuo@nvidia.com>
Reviewed-on: http://git-master/r/439073
Tested-by: Steve Lin <stlin@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>
arch/arm64/boot/dts/tegra210-ers-common.dtsi
arch/arm64/boot/dts/tegra210-platforms/tegra210-ers-pinmux-e2190-1100-a00.dtsi
arch/arm64/boot/dts/tegra210-platforms/tegra210-ers-pinmux-e2220-1100-a00.dtsi

index c40fcde57bd45dfb6b02446813ac75647cdcb114..dc16c55ab7d7ed75af6ab09c6c136d97d24aa2f7 100644 (file)
@@ -1,5 +1,24 @@
+/*
+ * Copyright (c) 2014, 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
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+ */
+
 #include "tegra210.dtsi"
 #include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/gpio/tegra-gpio.h>
 #include "tegra210-platforms/tegra210-ers-dfll-e2174-1101-a00.dtsi"
 / {
 
                #extcon-cells = <1>;
                status = "okay";
        };
+
+       modem {
+               compatible = "nvidia,icera-i500";
+               nvidia,boot-gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_LOW>;
+               nvidia,mdm-power-report-gpio = <&gpio TEGRA_GPIO(L, 1) GPIO_ACTIVE_LOW>;
+               nvidia,reset-gpio = <&gpio TEGRA_GPIO(L, 0) GPIO_ACTIVE_LOW>;
+               nvidia,mdm-en-gpio = <&gpio TEGRA_GPIO(K, 7) GPIO_ACTIVE_HIGH>;
+               status = "disabled";
+       };
 };
index 97b70a6bc41870683c96c0d42596e8620f8bc25e..0ac8541ea5b62f3e1452db412ee6dc9e5e5a3400 100644 (file)
                        pk6 {
                                nvidia,pins = "pk6";
                                nvidia,function = "rsvd2";
-                               nvidia,pull = <TEGRA_PIN_PULL_NONE>;
+                               nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
                                nvidia,tristate = <TEGRA_PIN_DISABLE>;
                                nvidia,enable-input = <TEGRA_PIN_ENABLE>;
                        };
index e69f17d54b179a3792f82c0e6c527232c1120773..d0f0ad93301419a6141102ba1bfa28c8f2d0f689 100644 (file)
                        pk6 {
                                nvidia,pins = "pk6";
                                nvidia,function = "rsvd1";
-                               nvidia,pull = <TEGRA_PIN_PULL_NONE>;
+                               nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
                                nvidia,tristate = <TEGRA_PIN_DISABLE>;
                                nvidia,enable-input = <TEGRA_PIN_ENABLE>;
                        };