arm64: tegra: A few DT updates for Tegra
Subsystems (2)
Jon Hunter
maintainercover arm64: tegra: A few DT updates for Tegra
This series adds ...
1. Support for Tegra19 Jetson Xavier NX
2. Support for the DFLL on Tegra210 Jetson Nano
3. Fixes VBUS supply for Tegra186 Jetson TX2
Jon Hunter (2):
arm64: tegra: Enable DFLL support on Jetson Nano
arm64: tegra: Populate VBUS for USB3 on Jetson TX2
Thierry Reding (1):
arm64: tegra: Add support for Jetson Xavier NX
arch/arm64/boot/dts/nvidia/Makefile | 1 + .../boot/dts/nvidia/tegra186-p2771-0000.dts | 1 + .../nvidia/tegra194-p3509-0000+p3668-0000.dts | 343 ++++++++++++++++++ .../boot/dts/nvidia/tegra194-p3668-0000.dtsi | 296 +++++++++++++++ .../boot/dts/nvidia/tegra210-p3450-0000.dts | 37 ++ 5 files changed, 678 insertions(+) create mode 100644 arch/arm64/boot/dts/nvidia/tegra194-p3509-0000+p3668-0000.dts create mode 100644 arch/arm64/boot/dts/nvidia/tegra194-p3668-0000.dtsi
Signature · 1 line
2.17.1
Jon Hunter
maintainerPATCH 1/3 arm64: tegra: Add support for Jetson Xavier NX
From: Thierry Reding <[email protected]>
Add the device-tree source files for the Tegra194 Jetson Xavier NX Developer Kit. The Xavier NX Developer Kit consists of a small form factor system-on-module (SOM) board (part number p3668-0000) and a carrier board (part number p3509-0000).
The Xavier NX Developer Kit SOM features a micro-SD card slot, however, there is also a variant of the SOM available that features a 16GB eMMC. Given that the carrier board can be used with the different SOM variants, that have different part numbers, both the compatible string and file name of the device-tree source file for the Developer Kit is a concatenation of the SOM and carrier board part numbers.
--- arch/arm64/boot/dts/nvidia/Makefile | 1 + .../nvidia/tegra194-p3509-0000+p3668-0000.dts | 343 ++++++++++++++++++ .../boot/dts/nvidia/tegra194-p3668-0000.dtsi | 296 +++++++++++++++ 3 files changed, 640 insertions(+) create mode 100644 arch/arm64/boot/dts/nvidia/tegra194-p3509-0000+p3668-0000.dts create mode 100644 arch/arm64/boot/dts/nvidia/tegra194-p3668-0000.dtsi
arch/arm64/boot/dts/nvidia/Makefile +1 -0
@@ -8,3 +8,4 @@ dtb-$(CONFIG_ARCH_TEGRA_210_SOC) += tegra210-smaug.dtb dtb-$(CONFIG_ARCH_TEGRA_210_SOC) += tegra210-p2894-0050-a08.dtb dtb-$(CONFIG_ARCH_TEGRA_186_SOC) += tegra186-p2771-0000.dtb dtb-$(CONFIG_ARCH_TEGRA_194_SOC) += tegra194-p2972-0000.dtb +dtb-$(CONFIG_ARCH_TEGRA_194_SOC) += tegra194-p3509-0000+p3668-0000.dtb
arch/arm64/boot/dts/nvidia/tegra194-p3509-0000+p3668-0000.dts new file +343 -0
343 lines not on this page · raw message
arch/arm64/boot/dts/nvidia/tegra194-p3668-0000.dtsi new file +296 -0
296 lines not on this page · raw message
Signature · 1 line
2.17.1
Jon Hunter
maintainerPATCH RESEND 1/1 arm64: tegra: Add support for Jetson Xavier NX
Add the device-tree source files for the Tegra194 Jetson Xavier NX Developer Kit. The Xavier NX Developer Kit consists of a small form factor system-on-module (SOM) board (part number p3668-0000) and a carrier board (part number p3509-0000).
The Xavier NX Developer Kit SOM features a micro-SD card slot, however, there is also a variant of the SOM available that features a 16GB eMMC. Given that the carrier board can be used with the different SOM variants, that have different part numbers, both the compatible string and file name of the device-tree source file for the Developer Kit is a concatenation of the SOM and carrier board part numbers.
This is based upon some initial work by Thierry Reding <[email protected]>.
---
I have updated the author and given credit to Thierry for doing the initial work on the change.
arch/arm64/boot/dts/nvidia/Makefile | 1 + .../nvidia/tegra194-p3509-0000+p3668-0000.dts | 343 ++++++++++++++++++ .../boot/dts/nvidia/tegra194-p3668-0000.dtsi | 296 +++++++++++++++ 3 files changed, 640 insertions(+) create mode 100644 arch/arm64/boot/dts/nvidia/tegra194-p3509-0000+p3668-0000.dts create mode 100644 arch/arm64/boot/dts/nvidia/tegra194-p3668-0000.dtsi
arch/arm64/boot/dts/nvidia/Makefile +1 -0
@@ -8,3 +8,4 @@ dtb-$(CONFIG_ARCH_TEGRA_210_SOC) += tegra210-smaug.dtb dtb-$(CONFIG_ARCH_TEGRA_210_SOC) += tegra210-p2894-0050-a08.dtb dtb-$(CONFIG_ARCH_TEGRA_186_SOC) += tegra186-p2771-0000.dtb dtb-$(CONFIG_ARCH_TEGRA_194_SOC) += tegra194-p2972-0000.dtb +dtb-$(CONFIG_ARCH_TEGRA_194_SOC) += tegra194-p3509-0000+p3668-0000.dtb
arch/arm64/boot/dts/nvidia/tegra194-p3509-0000+p3668-0000.dts new file +343 -0
343 lines not on this page · raw message
arch/arm64/boot/dts/nvidia/tegra194-p3668-0000.dtsi new file +296 -0
296 lines not on this page · raw message
Signature · 1 line
2.17.1
Re: [RESEND PATCH] arm64: tegra: Add support for Jetson Xavier NX
Quoted 21 lines · Jon Hunter
Add the device-tree source files for the Tegra194 Jetson Xavier NX Developer Kit. The Xavier NX Developer Kit consists of a small form factor system-on-module (SOM) board (part number p3668-0000) and a carrier board (part number p3509-0000).
The Xavier NX Developer Kit SOM features a micro-SD card slot, however, there is also a variant of the SOM available that features a 16GB eMMC. Given that the carrier board can be used with the different SOM variants, that have different part numbers, both the compatible string and file name of the device-tree source file for the Developer Kit is a concatenation of the SOM and carrier board part numbers.
This is based upon some initial work by Thierry Reding <[email protected]>.
Signed-off-by Jon Hunter <[email protected]>---
I have updated the author and given credit to Thierry for doing the initial work on the change.
Quoted 6 lines
arch/arm64/boot/dts/nvidia/Makefile | 1 + .../nvidia/tegra194-p3509-0000+p3668-0000.dts | 343 ++++++++++++++++++ .../boot/dts/nvidia/tegra194-p3668-0000.dtsi | 296 +++++++++++++++ 3 files changed, 640 insertions(+) create mode 100644 arch/arm64/boot/dts/nvidia/tegra194-p3509-0000+p3668-0000.dts create mode 100644 arch/arm64/boot/dts/nvidia/tegra194-p3668-0000.dtsi
I need this patch to avoid an error being flagged by checkpatch:
--- >8 ---
Documentation/devicetree/bindings/arm/tegra.yaml +8 -0
@@ -101,3 +101,11 @@ properties: - enum: - nvidia,p2972-0000 - const: nvidia,tegra194 + - description: Jetson Xavier NX + items: + - const: nvidia,p3668-0000 + - const: nvidia,tegra194 + - description: Jetson Xavier NX Developer Kit + items: + - const: nvidia,p3509-0000+p3668-0000 + - const: nvidia,tegra194
--- >8---
I'll submit that separately and have applied this one in the meantime.
Thanks,
Thierry
Jon Hunter
maintainerPATCH 2/3 arm64: tegra: Enable DFLL support on Jetson Nano
In reply to Jon HunterPopulate the DFLL node and corresponding PWM pin nodes in order to enable CPUFREQ support on the Jetson Nano platform.
--- .../boot/dts/nvidia/tegra210-p3450-0000.dts | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+)
arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts +37 -0
@@ -111,6 +111,22 @@ status = "okay"; }; + pinmux@700008d4 { + dvfs_pwm_active_state: dvfs_pwm_active { + dvfs_pwm_pbb1 { + nvidia,pins = "dvfs_pwm_pbb1"; + nvidia,tristate = <TEGRA_PIN_DISABLE>; + }; + }; + + dvfs_pwm_inactive_state: dvfs_pwm_inactive { + dvfs_pwm_pbb1 { + nvidia,pins = "dvfs_pwm_pbb1"; + nvidia,tristate = <TEGRA_PIN_ENABLE>; + }; + }; + }; + /* debug port */ serial@70006000 { status = "okay";
@@ -584,6 +600,27 @@ hvdd-usb-supply = <&vdd_1v8>; }; + clock@70110000 { + status = "okay"; + + nvidia,cf = <6>; + nvidia,ci = <0>; + nvidia,cg = <2>; + nvidia,droop-ctrl = <0x00000f00>; + nvidia,force-mode = <1>; + nvidia,sample-rate = <25000>; + + nvidia,pwm-min-microvolts = <708000>; + nvidia,pwm-period-nanoseconds = <2500>; /* 2.5us */ + nvidia,pwm-to-pmic; + nvidia,pwm-tristate-microvolts = <1000000>; + nvidia,pwm-voltage-step-microvolts = <19200>; + + pinctrl-names = "dvfs_pwm_enable", "dvfs_pwm_disable"; + pinctrl-0 = <&dvfs_pwm_active_state>; + pinctrl-1 = <&dvfs_pwm_inactive_state>; + }; + clk32k_in: clock@0 { compatible = "fixed-clock"; clock-frequency = <32768>;
Signature · 1 line
2.17.1
Thierry Reding
AppliedRe: [PATCH 2/3] arm64: tegra: Enable DFLL support on Jetson Nano
Quoted 7 lines · Jon Hunter
Populate the DFLL node and corresponding PWM pin nodes in order to enable CPUFREQ support on the Jetson Nano platform.
Signed-off-by Jon Hunter <[email protected]>--- .../boot/dts/nvidia/tegra210-p3450-0000.dts | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+)
Applied, thanks.
Thierry
Jon Hunter
maintainerPATCH 3/3 arm64: tegra: Populate VBUS for USB3 on Jetson TX2
In reply to Jon HunterThe VBUS for USB3 connector on the Jetson TX2 is connected to the vdd_usb1 supply and although this is populated for the USB2 port on the USB3 connector it is not populated for the USB3 port and causes the following warning to be seen on boot ...
usb3-0: supply vbus not found, using dummy regulator
Fix this by also adding the VBUS supply to the USB3 port.
--- arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts +1 -0
@@ -194,6 +194,7 @@ usb3-0 { nvidia,usb2-companion = <1>; + vbus-supply = <&vdd_usb1>; status = "okay"; }; };
Signature · 1 line
2.17.1
Thierry Reding
AppliedRe: [PATCH 3/3] arm64: tegra: Populate VBUS for USB3 on Jetson TX2
Quoted 5 lines · Jon Hunter
The VBUS for USB3 connector on the Jetson TX2 is connected to the
vdd_usb1supply and although this is populated for the USB2 port on the USB3 connector it is not populated for the USB3 port and causes the following warning to be seen on boot ...
Quoted 8 lines
usb3-0: supply vbus not found, using dummy regulator
Fix this by also adding the VBUS supply to the USB3 port.
Signed-off-by Jon Hunter <[email protected]>--- arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts | 1 + 1 file changed, 1 insertion(+)
Applied, thanks.
Thierry