From: Svyatoslav Ryhel <clamor95@gmail.com>
To: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Thierry Reding <thierry.reding@kernel.org>,
Jonathan Hunter <jonathanh@nvidia.com>,
Svyatoslav Ryhel <clamor95@gmail.com>,
Mikko Perttunen <mperttunen@nvidia.com>
Cc: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH v1 08/18] ARM: tegra: tegratab: Configure wireless devices
Date: Sun, 22 Nov 2026 22:13:57 +0200 [thread overview]
Message-ID: <20261122201407.23742-9-clamor95@gmail.com> (raw)
In-Reply-To: <20261122201407.23742-1-clamor95@gmail.com>
The tegratab uses the Texas Instruments WL1801 (WiLink 8) single-band
combo module — providing Wi-Fi, Bluetooth, and Bluetooth Low Energy (LE)
for wireless communications. Additionally, the tegranote7c variant
incorporates an Icera i500 modem for LTE support.
The Wi-Fi interface is connected to MMC1 (SDIO), and Bluetooth is linked
to UART-B.
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
---
.../tegra114-nvidia-tegratab-common.dtsi | 51 +++++++++++++++++++
.../nvidia/tegra114-nvidia-tegratab-p1640.dts | 12 +++++
.../nvidia/tegra114-nvidia-tegratab-p1988.dts | 5 ++
3 files changed, 68 insertions(+)
diff --git a/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-common.dtsi b/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-common.dtsi
index b7a14e24df79b..bb5788b2539cd 100644
--- a/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-common.dtsi
+++ b/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-common.dtsi
@@ -18,6 +18,7 @@ aliases {
mmc2 = &sdmmc1; /* WiFi */
serial0 = &uartd;
+ serial1 = &uartc; /* Bluetooth */
};
firmware {
@@ -934,6 +935,30 @@ drive-gma {
};
};
+ serial@70006200 {
+ compatible = "nvidia,tegra114-hsuart", "nvidia,tegra30-hsuart";
+ reset-names = "serial";
+ /delete-property/ reg-shift;
+ status = "okay";
+
+ nvidia,adjust-baud-rates = <0 9600 100>,
+ <9600 115200 200>,
+ <1000000 4000000 136>;
+
+ bluetooth {
+ compatible = "ti,wl1801-st";
+ max-speed = <3000000>;
+
+ clocks = <&palmas_clk32k>;
+ clock-names = "ext_clock";
+
+ enable-gpios = <&gpio TEGRA_GPIO(R, 1) GPIO_ACTIVE_HIGH>;
+
+ vbat-supply = <&vdd_3v3_com>;
+ vio-supply = <&vdd_1v8_vio>;
+ };
+ };
+
serial@70006300 {
/delete-property/ dmas;
/delete-property/ dma-names;
@@ -1015,6 +1040,11 @@ palmas_gpio: gpio {
#gpio-cells = <2>;
};
+ palmas_clk32k: palmas_clk32kg@0 {
+ compatible = "ti,palmas-clk32kg";
+ #clock-cells = <0>;
+ };
+
pinmux {
compatible = "ti,tps65913-pinctrl";
ti,palmas-enable-dvfs1;
@@ -1281,8 +1311,20 @@ sdmmc1: mmc@78000000 {
nvidia,default-tap = <0x2>;
nvidia,default-trim = <0x2>;
+ mmc-pwrseq = <&wl18xx_wifi_pwrseq>;
vmmc-supply = <&vdd_3v3_com>;
vqmmc-supply = <&vdd_1v8_vio>;
+
+ wifi@2 {
+ compatible = "ti,wl1801";
+ reg = <2>;
+
+ interrupt-parent = <&gpio>;
+ interrupts = <TEGRA_GPIO(U, 5) IRQ_TYPE_LEVEL_HIGH>;
+
+ ref-clock-frequency = <26000000>;
+ tcxo-clock-frequency = <26000000>;
+ };
};
/* MicroSD */
@@ -1409,6 +1451,15 @@ key-volume-up {
};
};
+ wl18xx_wifi_pwrseq: pwrseq-wifi {
+ compatible = "mmc-pwrseq-simple";
+
+ reset-gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>;
+
+ post-power-on-delay-ms = <100>;
+ power-off-delay-us = <100>;
+ };
+
vdd_5v0_sys: regulator-5v0-sys {
compatible = "regulator-fixed";
regulator-name = "vdd_5v0_sys";
diff --git a/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-p1640.dts b/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-p1640.dts
index 409df3de17a82..8177e4f7db489 100644
--- a/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-p1640.dts
+++ b/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-p1640.dts
@@ -6,4 +6,16 @@
/ {
model = "Nvidia Tegra Note 7 (P1640)";
compatible = "nvidia,tegratab", "nvidia,tegra114";
+
+ pwrseq-wifi {
+ clocks = <&tegra_pmc TEGRA_PMC_CLK_OUT_3>;
+ clock-names = "ext_clock";
+
+ assigned-clocks = <&tegra_car TEGRA114_CLK_EXTERN3>,
+ <&tegra_pmc TEGRA_PMC_CLK_OUT_3>;
+ assigned-clock-rates = <32768>;
+
+ assigned-clock-parents = <&tegra_car TEGRA114_CLK_CLK_32K>,
+ <&tegra_car TEGRA114_CLK_EXTERN3>;
+ };
};
diff --git a/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-p1988.dts b/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-p1988.dts
index f461a2c492b1f..9447203eeda36 100644
--- a/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-p1988.dts
+++ b/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-p1988.dts
@@ -19,6 +19,11 @@ ldo4 {
};
};
+ pwrseq-wifi {
+ clocks = <&palmas_clk32k>;
+ clock-names = "ext_clock";
+ };
+
regulator-gyro {
gpio = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>;
enable-active-high;
--
2.53.0
next prev parent reply other threads:[~2026-11-22 20:14 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-22 20:13 [PATCH v1 00/18] [WIP] ARM: tegra: Update Tegra Note 7 configuration Svyatoslav Ryhel
2026-11-22 20:13 ` [PATCH v1 01/18] dt-bindings: ARM: tegra: Document Tegra Note 7 variants Svyatoslav Ryhel
2026-11-22 20:13 ` [PATCH v1 02/18] ARM: tegra: Diverge Tegra Note 7 device tree to support its common versions Svyatoslav Ryhel
2026-11-22 20:13 ` [PATCH v1 03/18] ARM: tegra: tegratab: Upgrade powerlines configuration Svyatoslav Ryhel
2026-11-22 20:13 ` [PATCH v1 04/18] ARM: tegra: tegratab: Add pinmux node Svyatoslav Ryhel
2026-11-22 20:13 ` [PATCH v1 05/18] ARM: tegra: tegratab: Bind VDE device Svyatoslav Ryhel
2026-11-22 20:13 ` [PATCH v1 06/18] ARM: tegra: tegratab: Configure USB and power supply Svyatoslav Ryhel
2026-11-22 20:13 ` [PATCH v1 07/18] ARM: tegra: tegratab: Configure MMC devices Svyatoslav Ryhel
2026-11-22 20:13 ` Svyatoslav Ryhel [this message]
2026-11-22 20:13 ` [PATCH v1 09/18] ARM: tegra: tegratab: Add thermal configuration Svyatoslav Ryhel
2026-11-22 20:13 ` [PATCH v1 10/18] ARM: tegra: tegratab: Configure HDMI Svyatoslav Ryhel
2026-11-22 20:14 ` [PATCH v1 11/18] ARM: tegra: tegratab: Add audio codec and sound card configuration Svyatoslav Ryhel
2026-11-22 20:14 ` [PATCH v1 12/18] ARM: tegra: tegratab: Add common sensor nodes Svyatoslav Ryhel
2026-11-22 20:14 ` [PATCH v1 13/18] ARM: tegra: tegratab: Add MC and EMC timing nodes Svyatoslav Ryhel
2026-11-22 20:14 ` [PATCH v1 14/18] ARM: tegra: tegratab: Add CPU DFLL clock node Svyatoslav Ryhel
2026-11-22 20:14 ` [PATCH v1 15/18] ARM: tegra: tegratab: Update GPIO keys and switches Svyatoslav Ryhel
2026-11-22 20:14 ` [PATCH v1 16/18] ARM: tegra: tegratab: Update aliases, chosen and memory nodes Svyatoslav Ryhel
2026-11-22 20:14 ` [PATCH v1 17/18] ARM: tegra: tegratab: Add video input configuration Svyatoslav Ryhel
2026-11-22 20:14 ` [PATCH v1 18/18] ARM: tegra: tegratab: Add panel rotation Svyatoslav Ryhel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261122201407.23742-9-clamor95@gmail.com \
--to=clamor95@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jonathanh@nvidia.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=mperttunen@nvidia.com \
--cc=robh@kernel.org \
--cc=thierry.reding@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®