Skip to content

Commit 93998bc

Browse files
committed
Merge tag 'tegra-for-6.16-arm64-dt' of https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into soc/dt
arm64: tegra: Device tree changes for v6.16-rc1 Enable IOMMU support for the internal DMA controller of the QSPI controller, add aliases for the I2C controllers on Tegra234 to match hardware block names as well as the UART-D alias on Jetson TX1, and enable PWM fans on Jetson TX1 and TX2. Clean up serial port device tree nodes, add missing DMA properties, enable the GPU on Jetson TX1 and Jetson TX2. Use an extended number of address- and size-cells on Tegra186 to mirror what is done on other chip generations. Enable CEC on developer kit devices. * tag 'tegra-for-6.16-arm64-dt' of https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux: arm64: tegra: Wire up CEC to devkits arm64: tegra: Add CEC controller on Tegra210 arm64: tegra: Add fallback CEC compatibles arm64: tegra: Add uartd serial alias for Jetson TX1 module arm64: tegra: Bump #address-cells and #size-cells on Tegra186 arm64: tegra: p2180: Explicitly enable GPU arm64: tegra: p3310: Explicitly enable GPU arm64: tegra: Add DMA properties for Tegra186 and Tegra194 UARTs arm64: tegra: Drop remaining serial clock-names and reset-names arm64: tegra: Enable PWM fan on the Jetson TX2 Devkit arm64: tegra: Enable PWM fan on the Jetson TX1 Devkit arm64: tegra: Add I2C aliases for Tegra234 arm64: tegra: Configure QSPI clocks and add DMA Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
2 parents a793e78 + 20440c7 commit 93998bc

15 files changed

+364
-93
lines changed

arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2394,6 +2394,12 @@
23942394
phy-names = "usb2-0";
23952395
};
23962396

2397+
cec@3960000 {
2398+
status = "okay";
2399+
2400+
hdmi-phandle = <&sor1>;
2401+
};
2402+
23972403
i2c@c250000 {
23982404
/* carrier board ID EEPROM */
23992405
eeprom@57 {
@@ -2409,6 +2415,10 @@
24092415
};
24102416
};
24112417

2418+
pwm@c340000 {
2419+
status = "okay";
2420+
};
2421+
24122422
pcie@10003000 {
24132423
status = "okay";
24142424

@@ -2508,6 +2518,16 @@
25082518
};
25092519
};
25102520

2521+
fan: pwm-fan {
2522+
compatible = "pwm-fan";
2523+
pwms = <&pwm4 0 45334>;
2524+
fan-supply = <&vdd_fan>;
2525+
2526+
/* cooling level (0, 1, 2, 3) - pwm inverted */
2527+
cooling-levels = <255 128 64 0>;
2528+
#cooling-cells = <2>;
2529+
};
2530+
25112531
vdd_sd: regulator-vdd-sd {
25122532
compatible = "regulator-fixed";
25132533
regulator-name = "SD_CARD_SW_PWR";
@@ -2556,6 +2576,17 @@
25562576
vin-supply = <&vdd_5v0_sys>;
25572577
};
25582578

2579+
vdd_fan: regulator-vdd-fan {
2580+
compatible = "regulator-fixed";
2581+
regulator-name = "VDD_FAN";
2582+
regulator-min-microvolt = <5000000>;
2583+
regulator-max-microvolt = <5000000>;
2584+
2585+
gpio = <&exp1 4 GPIO_ACTIVE_LOW>;
2586+
2587+
vin-supply = <&vdd_5v0_sys>;
2588+
};
2589+
25592590
sound {
25602591
compatible = "nvidia,tegra186-audio-graph-card";
25612592
status = "okay";
@@ -2621,4 +2652,88 @@
26212652

26222653
label = "NVIDIA Jetson TX2 APE";
26232654
};
2655+
2656+
thermal-zones {
2657+
cpu-thermal {
2658+
polling-delay = <0>;
2659+
polling-delay-passive = <500>;
2660+
status = "okay";
2661+
2662+
trips {
2663+
cpu_trip_critical: critical {
2664+
temperature = <96500>;
2665+
hysteresis = <0>;
2666+
type = "critical";
2667+
};
2668+
2669+
cpu_trip_hot: hot {
2670+
temperature = <79000>;
2671+
hysteresis = <2000>;
2672+
type = "hot";
2673+
};
2674+
2675+
cpu_trip_active: active {
2676+
temperature = <62000>;
2677+
hysteresis = <2000>;
2678+
type = "active";
2679+
};
2680+
2681+
cpu_trip_passive: passive {
2682+
temperature = <45000>;
2683+
hysteresis = <2000>;
2684+
type = "passive";
2685+
};
2686+
};
2687+
2688+
cooling-maps {
2689+
map0 {
2690+
cooling-device = <&fan 3 3>;
2691+
trip = <&cpu_trip_critical>;
2692+
};
2693+
2694+
map1 {
2695+
cooling-device = <&fan 2 2>;
2696+
trip = <&cpu_trip_hot>;
2697+
};
2698+
2699+
map2 {
2700+
cooling-device = <&fan 1 1>;
2701+
trip = <&cpu_trip_active>;
2702+
};
2703+
2704+
map3 {
2705+
cooling-device = <&fan 0 0>;
2706+
trip = <&cpu_trip_passive>;
2707+
};
2708+
};
2709+
};
2710+
2711+
aux-thermal {
2712+
polling-delay = <0>;
2713+
polling-delay-passive = <500>;
2714+
status = "okay";
2715+
2716+
trips {
2717+
aux_alert0: critical {
2718+
temperature = <90000>;
2719+
hysteresis = <0>;
2720+
type = "critical";
2721+
};
2722+
};
2723+
};
2724+
2725+
gpu-thermal {
2726+
polling-delay = <0>;
2727+
polling-delay-passive = <500>;
2728+
status = "okay";
2729+
2730+
trips {
2731+
gpu_alert0: critical {
2732+
temperature = <99000>;
2733+
hysteresis = <0>;
2734+
type = "critical";
2735+
};
2736+
};
2737+
};
2738+
};
26242739
};

arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@
6161
};
6262

6363
serial@3100000 {
64+
/delete-property/ dmas;
65+
/delete-property/ dma-names;
6466
status = "okay";
6567
};
6668

@@ -191,6 +193,10 @@
191193
nvidia,invert-interrupt;
192194
};
193195

196+
gpu@17000000 {
197+
status = "okay";
198+
};
199+
194200
bpmp {
195201
i2c {
196202
status = "okay";

arch/arm64/boot/dts/nvidia/tegra186-p3509-0000+p3636-0001.dts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,8 @@
549549
};
550550

551551
serial@3100000 {
552+
/delete-property/ dmas;
553+
/delete-property/ dma-names;
552554
status = "okay";
553555
};
554556

@@ -712,6 +714,12 @@
712714
phy-names = "usb2-0";
713715
};
714716

717+
cec@3960000 {
718+
status = "okay";
719+
720+
hdmi-phandle = <&sor1>;
721+
};
722+
715723
hsp@3c00000 {
716724
status = "okay";
717725
};

0 commit comments

Comments
 (0)