1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring/dts-v1/; 3*724ba675SRob Herring 4*724ba675SRob Herring#include <dt-bindings/input/input.h> 5*724ba675SRob Herring#include "tegra114.dtsi" 6*724ba675SRob Herring 7*724ba675SRob Herring/ { 8*724ba675SRob Herring model = "Tegra Note 7"; 9*724ba675SRob Herring compatible = "nvidia,tn7", "nvidia,tegra114"; 10*724ba675SRob Herring 11*724ba675SRob Herring chosen { 12*724ba675SRob Herring /* TN7's bootloader's arguments need to be overridden */ 13*724ba675SRob Herring bootargs = "console=ttyS0,115200n8 console=tty1 gpt fbcon=rotate:2"; 14*724ba675SRob Herring /* TN7's bootloader will place initrd at this address */ 15*724ba675SRob Herring linux,initrd-start = <0x82000000>; 16*724ba675SRob Herring linux,initrd-end = <0x82800000>; 17*724ba675SRob Herring }; 18*724ba675SRob Herring 19*724ba675SRob Herring aliases { 20*724ba675SRob Herring serial0 = &uartd; 21*724ba675SRob Herring }; 22*724ba675SRob Herring 23*724ba675SRob Herring firmware { 24*724ba675SRob Herring trusted-foundations { 25*724ba675SRob Herring compatible = "tlm,trusted-foundations"; 26*724ba675SRob Herring tlm,version-major = <2>; 27*724ba675SRob Herring tlm,version-minor = <8>; 28*724ba675SRob Herring }; 29*724ba675SRob Herring }; 30*724ba675SRob Herring 31*724ba675SRob Herring memory@80000000 { 32*724ba675SRob Herring /* memory >= 0x37e00000 is reserved for firmware usage */ 33*724ba675SRob Herring reg = <0x80000000 0x37e00000>; 34*724ba675SRob Herring }; 35*724ba675SRob Herring 36*724ba675SRob Herring host1x@50000000 { 37*724ba675SRob Herring dsi@54300000 { 38*724ba675SRob Herring status = "okay"; 39*724ba675SRob Herring 40*724ba675SRob Herring avdd-dsi-csi-supply = <&vdd_1v2_ap>; 41*724ba675SRob Herring 42*724ba675SRob Herring panel@0 { 43*724ba675SRob Herring compatible = "lg,ld070wx3-sl01"; 44*724ba675SRob Herring reg = <0>; 45*724ba675SRob Herring 46*724ba675SRob Herring power-supply = <&vdd_lcd>; 47*724ba675SRob Herring backlight = <&backlight>; 48*724ba675SRob Herring }; 49*724ba675SRob Herring }; 50*724ba675SRob Herring }; 51*724ba675SRob Herring 52*724ba675SRob Herring serial@70006300 { 53*724ba675SRob Herring status = "okay"; 54*724ba675SRob Herring }; 55*724ba675SRob Herring 56*724ba675SRob Herring pwm@7000a000 { 57*724ba675SRob Herring status = "okay"; 58*724ba675SRob Herring }; 59*724ba675SRob Herring 60*724ba675SRob Herring i2c@7000d000 { 61*724ba675SRob Herring status = "okay"; 62*724ba675SRob Herring clock-frequency = <400000>; 63*724ba675SRob Herring 64*724ba675SRob Herring palmas: pmic@58 { 65*724ba675SRob Herring compatible = "ti,tps65913", "ti,palmas"; 66*724ba675SRob Herring reg = <0x58>; 67*724ba675SRob Herring interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 68*724ba675SRob Herring 69*724ba675SRob Herring #interrupt-cells = <2>; 70*724ba675SRob Herring interrupt-controller; 71*724ba675SRob Herring 72*724ba675SRob Herring ti,system-power-controller; 73*724ba675SRob Herring 74*724ba675SRob Herring palmas_gpio: gpio { 75*724ba675SRob Herring compatible = "ti,palmas-gpio"; 76*724ba675SRob Herring gpio-controller; 77*724ba675SRob Herring #gpio-cells = <2>; 78*724ba675SRob Herring }; 79*724ba675SRob Herring 80*724ba675SRob Herring pmic { 81*724ba675SRob Herring compatible = "ti,tps65913-pmic", "ti,palmas-pmic"; 82*724ba675SRob Herring 83*724ba675SRob Herring ldoln-in-supply = <&vdd_smps10_out2>; 84*724ba675SRob Herring 85*724ba675SRob Herring regulators { 86*724ba675SRob Herring smps123 { 87*724ba675SRob Herring regulator-name = "vd-cpu"; 88*724ba675SRob Herring regulator-min-microvolt = <1000000>; 89*724ba675SRob Herring regulator-max-microvolt = <1000000>; 90*724ba675SRob Herring regulator-always-on; 91*724ba675SRob Herring regulator-boot-on; 92*724ba675SRob Herring }; 93*724ba675SRob Herring 94*724ba675SRob Herring smps45 { 95*724ba675SRob Herring regulator-name = "vd-soc"; 96*724ba675SRob Herring regulator-min-microvolt = <1100000>; 97*724ba675SRob Herring regulator-max-microvolt = <1100000>; 98*724ba675SRob Herring regulator-always-on; 99*724ba675SRob Herring regulator-boot-on; 100*724ba675SRob Herring }; 101*724ba675SRob Herring 102*724ba675SRob Herring smps6 { 103*724ba675SRob Herring regulator-name = "va-lcd-hv"; 104*724ba675SRob Herring regulator-min-microvolt = <3000000>; 105*724ba675SRob Herring regulator-max-microvolt = <3000000>; 106*724ba675SRob Herring regulator-always-on; 107*724ba675SRob Herring regulator-boot-on; 108*724ba675SRob Herring }; 109*724ba675SRob Herring 110*724ba675SRob Herring smps7 { 111*724ba675SRob Herring regulator-name = "vd-ddr"; 112*724ba675SRob Herring regulator-min-microvolt = <1350000>; 113*724ba675SRob Herring regulator-max-microvolt = <1350000>; 114*724ba675SRob Herring regulator-always-on; 115*724ba675SRob Herring regulator-boot-on; 116*724ba675SRob Herring }; 117*724ba675SRob Herring 118*724ba675SRob Herring vdd_1v8: smps8 { 119*724ba675SRob Herring regulator-name = "vs-pmu-1v8"; 120*724ba675SRob Herring regulator-min-microvolt = <1800000>; 121*724ba675SRob Herring regulator-max-microvolt = <1800000>; 122*724ba675SRob Herring regulator-always-on; 123*724ba675SRob Herring regulator-boot-on; 124*724ba675SRob Herring }; 125*724ba675SRob Herring 126*724ba675SRob Herring vdd_2v9_sys: smps9 { 127*724ba675SRob Herring regulator-name = "vs-sys-2v9"; 128*724ba675SRob Herring regulator-min-microvolt = <2900000>; 129*724ba675SRob Herring regulator-max-microvolt = <2900000>; 130*724ba675SRob Herring regulator-always-on; 131*724ba675SRob Herring regulator-boot-on; 132*724ba675SRob Herring }; 133*724ba675SRob Herring 134*724ba675SRob Herring vdd_smps10_out1: smps10_out1 { 135*724ba675SRob Herring regulator-name = "vd-smps10-out1"; 136*724ba675SRob Herring regulator-min-microvolt = <5000000>; 137*724ba675SRob Herring regulator-max-microvolt = <5000000>; 138*724ba675SRob Herring regulator-always-on; 139*724ba675SRob Herring regulator-boot-on; 140*724ba675SRob Herring }; 141*724ba675SRob Herring 142*724ba675SRob Herring vdd_smps10_out2: smps10_out2 { 143*724ba675SRob Herring regulator-name = "vd-smps10-out2"; 144*724ba675SRob Herring regulator-min-microvolt = <5000000>; 145*724ba675SRob Herring regulator-max-microvolt = <5000000>; 146*724ba675SRob Herring regulator-always-on; 147*724ba675SRob Herring regulator-boot-on; 148*724ba675SRob Herring }; 149*724ba675SRob Herring 150*724ba675SRob Herring ldo1 { 151*724ba675SRob Herring regulator-name = "va-pllx"; 152*724ba675SRob Herring regulator-min-microvolt = <1050000>; 153*724ba675SRob Herring regulator-max-microvolt = <1050000>; 154*724ba675SRob Herring regulator-always-on; 155*724ba675SRob Herring regulator-boot-on; 156*724ba675SRob Herring }; 157*724ba675SRob Herring 158*724ba675SRob Herring vdd_1v2_ap: ldo2 { 159*724ba675SRob Herring regulator-name = "va-ap-1v2"; 160*724ba675SRob Herring regulator-min-microvolt = <1200000>; 161*724ba675SRob Herring regulator-max-microvolt = <1200000>; 162*724ba675SRob Herring regulator-always-on; 163*724ba675SRob Herring regulator-boot-on; 164*724ba675SRob Herring }; 165*724ba675SRob Herring 166*724ba675SRob Herring ldo3 { 167*724ba675SRob Herring regulator-name = "vd-fuse"; 168*724ba675SRob Herring regulator-min-microvolt = <1800000>; 169*724ba675SRob Herring regulator-max-microvolt = <1800000>; 170*724ba675SRob Herring regulator-always-on; 171*724ba675SRob Herring regulator-boot-on; 172*724ba675SRob Herring }; 173*724ba675SRob Herring 174*724ba675SRob Herring ldo4 { 175*724ba675SRob Herring regulator-name = "vd-ts-hv"; 176*724ba675SRob Herring regulator-min-microvolt = <3200000>; 177*724ba675SRob Herring regulator-max-microvolt = <3200000>; 178*724ba675SRob Herring regulator-always-on; 179*724ba675SRob Herring regulator-boot-on; 180*724ba675SRob Herring }; 181*724ba675SRob Herring 182*724ba675SRob Herring ldo5 { 183*724ba675SRob Herring regulator-name = "va-cam2-hv"; 184*724ba675SRob Herring regulator-min-microvolt = <2700000>; 185*724ba675SRob Herring regulator-max-microvolt = <2700000>; 186*724ba675SRob Herring }; 187*724ba675SRob Herring 188*724ba675SRob Herring ldo6 { 189*724ba675SRob Herring regulator-name = "va-sns-hv"; 190*724ba675SRob Herring regulator-min-microvolt = <2850000>; 191*724ba675SRob Herring regulator-max-microvolt = <2850000>; 192*724ba675SRob Herring }; 193*724ba675SRob Herring 194*724ba675SRob Herring ldo7 { 195*724ba675SRob Herring regulator-name = "va-cam1-hv"; 196*724ba675SRob Herring regulator-min-microvolt = <2700000>; 197*724ba675SRob Herring regulator-max-microvolt = <2700000>; 198*724ba675SRob Herring }; 199*724ba675SRob Herring 200*724ba675SRob Herring ldo8 { 201*724ba675SRob Herring regulator-name = "va-ap-rtc"; 202*724ba675SRob Herring regulator-min-microvolt = <1100000>; 203*724ba675SRob Herring regulator-max-microvolt = <1100000>; 204*724ba675SRob Herring ti,enable-ldo8-tracking; 205*724ba675SRob Herring regulator-always-on; 206*724ba675SRob Herring regulator-boot-on; 207*724ba675SRob Herring }; 208*724ba675SRob Herring 209*724ba675SRob Herring ldo9 { 210*724ba675SRob Herring regulator-name = "vi-sdcard"; 211*724ba675SRob Herring regulator-min-microvolt = <2900000>; 212*724ba675SRob Herring regulator-max-microvolt = <2900000>; 213*724ba675SRob Herring }; 214*724ba675SRob Herring 215*724ba675SRob Herring ldousb { 216*724ba675SRob Herring regulator-name = "avdd-usb"; 217*724ba675SRob Herring regulator-min-microvolt = <3300000>; 218*724ba675SRob Herring regulator-max-microvolt = <3300000>; 219*724ba675SRob Herring regulator-always-on; 220*724ba675SRob Herring regulator-boot-on; 221*724ba675SRob Herring }; 222*724ba675SRob Herring 223*724ba675SRob Herring ldoln { 224*724ba675SRob Herring regulator-name = "va-hdmi"; 225*724ba675SRob Herring regulator-min-microvolt = <3300000>; 226*724ba675SRob Herring regulator-max-microvolt = <3300000>; 227*724ba675SRob Herring }; 228*724ba675SRob Herring }; 229*724ba675SRob Herring }; 230*724ba675SRob Herring 231*724ba675SRob Herring rtc { 232*724ba675SRob Herring compatible = "ti,palmas-rtc"; 233*724ba675SRob Herring interrupt-parent = <&palmas>; 234*724ba675SRob Herring interrupts = <8 0>; 235*724ba675SRob Herring }; 236*724ba675SRob Herring 237*724ba675SRob Herring }; 238*724ba675SRob Herring }; 239*724ba675SRob Herring 240*724ba675SRob Herring pmc@7000e400 { 241*724ba675SRob Herring nvidia,invert-interrupt; 242*724ba675SRob Herring }; 243*724ba675SRob Herring 244*724ba675SRob Herring /* eMMC */ 245*724ba675SRob Herring mmc@78000600 { 246*724ba675SRob Herring status = "okay"; 247*724ba675SRob Herring bus-width = <8>; 248*724ba675SRob Herring non-removable; 249*724ba675SRob Herring }; 250*724ba675SRob Herring 251*724ba675SRob Herring usb@7d000000 { 252*724ba675SRob Herring status = "okay"; 253*724ba675SRob Herring }; 254*724ba675SRob Herring 255*724ba675SRob Herring usb-phy@7d000000 { 256*724ba675SRob Herring status = "okay"; 257*724ba675SRob Herring nvidia,xcvr-setup = <7>; 258*724ba675SRob Herring nvidia,xcvr-lsfslew = <2>; 259*724ba675SRob Herring nvidia,xcvr-lsrslew = <2>; 260*724ba675SRob Herring interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; 261*724ba675SRob Herring /* Should be changed to "otg" once we have vbus_supply */ 262*724ba675SRob Herring /* As of now, USB devices need to be powered externally */ 263*724ba675SRob Herring dr_mode = "host"; 264*724ba675SRob Herring }; 265*724ba675SRob Herring 266*724ba675SRob Herring backlight: backlight { 267*724ba675SRob Herring compatible = "pwm-backlight"; 268*724ba675SRob Herring pwms = <&pwm 1 40000>; 269*724ba675SRob Herring 270*724ba675SRob Herring brightness-levels = <0 4 8 16 32 64 128 255>; 271*724ba675SRob Herring default-brightness-level = <6>; 272*724ba675SRob Herring 273*724ba675SRob Herring power-supply = <&lcd_bl_en>; 274*724ba675SRob Herring }; 275*724ba675SRob Herring 276*724ba675SRob Herring clk32k_in: clock-32k { 277*724ba675SRob Herring compatible = "fixed-clock"; 278*724ba675SRob Herring clock-frequency = <32768>; 279*724ba675SRob Herring #clock-cells = <0>; 280*724ba675SRob Herring }; 281*724ba675SRob Herring 282*724ba675SRob Herring gpio-keys { 283*724ba675SRob Herring compatible = "gpio-keys"; 284*724ba675SRob Herring 285*724ba675SRob Herring key-power { 286*724ba675SRob Herring label = "Power"; 287*724ba675SRob Herring gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>; 288*724ba675SRob Herring linux,code = <KEY_POWER>; 289*724ba675SRob Herring wakeup-source; 290*724ba675SRob Herring }; 291*724ba675SRob Herring 292*724ba675SRob Herring key-volume-down { 293*724ba675SRob Herring label = "Volume Down"; 294*724ba675SRob Herring gpios = <&gpio TEGRA_GPIO(Q, 2) GPIO_ACTIVE_LOW>; 295*724ba675SRob Herring linux,code = <KEY_VOLUMEDOWN>; 296*724ba675SRob Herring }; 297*724ba675SRob Herring 298*724ba675SRob Herring key-volume-up { 299*724ba675SRob Herring label = "Volume Up"; 300*724ba675SRob Herring gpios = <&gpio TEGRA_GPIO(R, 2) GPIO_ACTIVE_LOW>; 301*724ba675SRob Herring linux,code = <KEY_VOLUMEUP>; 302*724ba675SRob Herring }; 303*724ba675SRob Herring }; 304*724ba675SRob Herring 305*724ba675SRob Herring /* FIXME: output of BQ24192 */ 306*724ba675SRob Herring vs_sys: regulator-vs { 307*724ba675SRob Herring compatible = "regulator-fixed"; 308*724ba675SRob Herring regulator-name = "VS_SYS"; 309*724ba675SRob Herring regulator-min-microvolt = <4200000>; 310*724ba675SRob Herring regulator-max-microvolt = <4200000>; 311*724ba675SRob Herring regulator-always-on; 312*724ba675SRob Herring regulator-boot-on; 313*724ba675SRob Herring }; 314*724ba675SRob Herring 315*724ba675SRob Herring lcd_bl_en: regulator-lcden { 316*724ba675SRob Herring compatible = "regulator-fixed"; 317*724ba675SRob Herring regulator-name = "VDD_LCD_BL"; 318*724ba675SRob Herring regulator-min-microvolt = <16500000>; 319*724ba675SRob Herring regulator-max-microvolt = <16500000>; 320*724ba675SRob Herring gpio = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>; 321*724ba675SRob Herring enable-active-high; 322*724ba675SRob Herring vin-supply = <&vs_sys>; 323*724ba675SRob Herring regulator-boot-on; 324*724ba675SRob Herring }; 325*724ba675SRob Herring 326*724ba675SRob Herring vdd_lcd: regulator-lcd { 327*724ba675SRob Herring compatible = "regulator-fixed"; 328*724ba675SRob Herring regulator-name = "VD_LCD_1V8"; 329*724ba675SRob Herring regulator-min-microvolt = <1800000>; 330*724ba675SRob Herring regulator-max-microvolt = <1800000>; 331*724ba675SRob Herring gpio = <&palmas_gpio 4 GPIO_ACTIVE_HIGH>; 332*724ba675SRob Herring enable-active-high; 333*724ba675SRob Herring vin-supply = <&vdd_1v8>; 334*724ba675SRob Herring regulator-boot-on; 335*724ba675SRob Herring }; 336*724ba675SRob Herring}; 337