0001 // SPDX-License-Identifier: GPL-2.0
0002 /dts-v1/;
0003
0004 #include <dt-bindings/input/input.h>
0005 #include "tegra114.dtsi"
0006
0007 / {
0008 model = "Tegra Note 7";
0009 compatible = "nvidia,tn7", "nvidia,tegra114";
0010
0011 chosen {
0012 /* TN7's bootloader's arguments need to be overridden */
0013 bootargs = "console=ttyS0,115200n8 console=tty1 gpt fbcon=rotate:2";
0014 /* TN7's bootloader will place initrd at this address */
0015 linux,initrd-start = <0x82000000>;
0016 linux,initrd-end = <0x82800000>;
0017 };
0018
0019 aliases {
0020 serial0 = &uartd;
0021 };
0022
0023 firmware {
0024 trusted-foundations {
0025 compatible = "tlm,trusted-foundations";
0026 tlm,version-major = <2>;
0027 tlm,version-minor = <8>;
0028 };
0029 };
0030
0031 memory@80000000 {
0032 /* memory >= 0x37e00000 is reserved for firmware usage */
0033 reg = <0x80000000 0x37e00000>;
0034 };
0035
0036 host1x@50000000 {
0037 dsi@54300000 {
0038 status = "okay";
0039
0040 avdd-dsi-csi-supply = <&vdd_1v2_ap>;
0041
0042 panel@0 {
0043 compatible = "lg,ld070wx3-sl01";
0044 reg = <0>;
0045
0046 power-supply = <&vdd_lcd>;
0047 backlight = <&backlight>;
0048 };
0049 };
0050 };
0051
0052 serial@70006300 {
0053 status = "okay";
0054 };
0055
0056 pwm@7000a000 {
0057 status = "okay";
0058 };
0059
0060 i2c@7000d000 {
0061 status = "okay";
0062 clock-frequency = <400000>;
0063
0064 palmas: pmic@58 {
0065 compatible = "ti,tps65913", "ti,palmas";
0066 reg = <0x58>;
0067 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
0068
0069 #interrupt-cells = <2>;
0070 interrupt-controller;
0071
0072 ti,system-power-controller;
0073
0074 palmas_gpio: gpio {
0075 compatible = "ti,palmas-gpio";
0076 gpio-controller;
0077 #gpio-cells = <2>;
0078 };
0079
0080 pmic {
0081 compatible = "ti,tps65913-pmic", "ti,palmas-pmic";
0082
0083 ldoln-in-supply = <&vdd_smps10_out2>;
0084
0085 regulators {
0086 smps123 {
0087 regulator-name = "vd-cpu";
0088 regulator-min-microvolt = <1000000>;
0089 regulator-max-microvolt = <1000000>;
0090 regulator-always-on;
0091 regulator-boot-on;
0092 };
0093
0094 smps45 {
0095 regulator-name = "vd-soc";
0096 regulator-min-microvolt = <1100000>;
0097 regulator-max-microvolt = <1100000>;
0098 regulator-always-on;
0099 regulator-boot-on;
0100 };
0101
0102 smps6 {
0103 regulator-name = "va-lcd-hv";
0104 regulator-min-microvolt = <3000000>;
0105 regulator-max-microvolt = <3000000>;
0106 regulator-always-on;
0107 regulator-boot-on;
0108 };
0109
0110 smps7 {
0111 regulator-name = "vd-ddr";
0112 regulator-min-microvolt = <1350000>;
0113 regulator-max-microvolt = <1350000>;
0114 regulator-always-on;
0115 regulator-boot-on;
0116 };
0117
0118 vdd_1v8: smps8 {
0119 regulator-name = "vs-pmu-1v8";
0120 regulator-min-microvolt = <1800000>;
0121 regulator-max-microvolt = <1800000>;
0122 regulator-always-on;
0123 regulator-boot-on;
0124 };
0125
0126 vdd_2v9_sys: smps9 {
0127 regulator-name = "vs-sys-2v9";
0128 regulator-min-microvolt = <2900000>;
0129 regulator-max-microvolt = <2900000>;
0130 regulator-always-on;
0131 regulator-boot-on;
0132 };
0133
0134 vdd_smps10_out1: smps10_out1 {
0135 regulator-name = "vd-smps10-out1";
0136 regulator-min-microvolt = <5000000>;
0137 regulator-max-microvolt = <5000000>;
0138 regulator-always-on;
0139 regulator-boot-on;
0140 };
0141
0142 vdd_smps10_out2: smps10_out2 {
0143 regulator-name = "vd-smps10-out2";
0144 regulator-min-microvolt = <5000000>;
0145 regulator-max-microvolt = <5000000>;
0146 regulator-always-on;
0147 regulator-boot-on;
0148 };
0149
0150 ldo1 {
0151 regulator-name = "va-pllx";
0152 regulator-min-microvolt = <1050000>;
0153 regulator-max-microvolt = <1050000>;
0154 regulator-always-on;
0155 regulator-boot-on;
0156 };
0157
0158 vdd_1v2_ap: ldo2 {
0159 regulator-name = "va-ap-1v2";
0160 regulator-min-microvolt = <1200000>;
0161 regulator-max-microvolt = <1200000>;
0162 regulator-always-on;
0163 regulator-boot-on;
0164 };
0165
0166 ldo3 {
0167 regulator-name = "vd-fuse";
0168 regulator-min-microvolt = <1800000>;
0169 regulator-max-microvolt = <1800000>;
0170 regulator-always-on;
0171 regulator-boot-on;
0172 };
0173
0174 ldo4 {
0175 regulator-name = "vd-ts-hv";
0176 regulator-min-microvolt = <3200000>;
0177 regulator-max-microvolt = <3200000>;
0178 regulator-always-on;
0179 regulator-boot-on;
0180 };
0181
0182 ldo5 {
0183 regulator-name = "va-cam2-hv";
0184 regulator-min-microvolt = <2700000>;
0185 regulator-max-microvolt = <2700000>;
0186 };
0187
0188 ldo6 {
0189 regulator-name = "va-sns-hv";
0190 regulator-min-microvolt = <2850000>;
0191 regulator-max-microvolt = <2850000>;
0192 };
0193
0194 ldo7 {
0195 regulator-name = "va-cam1-hv";
0196 regulator-min-microvolt = <2700000>;
0197 regulator-max-microvolt = <2700000>;
0198 };
0199
0200 ldo8 {
0201 regulator-name = "va-ap-rtc";
0202 regulator-min-microvolt = <1100000>;
0203 regulator-max-microvolt = <1100000>;
0204 ti,enable-ldo8-tracking;
0205 regulator-always-on;
0206 regulator-boot-on;
0207 };
0208
0209 ldo9 {
0210 regulator-name = "vi-sdcard";
0211 regulator-min-microvolt = <2900000>;
0212 regulator-max-microvolt = <2900000>;
0213 };
0214
0215 ldousb {
0216 regulator-name = "avdd-usb";
0217 regulator-min-microvolt = <3300000>;
0218 regulator-max-microvolt = <3300000>;
0219 regulator-always-on;
0220 regulator-boot-on;
0221 };
0222
0223 ldoln {
0224 regulator-name = "va-hdmi";
0225 regulator-min-microvolt = <3300000>;
0226 regulator-max-microvolt = <3300000>;
0227 };
0228 };
0229 };
0230
0231 rtc {
0232 compatible = "ti,palmas-rtc";
0233 interrupt-parent = <&palmas>;
0234 interrupts = <8 0>;
0235 };
0236
0237 };
0238 };
0239
0240 pmc@7000e400 {
0241 nvidia,invert-interrupt;
0242 };
0243
0244 /* eMMC */
0245 mmc@78000600 {
0246 status = "okay";
0247 bus-width = <8>;
0248 non-removable;
0249 };
0250
0251 usb@7d000000 {
0252 status = "okay";
0253 };
0254
0255 usb-phy@7d000000 {
0256 status = "okay";
0257 nvidia,xcvr-setup = <7>;
0258 nvidia,xcvr-lsfslew = <2>;
0259 nvidia,xcvr-lsrslew = <2>;
0260 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
0261 /* Should be changed to "otg" once we have vbus_supply */
0262 /* As of now, USB devices need to be powered externally */
0263 dr_mode = "host";
0264 };
0265
0266 backlight: backlight {
0267 compatible = "pwm-backlight";
0268 pwms = <&pwm 1 40000>;
0269
0270 brightness-levels = <0 4 8 16 32 64 128 255>;
0271 default-brightness-level = <6>;
0272
0273 power-supply = <&lcd_bl_en>;
0274 };
0275
0276 clk32k_in: clock-32k {
0277 compatible = "fixed-clock";
0278 clock-frequency = <32768>;
0279 #clock-cells = <0>;
0280 };
0281
0282 gpio-keys {
0283 compatible = "gpio-keys";
0284
0285 key-power {
0286 label = "Power";
0287 gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
0288 linux,code = <KEY_POWER>;
0289 wakeup-source;
0290 };
0291
0292 key-volume-down {
0293 label = "Volume Down";
0294 gpios = <&gpio TEGRA_GPIO(Q, 2) GPIO_ACTIVE_LOW>;
0295 linux,code = <KEY_VOLUMEDOWN>;
0296 };
0297
0298 key-volume-up {
0299 label = "Volume Up";
0300 gpios = <&gpio TEGRA_GPIO(R, 2) GPIO_ACTIVE_LOW>;
0301 linux,code = <KEY_VOLUMEUP>;
0302 };
0303 };
0304
0305 /* FIXME: output of BQ24192 */
0306 vs_sys: regulator-vs {
0307 compatible = "regulator-fixed";
0308 regulator-name = "VS_SYS";
0309 regulator-min-microvolt = <4200000>;
0310 regulator-max-microvolt = <4200000>;
0311 regulator-always-on;
0312 regulator-boot-on;
0313 };
0314
0315 lcd_bl_en: regulator-lcden {
0316 compatible = "regulator-fixed";
0317 regulator-name = "VDD_LCD_BL";
0318 regulator-min-microvolt = <16500000>;
0319 regulator-max-microvolt = <16500000>;
0320 gpio = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
0321 enable-active-high;
0322 vin-supply = <&vs_sys>;
0323 regulator-boot-on;
0324 };
0325
0326 vdd_lcd: regulator-lcd {
0327 compatible = "regulator-fixed";
0328 regulator-name = "VD_LCD_1V8";
0329 regulator-min-microvolt = <1800000>;
0330 regulator-max-microvolt = <1800000>;
0331 gpio = <&palmas_gpio 4 GPIO_ACTIVE_HIGH>;
0332 enable-active-high;
0333 vin-supply = <&vdd_1v8>;
0334 regulator-boot-on;
0335 };
0336 };