ARM: tegra: Device tree changes for v5.5-rc1

Adds support for CPU frequency scaling on Tegra20 and Tegra30, EMC
 frequency scaling on Tegra30, SMMU support for VDE on Tegra30, the
 STMPE ADC found on Toradex T30 modules as well as fixes for eDP
 support on Venice2.
 -----BEGIN PGP SIGNATURE-----
 
 iQJHBAABCAAxFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAl29juUTHHRyZWRpbmdA
 bnZpZGlhLmNvbQAKCRDdI6zXfz6zoZ7rD/9XhTBgFXzd5C6yyJpjIBD/3F/4vnlK
 SZ/3ZktWe9ZzwQJhMXaURxaggrTD0MXJj95/Ga03FSxtYBgb7mT6TL0m7QCnMjhR
 MSekoWQaBU+MUTIUbfT/2YS1+6JTnwRxQBDD+2/qPwI6HcnJ/BIzIN7fRlAh4Xu8
 TwzQdzE2pym4PPIAkiiu7iTcF468tFiRUWj01o06B/k21tHNnNqYUP/1KLY6N5pZ
 oqn+FAXfgLFrmjUQi28Z+0UyAekeDl7kLmoNMUerFqI53j3+n5iosogUWznnO9NG
 tN88ftULL7lA29NR7nnu++Ev5UiE/40HrpuxTcQkHLE4mNQX9eGHrhZ1/kP9ZLnN
 bysYxlzr1IXZ8Mefe8Z422wQvNlQWuvNfbS0no0Xkn4H3HH0ajmYF5uv0tIna9q2
 A0eWGWbhbEyuaPzSiOWMpo4Ae/bgV7PWQSdVyBluB+yX8bXoSRr8o8I3xd6uWjaY
 cgF5BN32AwM44k3jgI8+HkdSxzvpdrPsxGitwpy+Yr3AW15SJ3uWA0sEemuZQ81P
 +ZX+YEepCwVIgDp34oP+vWwfbGRoo3rNJrOM2CCADHQ+p1pXARKQmHRpxU2X3L35
 akYNdjhvi04cIoLcP748YZYQ0Z8/Kjiofg1dMSGjmAVQZgOyF7YUrURm3x9qR6rU
 yVlQPmJDj0gF5A==
 =rlo7
 -----END PGP SIGNATURE-----

Merge tag 'tegra-for-5.5-arm-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into arm/dt

ARM: tegra: Device tree changes for v5.5-rc1

Adds support for CPU frequency scaling on Tegra20 and Tegra30, EMC
frequency scaling on Tegra30, SMMU support for VDE on Tegra30, the
STMPE ADC found on Toradex T30 modules as well as fixes for eDP
support on Venice2.

* tag 'tegra-for-5.5-arm-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  ARM: tegra: cardhu-a04: Add CPU Operating Performance Points
  ARM: tegra: cardhu-a04: Set up voltage regulators for DVFS
  ARM: tegra: trimslice: Add CPU Operating Performance Points
  ARM: tegra: paz00: Add CPU Operating Performance Points
  ARM: tegra: paz00: Set up voltage regulators for DVFS
  ARM: tegra: Add CPU Operating Performance Points for Tegra30
  ARM: tegra: Add CPU Operating Performance Points for Tegra20
  ARM: tegra: Add Tegra30 CPU clock
  ARM: tegra: Add Tegra20 CPU clock
  ARM: tegra: Add External Memory Controller node on Tegra30
  ARM: tegra: nyan-big: Add timings for RAM codes 4 and 6
  ARM: tegra: Connect SMMU with Video Decoder Engine on Tegra30
  ARM: tegra: Add eDP power supplies on Venice2
  ARM: tegra: Add SOR0_OUT clock on Tegra124
  ARM: tegra: Add stmpe-adc DT node to Toradex T30 modules

Link: https://lore.kernel.org/r/20191102144521.3863321-6-thierry.reding@gmail.com
Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
Olof Johansson 2019-11-03 17:27:39 -08:00
commit 2687aa23f5
15 changed files with 8911 additions and 1654 deletions

File diff suppressed because it is too large Load Diff

View File

@ -38,6 +38,9 @@ hdmi@54280000 {
sor@54540000 {
status = "okay";
avdd-io-hdmi-dp-supply = <&vdd_1v05_run>;
vdd-hdmi-dp-pll-supply = <&vdd_3v3_run>;
nvidia,dpaux = <&dpaux>;
nvidia,panel = <&panel>;
};

View File

@ -157,10 +157,11 @@ sor@54540000 {
reg = <0x0 0x54540000 0x0 0x00040000>;
interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&tegra_car TEGRA124_CLK_SOR0>,
<&tegra_car TEGRA124_CLK_SOR0_OUT>,
<&tegra_car TEGRA124_CLK_PLL_D_OUT0>,
<&tegra_car TEGRA124_CLK_PLL_DP>,
<&tegra_car TEGRA124_CLK_CLK_M>;
clock-names = "sor", "parent", "dp", "safe";
clock-names = "sor", "out", "parent", "dp", "safe";
resets = <&tegra_car 182>;
reset-names = "sor";
status = "disabled";

View File

@ -0,0 +1,201 @@
// SPDX-License-Identifier: GPL-2.0
/ {
cpu0_opp_table: cpu_opp_table0 {
opp@216000000_750 {
opp-microvolt = <750000 750000 1125000>;
};
opp@216000000_800 {
opp-microvolt = <800000 800000 1125000>;
};
opp@312000000_750 {
opp-microvolt = <750000 750000 1125000>;
};
opp@312000000_800 {
opp-microvolt = <800000 800000 1125000>;
};
opp@456000000_750 {
opp-microvolt = <750000 750000 1125000>;
};
opp@456000000_800 {
opp-microvolt = <800000 800000 1125000>;
};
opp@456000000_800_2_2 {
opp-microvolt = <800000 800000 1125000>;
};
opp@456000000_800_3_2 {
opp-microvolt = <800000 800000 1125000>;
};
opp@456000000_825 {
opp-microvolt = <825000 825000 1125000>;
};
opp@608000000_750 {
opp-microvolt = <750000 750000 1125000>;
};
opp@608000000_800 {
opp-microvolt = <800000 800000 1125000>;
};
opp@608000000_800_3_2 {
opp-microvolt = <800000 800000 1125000>;
};
opp@608000000_825 {
opp-microvolt = <825000 825000 1125000>;
};
opp@608000000_850 {
opp-microvolt = <850000 850000 1125000>;
};
opp@608000000_900 {
opp-microvolt = <900000 900000 1125000>;
};
opp@760000000_775 {
opp-microvolt = <775000 775000 1125000>;
};
opp@760000000_800 {
opp-microvolt = <800000 800000 1125000>;
};
opp@760000000_850 {
opp-microvolt = <850000 850000 1125000>;
};
opp@760000000_875 {
opp-microvolt = <875000 875000 1125000>;
};
opp@760000000_875_1_1 {
opp-microvolt = <875000 875000 1125000>;
};
opp@760000000_875_0_2 {
opp-microvolt = <875000 875000 1125000>;
};
opp@760000000_875_1_2 {
opp-microvolt = <875000 875000 1125000>;
};
opp@760000000_900 {
opp-microvolt = <900000 900000 1125000>;
};
opp@760000000_975 {
opp-microvolt = <975000 975000 1125000>;
};
opp@816000000_800 {
opp-microvolt = <800000 800000 1125000>;
};
opp@816000000_850 {
opp-microvolt = <850000 850000 1125000>;
};
opp@816000000_875 {
opp-microvolt = <875000 875000 1125000>;
};
opp@816000000_950 {
opp-microvolt = <950000 950000 1125000>;
};
opp@816000000_1000 {
opp-microvolt = <1000000 1000000 1125000>;
};
opp@912000000_850 {
opp-microvolt = <850000 850000 1125000>;
};
opp@912000000_900 {
opp-microvolt = <900000 900000 1125000>;
};
opp@912000000_925 {
opp-microvolt = <925000 925000 1125000>;
};
opp@912000000_950 {
opp-microvolt = <950000 950000 1125000>;
};
opp@912000000_950_0_2 {
opp-microvolt = <950000 950000 1125000>;
};
opp@912000000_950_2_2 {
opp-microvolt = <950000 950000 1125000>;
};
opp@912000000_1000 {
opp-microvolt = <1000000 1000000 1125000>;
};
opp@912000000_1050 {
opp-microvolt = <1050000 1050000 1125000>;
};
opp@1000000000_875 {
opp-microvolt = <875000 875000 1125000>;
};
opp@1000000000_900 {
opp-microvolt = <900000 900000 1125000>;
};
opp@1000000000_950 {
opp-microvolt = <950000 950000 1125000>;
};
opp@1000000000_975 {
opp-microvolt = <975000 975000 1125000>;
};
opp@1000000000_1000 {
opp-microvolt = <1000000 1000000 1125000>;
};
opp@1000000000_1000_0_2 {
opp-microvolt = <1000000 1000000 1125000>;
};
opp@1000000000_1025 {
opp-microvolt = <1025000 1025000 1125000>;
};
opp@1000000000_1100 {
opp-microvolt = <1100000 1100000 1125000>;
};
opp@1200000000_1000 {
opp-microvolt = <1000000 1000000 1125000>;
};
opp@1200000000_1050 {
opp-microvolt = <1050000 1050000 1125000>;
};
opp@1200000000_1100 {
opp-microvolt = <1100000 1100000 1125000>;
};
opp@1200000000_1125 {
opp-microvolt = <1125000 1125000 1125000>;
};
};
};

View File

@ -0,0 +1,302 @@
// SPDX-License-Identifier: GPL-2.0
/ {
cpu0_opp_table: cpu_opp_table0 {
compatible = "operating-points-v2";
opp-shared;
opp@216000000_750 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x0F 0x0003>;
opp-hz = /bits/ 64 <216000000>;
};
opp@216000000_800 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x0F 0x0004>;
opp-hz = /bits/ 64 <216000000>;
};
opp@312000000_750 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x0F 0x0003>;
opp-hz = /bits/ 64 <312000000>;
};
opp@312000000_800 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x0F 0x0004>;
opp-hz = /bits/ 64 <312000000>;
};
opp@456000000_750 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x0C 0x0003>;
opp-hz = /bits/ 64 <456000000>;
};
opp@456000000_800 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x03 0x0006>;
opp-hz = /bits/ 64 <456000000>;
};
opp@456000000_800_2_2 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x04 0x0004>;
opp-hz = /bits/ 64 <456000000>;
};
opp@456000000_800_3_2 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x08 0x0004>;
opp-hz = /bits/ 64 <456000000>;
};
opp@456000000_825 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x03 0x0001>;
opp-hz = /bits/ 64 <456000000>;
};
opp@608000000_750 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x08 0x0003>;
opp-hz = /bits/ 64 <608000000>;
};
opp@608000000_800 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x04 0x0006>;
opp-hz = /bits/ 64 <608000000>;
};
opp@608000000_800_3_2 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x08 0x0004>;
opp-hz = /bits/ 64 <608000000>;
};
opp@608000000_825 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x04 0x0001>;
opp-hz = /bits/ 64 <608000000>;
};
opp@608000000_850 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x03 0x0006>;
opp-hz = /bits/ 64 <608000000>;
};
opp@608000000_900 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x03 0x0001>;
opp-hz = /bits/ 64 <608000000>;
};
opp@760000000_775 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x08 0x0003>;
opp-hz = /bits/ 64 <760000000>;
};
opp@760000000_800 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x08 0x0004>;
opp-hz = /bits/ 64 <760000000>;
};
opp@760000000_850 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x04 0x0006>;
opp-hz = /bits/ 64 <760000000>;
};
opp@760000000_875 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x04 0x0001>;
opp-hz = /bits/ 64 <760000000>;
};
opp@760000000_875_1_1 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x02 0x0002>;
opp-hz = /bits/ 64 <760000000>;
};
opp@760000000_875_0_2 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x01 0x0004>;
opp-hz = /bits/ 64 <760000000>;
};
opp@760000000_875_1_2 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x02 0x0004>;
opp-hz = /bits/ 64 <760000000>;
};
opp@760000000_900 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x01 0x0002>;
opp-hz = /bits/ 64 <760000000>;
};
opp@760000000_975 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x03 0x0001>;
opp-hz = /bits/ 64 <760000000>;
};
opp@816000000_800 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x08 0x0007>;
opp-hz = /bits/ 64 <816000000>;
};
opp@816000000_850 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x04 0x0002>;
opp-hz = /bits/ 64 <816000000>;
};
opp@816000000_875 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x04 0x0005>;
opp-hz = /bits/ 64 <816000000>;
};
opp@816000000_950 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x03 0x0006>;
opp-hz = /bits/ 64 <816000000>;
};
opp@816000000_1000 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x03 0x0001>;
opp-hz = /bits/ 64 <816000000>;
};
opp@912000000_850 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x08 0x0007>;
opp-hz = /bits/ 64 <912000000>;
};
opp@912000000_900 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x04 0x0002>;
opp-hz = /bits/ 64 <912000000>;
};
opp@912000000_925 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x04 0x0001>;
opp-hz = /bits/ 64 <912000000>;
};
opp@912000000_950 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x02 0x0006>;
opp-hz = /bits/ 64 <912000000>;
};
opp@912000000_950_0_2 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x01 0x0004>;
opp-hz = /bits/ 64 <912000000>;
};
opp@912000000_950_2_2 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x04 0x0004>;
opp-hz = /bits/ 64 <912000000>;
};
opp@912000000_1000 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x01 0x0002>;
opp-hz = /bits/ 64 <912000000>;
};
opp@912000000_1050 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x03 0x0001>;
opp-hz = /bits/ 64 <912000000>;
};
opp@1000000000_875 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x08 0x0007>;
opp-hz = /bits/ 64 <1000000000>;
};
opp@1000000000_900 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x04 0x0002>;
opp-hz = /bits/ 64 <1000000000>;
};
opp@1000000000_950 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x04 0x0004>;
opp-hz = /bits/ 64 <1000000000>;
};
opp@1000000000_975 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x04 0x0001>;
opp-hz = /bits/ 64 <1000000000>;
};
opp@1000000000_1000 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x02 0x0006>;
opp-hz = /bits/ 64 <1000000000>;
};
opp@1000000000_1000_0_2 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x01 0x0004>;
opp-hz = /bits/ 64 <1000000000>;
};
opp@1000000000_1025 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x01 0x0002>;
opp-hz = /bits/ 64 <1000000000>;
};
opp@1000000000_1100 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x03 0x0001>;
opp-hz = /bits/ 64 <1000000000>;
};
opp@1200000000_1000 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x08 0x0004>;
opp-hz = /bits/ 64 <1200000000>;
};
opp@1200000000_1050 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x04 0x0004>;
opp-hz = /bits/ 64 <1200000000>;
};
opp@1200000000_1100 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x02 0x0004>;
opp-hz = /bits/ 64 <1200000000>;
};
opp@1200000000_1125 {
clock-latency-ns = <400000>;
opp-supported-hw = <0x01 0x0004>;
opp-hz = /bits/ 64 <1200000000>;
};
};
};

View File

@ -3,6 +3,8 @@
#include <dt-bindings/input/input.h>
#include "tegra20.dtsi"
#include "tegra20-cpu-opp.dtsi"
#include "tegra20-cpu-opp-microvolt.dtsi"
/ {
model = "Toshiba AC100 / Dynabook AZ";
@ -337,18 +339,26 @@ sys_reg: sys {
regulator-always-on;
};
sm0 {
core_vdd_reg: sm0 {
regulator-name = "+1.2vs_sm0,vdd_core";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
regulator-max-microvolt = <1225000>;
regulator-coupled-with = <&rtc_vdd_reg &cpu_vdd_reg>;
regulator-coupled-max-spread = <170000 450000>;
regulator-always-on;
nvidia,tegra-core-regulator;
};
sm1 {
cpu_vdd_reg: sm1 {
regulator-name = "+1.0vs_sm1,vdd_cpu";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>;
regulator-min-microvolt = <750000>;
regulator-max-microvolt = <1100000>;
regulator-coupled-with = <&core_vdd_reg &rtc_vdd_reg>;
regulator-coupled-max-spread = <450000 450000>;
regulator-always-on;
nvidia,tegra-cpu-regulator;
};
sm2_reg: sm2 {
@ -367,10 +377,15 @@ ldo1 {
regulator-always-on;
};
ldo2 {
rtc_vdd_reg: ldo2 {
regulator-name = "+1.2vs_ldo2,vdd_rtc";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
regulator-max-microvolt = <1225000>;
regulator-coupled-with = <&core_vdd_reg &cpu_vdd_reg>;
regulator-coupled-max-spread = <170000 450000>;
regulator-always-on;
nvidia,tegra-rtc-regulator;
};
ldo3 {
@ -603,4 +618,16 @@ sound {
<&tegra_car TEGRA20_CLK_CDEV1>;
clock-names = "pll_a", "pll_a_out0", "mclk";
};
cpus {
cpu0: cpu@0 {
cpu-supply = <&cpu_vdd_reg>;
operating-points-v2 = <&cpu0_opp_table>;
};
cpu@1 {
cpu-supply = <&cpu_vdd_reg>;
operating-points-v2 = <&cpu0_opp_table>;
};
};
};

View File

@ -3,6 +3,7 @@
#include <dt-bindings/input/input.h>
#include "tegra20.dtsi"
#include "tegra20-cpu-opp.dtsi"
/ {
model = "Compulab TrimSlice board";
@ -471,4 +472,14 @@ sound {
<&tegra_car TEGRA20_CLK_CDEV1>;
clock-names = "pll_a", "pll_a_out0", "mclk";
};
cpus {
cpu0: cpu@0 {
operating-points-v2 = <&cpu0_opp_table>;
};
cpu@1 {
operating-points-v2 = <&cpu0_opp_table>;
};
};
};

View File

@ -851,12 +851,14 @@ cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-a9";
reg = <0>;
clocks = <&tegra_car TEGRA20_CLK_CCLK>;
};
cpu@1 {
device_type = "cpu";
compatible = "arm,cortex-a9";
reg = <1>;
clocks = <&tegra_car TEGRA20_CLK_CCLK>;
};
};

View File

@ -994,11 +994,17 @@ touchscreen@41 {
id = <0>;
blocks = <0x5>;
irq-trigger = <0x1>;
/* 3.25 MHz ADC clock speed */
st,adc-freq = <1>;
/* 12-bit ADC */
st,mod-12b = <1>;
/* internal ADC reference */
st,ref-sel = <0>;
/* ADC converstion time: 80 clocks */
st,sample-time = <4>;
stmpe_touchscreen {
compatible = "st,stmpe-ts";
/* 3.25 MHz ADC clock speed */
st,adc-freq = <1>;
/* 8 sample average control */
st,ave-ctrl = <3>;
/* 7 length fractional part in z */
@ -1008,17 +1014,17 @@ stmpe_touchscreen {
* current limit value
*/
st,i-drive = <1>;
/* 12-bit ADC */
st,mod-12b = <1>;
/* internal ADC reference */
st,ref-sel = <0>;
/* ADC converstion time: 80 clocks */
st,sample-time = <4>;
/* 1 ms panel driver settling time */
st,settling = <3>;
/* 5 ms touch detect interrupt delay */
st,touch-det-delay = <5>;
};
stmpe_adc {
compatible = "st,stmpe-adc";
/* forbid to use ADC channels 3-0 (touch) */
st,norequest-mask = <0x0F>;
};
};
/*

View File

@ -976,11 +976,17 @@ touchscreen@41 {
id = <0>;
blocks = <0x5>;
irq-trigger = <0x1>;
/* 3.25 MHz ADC clock speed */
st,adc-freq = <1>;
/* 12-bit ADC */
st,mod-12b = <1>;
/* internal ADC reference */
st,ref-sel = <0>;
/* ADC converstion time: 80 clocks */
st,sample-time = <4>;
stmpe_touchscreen {
compatible = "st,stmpe-ts";
/* 3.25 MHz ADC clock speed */
st,adc-freq = <1>;
/* 8 sample average control */
st,ave-ctrl = <3>;
/* 7 length fractional part in z */
@ -990,17 +996,17 @@ stmpe_touchscreen {
* current limit value
*/
st,i-drive = <1>;
/* 12-bit ADC */
st,mod-12b = <1>;
/* internal ADC reference */
st,ref-sel = <0>;
/* ADC converstion time: 80 clocks */
st,sample-time = <4>;
/* 1 ms panel driver settling time */
st,settling = <3>;
/* 5 ms touch detect interrupt delay */
st,touch-det-delay = <5>;
};
stmpe_adc {
compatible = "st,stmpe-adc";
/* forbid to use ADC channels 3-0 (touch) */
st,norequest-mask = <0x0F>;
};
};
/*

View File

@ -2,6 +2,8 @@
/dts-v1/;
#include "tegra30-cardhu.dtsi"
#include "tegra30-cpu-opp.dtsi"
#include "tegra30-cpu-opp-microvolt.dtsi"
/* This dts file support the cardhu A04 and later versions of board */
@ -103,4 +105,50 @@ vdd_bl2_reg: regulator@106 {
gpio = <&gpio TEGRA_GPIO(DD, 0) GPIO_ACTIVE_HIGH>;
};
};
i2c@7000d000 {
pmic: tps65911@2d {
regulators {
vddctrl_reg: vddctrl {
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <1125000>;
regulator-coupled-with = <&vddcore_reg>;
regulator-coupled-max-spread = <300000>;
regulator-max-step-microvolt = <100000>;
nvidia,tegra-cpu-regulator;
};
};
};
vddcore_reg: tps62361@60 {
regulator-coupled-with = <&vddctrl_reg>;
regulator-coupled-max-spread = <300000>;
regulator-max-step-microvolt = <100000>;
nvidia,tegra-core-regulator;
};
};
cpus {
cpu0: cpu@0 {
cpu-supply = <&vddctrl_reg>;
operating-points-v2 = <&cpu0_opp_table>;
};
cpu@1 {
cpu-supply = <&vddctrl_reg>;
operating-points-v2 = <&cpu0_opp_table>;
};
cpu@2 {
cpu-supply = <&vddctrl_reg>;
operating-points-v2 = <&cpu0_opp_table>;
};
cpu@3 {
cpu-supply = <&vddctrl_reg>;
operating-points-v2 = <&cpu0_opp_table>;
};
};
};

View File

@ -845,11 +845,18 @@ touchscreen@41 {
id = <0>;
blocks = <0x5>;
irq-trigger = <0x1>;
/* 3.25 MHz ADC clock speed */
st,adc-freq = <1>;
/* 12-bit ADC */
st,mod-12b = <1>;
/* internal ADC reference */
st,ref-sel = <0>;
/* ADC converstion time: 80 clocks */
st,sample-time = <4>;
/* forbid to use ADC channels 3-0 (touch) */
stmpe_touchscreen {
compatible = "st,stmpe-ts";
/* 3.25 MHz ADC clock speed */
st,adc-freq = <1>;
/* 8 sample average control */
st,ave-ctrl = <3>;
/* 7 length fractional part in z */
@ -859,17 +866,16 @@ stmpe_touchscreen {
* current limit value
*/
st,i-drive = <1>;
/* 12-bit ADC */
st,mod-12b = <1>;
/* internal ADC reference */
st,ref-sel = <0>;
/* ADC converstion time: 80 clocks */
st,sample-time = <4>;
/* 1 ms panel driver settling time */
st,settling = <3>;
/* 5 ms touch detect interrupt delay */
st,touch-det-delay = <5>;
};
stmpe_adc {
compatible = "st,stmpe-adc";
st,norequest-mask = <0x0F>;
};
};
/*

View File

@ -0,0 +1,801 @@
// SPDX-License-Identifier: GPL-2.0
/ {
cpu0_opp_table: cpu_opp_table0 {
opp@51000000_800 {
opp-microvolt = <800000 800000 1250000>;
};
opp@51000000_850 {
opp-microvolt = <850000 850000 1250000>;
};
opp@51000000_912 {
opp-microvolt = <912000 912000 1250000>;
};
opp@102000000_800 {
opp-microvolt = <800000 800000 1250000>;
};
opp@102000000_850 {
opp-microvolt = <850000 850000 1250000>;
};
opp@102000000_912 {
opp-microvolt = <912000 912000 1250000>;
};
opp@204000000_800 {
opp-microvolt = <800000 800000 1250000>;
};
opp@204000000_850 {
opp-microvolt = <850000 850000 1250000>;
};
opp@204000000_912 {
opp-microvolt = <912000 912000 1250000>;
};
opp@312000000_850 {
opp-microvolt = <850000 850000 1250000>;
};
opp@312000000_912 {
opp-microvolt = <912000 912000 1250000>;
};
opp@340000000_800 {
opp-microvolt = <800000 800000 1250000>;
};
opp@340000000_850 {
opp-microvolt = <850000 850000 1250000>;
};
opp@370000000_800 {
opp-microvolt = <800000 800000 1250000>;
};
opp@456000000_850 {
opp-microvolt = <850000 850000 1250000>;
};
opp@456000000_912 {
opp-microvolt = <912000 912000 1250000>;
};
opp@475000000_800 {
opp-microvolt = <800000 800000 1250000>;
};
opp@475000000_850 {
opp-microvolt = <850000 850000 1250000>;
};
opp@475000000_850_0_1 {
opp-microvolt = <850000 850000 1250000>;
};
opp@475000000_850_0_4 {
opp-microvolt = <850000 850000 1250000>;
};
opp@475000000_850_0_7 {
opp-microvolt = <850000 850000 1250000>;
};
opp@475000000_850_0_8 {
opp-microvolt = <850000 850000 1250000>;
};
opp@608000000_850 {
opp-microvolt = <850000 850000 1250000>;
};
opp@608000000_912 {
opp-microvolt = <912000 912000 1250000>;
};
opp@620000000_850 {
opp-microvolt = <850000 850000 1250000>;
};
opp@640000000_850 {
opp-microvolt = <850000 850000 1250000>;
};
opp@640000000_850_1_1 {
opp-microvolt = <850000 850000 1250000>;
};
opp@640000000_850_2_1 {
opp-microvolt = <850000 850000 1250000>;
};
opp@640000000_850_3_1 {
opp-microvolt = <850000 850000 1250000>;
};
opp@640000000_850_1_4 {
opp-microvolt = <850000 850000 1250000>;
};
opp@640000000_850_2_4 {
opp-microvolt = <850000 850000 1250000>;
};
opp@640000000_850_3_4 {
opp-microvolt = <850000 850000 1250000>;
};
opp@640000000_850_1_7 {
opp-microvolt = <850000 850000 1250000>;
};
opp@640000000_850_2_7 {
opp-microvolt = <850000 850000 1250000>;
};
opp@640000000_850_3_7 {
opp-microvolt = <850000 850000 1250000>;
};
opp@640000000_850_4_7 {
opp-microvolt = <850000 850000 1250000>;
};
opp@640000000_850_1_8 {
opp-microvolt = <850000 850000 1250000>;
};
opp@640000000_850_2_8 {
opp-microvolt = <850000 850000 1250000>;
};
opp@640000000_850_3_8 {
opp-microvolt = <850000 850000 1250000>;
};
opp@640000000_850_4_8 {
opp-microvolt = <850000 850000 1250000>;
};
opp@640000000_900 {
opp-microvolt = <900000 900000 1250000>;
};
opp@760000000_850 {
opp-microvolt = <850000 850000 1250000>;
};
opp@760000000_850_3_1 {
opp-microvolt = <850000 850000 1250000>;
};
opp@760000000_850_3_2 {
opp-microvolt = <850000 850000 1250000>;
};
opp@760000000_850_3_3 {
opp-microvolt = <850000 850000 1250000>;
};
opp@760000000_850_3_4 {
opp-microvolt = <850000 850000 1250000>;
};
opp@760000000_850_3_7 {
opp-microvolt = <850000 850000 1250000>;
};
opp@760000000_850_4_7 {
opp-microvolt = <850000 850000 1250000>;
};
opp@760000000_850_3_8 {
opp-microvolt = <850000 850000 1250000>;
};
opp@760000000_850_4_8 {
opp-microvolt = <850000 850000 1250000>;
};
opp@760000000_850_0_10 {
opp-microvolt = <850000 850000 1250000>;
};
opp@760000000_900 {
opp-microvolt = <900000 900000 1250000>;
};
opp@760000000_900_1_1 {
opp-microvolt = <900000 900000 1250000>;
};
opp@760000000_900_2_1 {
opp-microvolt = <900000 900000 1250000>;
};
opp@760000000_900_1_2 {
opp-microvolt = <900000 900000 1250000>;
};
opp@760000000_900_2_2 {
opp-microvolt = <900000 900000 1250000>;
};
opp@760000000_900_1_3 {
opp-microvolt = <900000 900000 1250000>;
};
opp@760000000_900_2_3 {
opp-microvolt = <900000 900000 1250000>;
};
opp@760000000_900_1_4 {
opp-microvolt = <900000 900000 1250000>;
};
opp@760000000_900_2_4 {
opp-microvolt = <900000 900000 1250000>;
};
opp@760000000_900_1_7 {
opp-microvolt = <900000 900000 1250000>;
};
opp@760000000_900_2_7 {
opp-microvolt = <900000 900000 1250000>;
};
opp@760000000_900_1_8 {
opp-microvolt = <900000 900000 1250000>;
};
opp@760000000_900_2_8 {
opp-microvolt = <900000 900000 1250000>;
};
opp@760000000_912 {
opp-microvolt = <912000 912000 1250000>;
};
opp@760000000_975 {
opp-microvolt = <975000 975000 1250000>;
};
opp@816000000_850 {
opp-microvolt = <850000 850000 1250000>;
};
opp@816000000_912 {
opp-microvolt = <912000 912000 1250000>;
};
opp@860000000_850 {
opp-microvolt = <850000 850000 1250000>;
};
opp@860000000_900 {
opp-microvolt = <900000 900000 1250000>;
};
opp@860000000_900_2_1 {
opp-microvolt = <900000 900000 1250000>;
};
opp@860000000_900_3_1 {
opp-microvolt = <900000 900000 1250000>;
};
opp@860000000_900_2_2 {
opp-microvolt = <900000 900000 1250000>;
};
opp@860000000_900_3_2 {
opp-microvolt = <900000 900000 1250000>;
};
opp@860000000_900_2_3 {
opp-microvolt = <900000 900000 1250000>;
};
opp@860000000_900_3_3 {
opp-microvolt = <900000 900000 1250000>;
};
opp@860000000_900_2_4 {
opp-microvolt = <900000 900000 1250000>;
};
opp@860000000_900_3_4 {
opp-microvolt = <900000 900000 1250000>;
};
opp@860000000_900_2_7 {
opp-microvolt = <900000 900000 1250000>;
};
opp@860000000_900_3_7 {
opp-microvolt = <900000 900000 1250000>;
};
opp@860000000_900_4_7 {
opp-microvolt = <900000 900000 1250000>;
};
opp@860000000_900_2_8 {
opp-microvolt = <900000 900000 1250000>;
};
opp@860000000_900_3_8 {
opp-microvolt = <900000 900000 1250000>;
};
opp@860000000_900_4_8 {
opp-microvolt = <900000 900000 1250000>;
};
opp@860000000_975 {
opp-microvolt = <975000 975000 1250000>;
};
opp@860000000_975_1_1 {
opp-microvolt = <975000 975000 1250000>;
};
opp@860000000_975_1_2 {
opp-microvolt = <975000 975000 1250000>;
};
opp@860000000_975_1_3 {
opp-microvolt = <975000 975000 1250000>;
};
opp@860000000_975_1_4 {
opp-microvolt = <975000 975000 1250000>;
};
opp@860000000_975_1_7 {
opp-microvolt = <975000 975000 1250000>;
};
opp@860000000_975_1_8 {
opp-microvolt = <975000 975000 1250000>;
};
opp@860000000_1000 {
opp-microvolt = <1000000 1000000 1250000>;
};
opp@910000000_900 {
opp-microvolt = <900000 900000 1250000>;
};
opp@1000000000_900 {
opp-microvolt = <900000 900000 1250000>;
};
opp@1000000000_975 {
opp-microvolt = <975000 975000 1250000>;
};
opp@1000000000_975_2_1 {
opp-microvolt = <975000 975000 1250000>;
};
opp@1000000000_975_3_1 {
opp-microvolt = <975000 975000 1250000>;
};
opp@1000000000_975_2_2 {
opp-microvolt = <975000 975000 1250000>;
};
opp@1000000000_975_3_2 {
opp-microvolt = <975000 975000 1250000>;
};
opp@1000000000_975_2_3 {
opp-microvolt = <975000 975000 1250000>;
};
opp@1000000000_975_3_3 {
opp-microvolt = <975000 975000 1250000>;
};
opp@1000000000_975_2_4 {
opp-microvolt = <975000 975000 1250000>;
};
opp@1000000000_975_3_4 {
opp-microvolt = <975000 975000 1250000>;
};
opp@1000000000_975_2_7 {
opp-microvolt = <975000 975000 1250000>;
};
opp@1000000000_975_3_7 {
opp-microvolt = <975000 975000 1250000>;
};
opp@1000000000_975_4_7 {
opp-microvolt = <975000 975000 1250000>;
};
opp@1000000000_975_2_8 {
opp-microvolt = <975000 975000 1250000>;
};
opp@1000000000_975_3_8 {
opp-microvolt = <975000 975000 1250000>;
};
opp@1000000000_975_4_8 {
opp-microvolt = <975000 975000 1250000>;
};
opp@1000000000_1000 {
opp-microvolt = <1000000 1000000 1250000>;
};
opp@1000000000_1025 {
opp-microvolt = <1025000 1025000 1250000>;
};
opp@1100000000_900 {
opp-microvolt = <900000 900000 1250000>;
};
opp@1100000000_975 {
opp-microvolt = <975000 975000 1250000>;
};
opp@1100000000_975_3_1 {
opp-microvolt = <975000 975000 1250000>;
};
opp@1100000000_975_3_2 {
opp-microvolt = <975000 975000 1250000>;
};
opp@1100000000_975_3_3 {
opp-microvolt = <975000 975000 1250000>;
};
opp@1100000000_975_3_4 {
opp-microvolt = <975000 975000 1250000>;
};
opp@1100000000_975_3_7 {
opp-microvolt = <975000 975000 1250000>;
};
opp@1100000000_975_4_7 {
opp-microvolt = <975000 975000 1250000>;
};
opp@1100000000_975_3_8 {
opp-microvolt = <975000 975000 1250000>;
};
opp@1100000000_975_4_8 {
opp-microvolt = <975000 975000 1250000>;
};
opp@1100000000_1000 {
opp-microvolt = <1000000 1000000 1250000>;
};
opp@1100000000_1000_2_1 {
opp-microvolt = <1000000 1000000 1250000>;
};
opp@1100000000_1000_2_2 {
opp-microvolt = <1000000 1000000 1250000>;
};
opp@1100000000_1000_2_3 {
opp-microvolt = <1000000 1000000 1250000>;
};
opp@1100000000_1000_2_4 {
opp-microvolt = <1000000 1000000 1250000>;
};
opp@1100000000_1000_2_7 {
opp-microvolt = <1000000 1000000 1250000>;
};
opp@1100000000_1000_2_8 {
opp-microvolt = <1000000 1000000 1250000>;
};
opp@1100000000_1025 {
opp-microvolt = <1025000 1025000 1250000>;
};
opp@1100000000_1075 {
opp-microvolt = <1075000 1075000 1250000>;
};
opp@1150000000_975 {
opp-microvolt = <975000 975000 1250000>;
};
opp@1200000000_975 {
opp-microvolt = <975000 975000 1250000>;
};
opp@1200000000_1000 {
opp-microvolt = <1000000 1000000 1250000>;
};
opp@1200000000_1000_3_1 {
opp-microvolt = <1000000 1000000 1250000>;
};
opp@1200000000_1000_3_2 {
opp-microvolt = <1000000 1000000 1250000>;
};
opp@1200000000_1000_3_3 {
opp-microvolt = <1000000 1000000 1250000>;
};
opp@1200000000_1000_3_4 {
opp-microvolt = <1000000 1000000 1250000>;
};
opp@1200000000_1000_3_7 {
opp-microvolt = <1000000 1000000 1250000>;
};
opp@1200000000_1000_4_7 {
opp-microvolt = <1000000 1000000 1250000>;
};
opp@1200000000_1000_3_8 {
opp-microvolt = <1000000 1000000 1250000>;
};
opp@1200000000_1000_4_8 {
opp-microvolt = <1000000 1000000 1250000>;
};
opp@1200000000_1025 {
opp-microvolt = <1025000 1025000 1250000>;
};
opp@1200000000_1025_2_1 {
opp-microvolt = <1025000 1025000 1250000>;
};
opp@1200000000_1025_2_2 {
opp-microvolt = <1025000 1025000 1250000>;
};
opp@1200000000_1025_2_3 {
opp-microvolt = <1025000 1025000 1250000>;
};
opp@1200000000_1025_2_4 {
opp-microvolt = <1025000 1025000 1250000>;
};
opp@1200000000_1025_2_7 {
opp-microvolt = <1025000 1025000 1250000>;
};
opp@1200000000_1025_2_8 {
opp-microvolt = <1025000 1025000 1250000>;
};
opp@1200000000_1050 {
opp-microvolt = <1050000 1050000 1250000>;
};
opp@1200000000_1075 {
opp-microvolt = <1075000 1075000 1250000>;
};
opp@1200000000_1100 {
opp-microvolt = <1100000 1100000 1250000>;
};
opp@1300000000_1000 {
opp-microvolt = <1000000 1000000 1250000>;
};
opp@1300000000_1000_4_7 {
opp-microvolt = <1000000 1000000 1250000>;
};
opp@1300000000_1000_4_8 {
opp-microvolt = <1000000 1000000 1250000>;
};
opp@1300000000_1025 {
opp-microvolt = <1025000 1025000 1250000>;
};
opp@1300000000_1025_3_1 {
opp-microvolt = <1025000 1025000 1250000>;
};
opp@1300000000_1025_3_7 {
opp-microvolt = <1025000 1025000 1250000>;
};
opp@1300000000_1025_3_8 {
opp-microvolt = <1025000 1025000 1250000>;
};
opp@1300000000_1050 {
opp-microvolt = <1050000 1050000 1250000>;
};
opp@1300000000_1050_2_1 {
opp-microvolt = <1050000 1050000 1250000>;
};
opp@1300000000_1050_3_2 {
opp-microvolt = <1050000 1050000 1250000>;
};
opp@1300000000_1050_3_3 {
opp-microvolt = <1050000 1050000 1250000>;
};
opp@1300000000_1050_3_4 {
opp-microvolt = <1050000 1050000 1250000>;
};
opp@1300000000_1050_3_5 {
opp-microvolt = <1050000 1050000 1250000>;
};
opp@1300000000_1050_3_6 {
opp-microvolt = <1050000 1050000 1250000>;
};
opp@1300000000_1050_2_7 {
opp-microvolt = <1050000 1050000 1250000>;
};
opp@1300000000_1050_2_8 {
opp-microvolt = <1050000 1050000 1250000>;
};
opp@1300000000_1050_3_12 {
opp-microvolt = <1050000 1050000 1250000>;
};
opp@1300000000_1050_3_13 {
opp-microvolt = <1050000 1050000 1250000>;
};
opp@1300000000_1075 {
opp-microvolt = <1075000 1075000 1250000>;
};
opp@1300000000_1075_2_2 {
opp-microvolt = <1075000 1075000 1250000>;
};
opp@1300000000_1075_2_3 {
opp-microvolt = <1075000 1075000 1250000>;
};
opp@1300000000_1075_2_4 {
opp-microvolt = <1075000 1075000 1250000>;
};
opp@1300000000_1100 {
opp-microvolt = <1100000 1100000 1250000>;
};
opp@1300000000_1125 {
opp-microvolt = <1125000 1125000 1250000>;
};
opp@1300000000_1150 {
opp-microvolt = <1150000 1150000 1250000>;
};
opp@1300000000_1175 {
opp-microvolt = <1175000 1175000 1250000>;
};
opp@1400000000_1100 {
opp-microvolt = <1100000 1100000 1250000>;
};
opp@1400000000_1125 {
opp-microvolt = <1125000 1125000 1250000>;
};
opp@1400000000_1150 {
opp-microvolt = <1150000 1150000 1250000>;
};
opp@1400000000_1150_2_4 {
opp-microvolt = <1150000 1150000 1250000>;
};
opp@1400000000_1175 {
opp-microvolt = <1175000 1175000 1250000>;
};
opp@1400000000_1237 {
opp-microvolt = <1237000 1237000 1250000>;
};
opp@1500000000_1125 {
opp-microvolt = <1125000 1125000 1250000>;
};
opp@1500000000_1125_4_5 {
opp-microvolt = <1125000 1125000 1250000>;
};
opp@1500000000_1125_4_6 {
opp-microvolt = <1125000 1125000 1250000>;
};
opp@1500000000_1125_4_12 {
opp-microvolt = <1125000 1125000 1250000>;
};
opp@1500000000_1125_4_13 {
opp-microvolt = <1125000 1125000 1250000>;
};
opp@1500000000_1150 {
opp-microvolt = <1150000 1150000 1250000>;
};
opp@1500000000_1150_3_5 {
opp-microvolt = <1150000 1150000 1250000>;
};
opp@1500000000_1150_3_6 {
opp-microvolt = <1150000 1150000 1250000>;
};
opp@1500000000_1150_3_12 {
opp-microvolt = <1150000 1150000 1250000>;
};
opp@1500000000_1150_3_13 {
opp-microvolt = <1150000 1150000 1250000>;
};
opp@1500000000_1200 {
opp-microvolt = <1200000 1200000 1250000>;
};
opp@1500000000_1237 {
opp-microvolt = <1237000 1237000 1250000>;
};
opp@1600000000_1212 {
opp-microvolt = <1212000 1212000 1250000>;
};
opp@1600000000_1237 {
opp-microvolt = <1237000 1237000 1250000>;
};
opp@1700000000_1212 {
opp-microvolt = <1212000 1212000 1250000>;
};
opp@1700000000_1237 {
opp-microvolt = <1237000 1237000 1250000>;
};
};
};

File diff suppressed because it is too large Load Diff

View File

@ -422,6 +422,7 @@ vde@6001a000 {
clocks = <&tegra_car TEGRA30_CLK_VDE>;
reset-names = "vde", "mc";
resets = <&tegra_car 61>, <&mc TEGRA30_MC_RESET_VDE>;
iommus = <&mc TEGRA_SWGROUP_VDE>;
};
apbmisc@70000800 {
@ -732,6 +733,15 @@ mc: memory-controller@7000f000 {
#reset-cells = <1>;
};
memory-controller@7000f400 {
compatible = "nvidia,tegra30-emc";
reg = <0x7000f400 0x400>;
interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&tegra_car TEGRA30_CLK_EMC>;
nvidia,memory-controller = <&mc>;
};
fuse@7000f800 {
compatible = "nvidia,tegra30-efuse";
reg = <0x7000f800 0x400>;
@ -997,24 +1007,28 @@ cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-a9";
reg = <0>;
clocks = <&tegra_car TEGRA30_CLK_CCLK_G>;
};
cpu@1 {
device_type = "cpu";
compatible = "arm,cortex-a9";
reg = <1>;
clocks = <&tegra_car TEGRA30_CLK_CCLK_G>;
};
cpu@2 {
device_type = "cpu";
compatible = "arm,cortex-a9";
reg = <2>;
clocks = <&tegra_car TEGRA30_CLK_CCLK_G>;
};
cpu@3 {
device_type = "cpu";
compatible = "arm,cortex-a9";
reg = <3>;
clocks = <&tegra_car TEGRA30_CLK_CCLK_G>;
};
};