ARM64: dts; Hawkeye: add A04 and A05 wifi SKU dts
Venkat Reddy Talla [Fri, 11 Dec 2015 10:19:55 +0000 (15:19 +0530)]
Adding device tree files to support A04 and A05
Hawkeye wifi board revision platforms.

Bug 1710164

Change-Id: I5d4b7d9187a6e69b08eae849b758b29dd084b4c5
Signed-off-by: Steve Rogers <srogers@nvidia.com>
(cherry picked from commit 217b5766c35dd5cc03a5cf3ab7b4c365f890810d)
Reviewed-on: http://git-master/r/922219
Reviewed-by: Automatic_Commit_Validation_User

arch/arm64/boot/dts/Makefile
arch/arm64/boot/dts/tegra210-hawkeye-p2290-2305-a05-00-wifi.dts [new file with mode: 0644]
arch/arm64/boot/dts/tegra210-hawkeye-p2290-2306-a05-00-wifi.dts [new file with mode: 0644]
arch/arm64/boot/dts/tegra210-hawkeye-p2290-2307-a05-00-wifi.dts [new file with mode: 0644]
arch/arm64/boot/dts/tegra210-hawkeye-p2290-3304-a04-00-wifi.dts [new file with mode: 0644]
arch/arm64/boot/dts/tegra210-hawkeye-p2290-3306-a04-00-wifi.dts [new file with mode: 0644]

index 1f67fcd..8266186 100644 (file)
@@ -98,6 +98,11 @@ dtb-$(CONFIG_ARCH_TEGRA_21x_SOC) += tegra210-hawkeye-p2290-3304-a04-00-base.dtb
 dtb-$(CONFIG_ARCH_TEGRA_21x_SOC) += tegra210-hawkeye-p2290-3304-a04-00.dtb
 dtb-$(CONFIG_ARCH_TEGRA_21x_SOC) += tegra210-hawkeye-p2290-3306-a04-00-base.dtb
 dtb-$(CONFIG_ARCH_TEGRA_21x_SOC) += tegra210-hawkeye-p2290-3306-a04-00.dtb
+dtb-$(CONFIG_ARCH_TEGRA_21x_SOC) += tegra210-hawkeye-p2290-3304-a04-00-wifi.dtb
+dtb-$(CONFIG_ARCH_TEGRA_21x_SOC) += tegra210-hawkeye-p2290-3306-a04-00-wifi.dtb
+dtb-$(CONFIG_ARCH_TEGRA_21x_SOC) += tegra210-hawkeye-p2290-2305-a05-00-wifi.dtb
+dtb-$(CONFIG_ARCH_TEGRA_21x_SOC) += tegra210-hawkeye-p2290-2306-a05-00-wifi.dtb
+dtb-$(CONFIG_ARCH_TEGRA_21x_SOC) += tegra210-hawkeye-p2290-2307-a05-00-wifi.dtb
 dtb-$(CONFIG_ARCH_TEGRA_21x_SOC) += tegra210-t18x-interposer-p3310-1000-a00-00.dtb
 dtb-$(CONFIG_ARCH_TEGRA_21x_SOC) += tegra210-t18x-interposer-e3301-1000-a00-00.dtb
 dtb-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra186-sim-cl34324618.dtb
diff --git a/arch/arm64/boot/dts/tegra210-hawkeye-p2290-2305-a05-00-wifi.dts b/arch/arm64/boot/dts/tegra210-hawkeye-p2290-2305-a05-00-wifi.dts
new file mode 100644 (file)
index 0000000..bf16970
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+ * Hawkeye P2290 A05 wifi PVT board.
+ *      NVPN: 699-82290-2305-500
+ *      variant: WLAN_3GB_F0_PVT
+ *      SKU: 2305
+ *      assembly version: TM671D & Wi-Fi only
+ *      LPDDR4 capacity: 3 GB
+ *      optional features: no NFC + no sensor hub + no barometer
+ *      manufacturing phase : PVT
+ *
+ * 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.
+ */
+
+#include "tegra210-hawkeye-p2290-3304-a04-00-wifi.dts"
+#include "tegra210-hawkeye-p2290-shim.dtsi"
+
+/ {
+       nvidia,dtsfilename = __FILE__;
+       nvidia,boardids = "2290:2305:A05";
+       nvidia,proc-boardid = "2290:2305:A05";
+};
diff --git a/arch/arm64/boot/dts/tegra210-hawkeye-p2290-2306-a05-00-wifi.dts b/arch/arm64/boot/dts/tegra210-hawkeye-p2290-2306-a05-00-wifi.dts
new file mode 100644 (file)
index 0000000..d9bd8b1
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+ * Hawkeye P2290 A05 wifi MP board.
+ *      NVPN: 699-82290-2306-500
+ *      variant: WLAN_3GB_F0_MP
+ *      SKU: 2306
+ *      assembly version: TM671D & Wi-Fi only
+ *      LPDDR4 capacity: 3 GB
+ *      optional features: no NFC + no sensor hub + no barometer
+ *      manufacturing phase : MP
+ *
+ * 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.
+ */
+
+#include "tegra210-hawkeye-p2290-2305-a05-00-wifi.dts"
+#include "tegra210-hawkeye-p2290-shim.dtsi"
+
+/ {
+       nvidia,dtsfilename = __FILE__;
+       nvidia,boardids = "2290:2306:A05";
+       nvidia,proc-boardid = "2290:2306:A05";
+};
diff --git a/arch/arm64/boot/dts/tegra210-hawkeye-p2290-2307-a05-00-wifi.dts b/arch/arm64/boot/dts/tegra210-hawkeye-p2290-2307-a05-00-wifi.dts
new file mode 100644 (file)
index 0000000..57e3b9a
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+ * Hawkeye P2290 A05 wifi MP SD board.
+ *      NVPN: 699-82290-2307-500
+ *      variant: WLAN_3GB_F0_QUAL
+ *      SKU: 2307
+ *      assembly version: TM671D & Wi-Fi only
+ *      LPDDR4 capacity: 3 GB
+ *      optional features: no NFC + no sensor hub + no barometer
+ *      manufacturing phase : MP + SP debug
+ *
+ * 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.
+ */
+
+#include "tegra210-hawkeye-p2290-2306-a05-00-wifi.dts"
+#include "tegra210-hawkeye-p2290-shim.dtsi"
+
+/ {
+       nvidia,dtsfilename = __FILE__;
+       nvidia,boardids = "2290:2307:A05";
+       nvidia,proc-boardid = "2290:2307:A05";
+};
diff --git a/arch/arm64/boot/dts/tegra210-hawkeye-p2290-3304-a04-00-wifi.dts b/arch/arm64/boot/dts/tegra210-hawkeye-p2290-3304-a04-00-wifi.dts
new file mode 100644 (file)
index 0000000..e26c70b
--- /dev/null
@@ -0,0 +1,52 @@
+/*
+ * Hawkeye P2290 A04 wifi DVT board.
+ *      NVPN: 699-82290-3304-400
+ *      variant: WWAN_3GB_F0_DVT
+ *      SKU: 3304
+ *      assembly version: TM671D & Wi-Fi only
+ *      LPDDR4 capacity: 3 GB
+ *      optional features: no NFC + no sensor hub + no barometer
+ *      manufacturing phase : DVT
+ *
+ * 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.
+ */
+
+#include "tegra210-hawkeye-p2290-3304-a03-00-base.dts"
+#include "tegra210-hawkeye-p2290-shim.dtsi"
+
+/ {
+       nvidia,dtsfilename = __FILE__;
+       nvidia,boardids = "2290:3304:A04";
+       nvidia,proc-boardid = "2290:3304:A04";
+
+       i2c@7000c000 {
+               cy8c_panel@09 {
+                       compatible = "nvidia,cy8c_panel";
+                       reg = <0x09>;
+                       enable-gpio = <&gpio TEGRA_GPIO(K, 1) 0>;
+                       max-xfer-sz = <64>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+               };
+       };
+
+       /* On A04 the cy8c microcontroller is used to enabled
+       * the panel. This is done in part by by using the GPIO
+       * that was formerly used to enable the vdd_lcd_1v8
+       * regulator. Disable this regulator now, so that there's
+       * no contention for the GPIO */
+       regulators {
+               vdd_lcd_1v8: regulator@5 {
+                       status = "disabled";
+               };
+       };
+};
diff --git a/arch/arm64/boot/dts/tegra210-hawkeye-p2290-3306-a04-00-wifi.dts b/arch/arm64/boot/dts/tegra210-hawkeye-p2290-3306-a04-00-wifi.dts
new file mode 100644 (file)
index 0000000..22ecb38
--- /dev/null
@@ -0,0 +1,52 @@
+/*
+ * Hawkeye P2290 A04 wifi MP board.
+ *      NVPN: 699-82290-3306-400
+ *      variant: WWAN_3GB_F0_MP
+ *      SKU: 3306
+ *      assembly version: TM671D & Wi-Fi only
+ *      LPDDR4 capacity: 3 GB
+ *      optional features: no NFC + no sensor hub + no barometer
+ *      manufacturing phase : MP
+ *
+ * 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.
+ */
+
+#include "tegra210-hawkeye-p2290-3304-a04-00-wifi.dts"
+#include "tegra210-hawkeye-p2290-shim.dtsi"
+
+/ {
+       nvidia,dtsfilename = __FILE__;
+       nvidia,boardids = "2290:3306:A04";
+       nvidia,proc-boardid = "2290:3306:A04";
+
+       i2c@7000c000 {
+               cy8c_panel@09 {
+                       compatible = "nvidia,cy8c_panel";
+                       reg = <0x09>;
+                       enable-gpio = <&gpio TEGRA_GPIO(K, 1) 0>;
+                       max-xfer-sz = <64>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+               };
+       };
+
+       /* On A04 the cy8c microcontroller is used to enabled
+       * the panel. This is done in part by by using the GPIO
+       * that was formerly used to enable the vdd_lcd_1v8
+       * regulator. Disable this regulator now, so that there's
+       * no contention for the GPIO */
+       regulators {
+               vdd_lcd_1v8: regulator@5 {
+                       status = "disabled";
+               };
+       };
+};