1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2724ba675SRob Herring/dts-v1/; 3724ba675SRob Herring 4724ba675SRob Herring#include <dt-bindings/input/input.h> 5724ba675SRob Herring#include "tegra114.dtsi" 6724ba675SRob Herring 7724ba675SRob Herring/ { 8724ba675SRob Herring model = "Tegra Note 7"; 9724ba675SRob Herring compatible = "nvidia,tn7", "nvidia,tegra114"; 10724ba675SRob Herring 11724ba675SRob Herring chosen { 12724ba675SRob Herring /* TN7's bootloader's arguments need to be overridden */ 13724ba675SRob Herring bootargs = "console=ttyS0,115200n8 console=tty1 gpt fbcon=rotate:2"; 14724ba675SRob Herring /* TN7's bootloader will place initrd at this address */ 15724ba675SRob Herring linux,initrd-start = <0x82000000>; 16724ba675SRob Herring linux,initrd-end = <0x82800000>; 17724ba675SRob Herring }; 18724ba675SRob Herring 19724ba675SRob Herring aliases { 20724ba675SRob Herring serial0 = &uartd; 21724ba675SRob Herring }; 22724ba675SRob Herring 23724ba675SRob Herring firmware { 24724ba675SRob Herring trusted-foundations { 25724ba675SRob Herring compatible = "tlm,trusted-foundations"; 26724ba675SRob Herring tlm,version-major = <2>; 27724ba675SRob Herring tlm,version-minor = <8>; 28724ba675SRob Herring }; 29724ba675SRob Herring }; 30724ba675SRob Herring 31724ba675SRob Herring memory@80000000 { 32724ba675SRob Herring /* memory >= 0x37e00000 is reserved for firmware usage */ 33724ba675SRob Herring reg = <0x80000000 0x37e00000>; 34724ba675SRob Herring }; 35724ba675SRob Herring 36724ba675SRob Herring host1x@50000000 { 37724ba675SRob Herring dsi@54300000 { 38724ba675SRob Herring status = "okay"; 39724ba675SRob Herring 40724ba675SRob Herring avdd-dsi-csi-supply = <&vdd_1v2_ap>; 41724ba675SRob Herring 42724ba675SRob Herring panel@0 { 43724ba675SRob Herring compatible = "lg,ld070wx3-sl01"; 44724ba675SRob Herring reg = <0>; 45724ba675SRob Herring 46724ba675SRob Herring power-supply = <&vdd_lcd>; 47724ba675SRob Herring backlight = <&backlight>; 48724ba675SRob Herring }; 49724ba675SRob Herring }; 50724ba675SRob Herring }; 51724ba675SRob Herring 52724ba675SRob Herring serial@70006300 { 53*9766116aSThierry Reding /delete-property/ dmas; 54*9766116aSThierry Reding /delete-property/ dma-names; 55724ba675SRob Herring status = "okay"; 56724ba675SRob Herring }; 57724ba675SRob Herring 58724ba675SRob Herring pwm@7000a000 { 59724ba675SRob Herring status = "okay"; 60724ba675SRob Herring }; 61724ba675SRob Herring 62724ba675SRob Herring i2c@7000d000 { 63724ba675SRob Herring status = "okay"; 64724ba675SRob Herring clock-frequency = <400000>; 65724ba675SRob Herring 66724ba675SRob Herring palmas: pmic@58 { 67724ba675SRob Herring compatible = "ti,tps65913", "ti,palmas"; 68724ba675SRob Herring reg = <0x58>; 69724ba675SRob Herring interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 70724ba675SRob Herring 71724ba675SRob Herring #interrupt-cells = <2>; 72724ba675SRob Herring interrupt-controller; 73724ba675SRob Herring 74724ba675SRob Herring ti,system-power-controller; 75724ba675SRob Herring 76724ba675SRob Herring palmas_gpio: gpio { 77724ba675SRob Herring compatible = "ti,palmas-gpio"; 78724ba675SRob Herring gpio-controller; 79724ba675SRob Herring #gpio-cells = <2>; 80724ba675SRob Herring }; 81724ba675SRob Herring 82724ba675SRob Herring pmic { 83724ba675SRob Herring compatible = "ti,tps65913-pmic", "ti,palmas-pmic"; 84724ba675SRob Herring 85724ba675SRob Herring ldoln-in-supply = <&vdd_smps10_out2>; 86724ba675SRob Herring 87724ba675SRob Herring regulators { 88724ba675SRob Herring smps123 { 89724ba675SRob Herring regulator-name = "vd-cpu"; 90724ba675SRob Herring regulator-min-microvolt = <1000000>; 91724ba675SRob Herring regulator-max-microvolt = <1000000>; 92724ba675SRob Herring regulator-always-on; 93724ba675SRob Herring regulator-boot-on; 94724ba675SRob Herring }; 95724ba675SRob Herring 96724ba675SRob Herring smps45 { 97724ba675SRob Herring regulator-name = "vd-soc"; 98724ba675SRob Herring regulator-min-microvolt = <1100000>; 99724ba675SRob Herring regulator-max-microvolt = <1100000>; 100724ba675SRob Herring regulator-always-on; 101724ba675SRob Herring regulator-boot-on; 102724ba675SRob Herring }; 103724ba675SRob Herring 104724ba675SRob Herring smps6 { 105724ba675SRob Herring regulator-name = "va-lcd-hv"; 106724ba675SRob Herring regulator-min-microvolt = <3000000>; 107724ba675SRob Herring regulator-max-microvolt = <3000000>; 108724ba675SRob Herring regulator-always-on; 109724ba675SRob Herring regulator-boot-on; 110724ba675SRob Herring }; 111724ba675SRob Herring 112724ba675SRob Herring smps7 { 113724ba675SRob Herring regulator-name = "vd-ddr"; 114724ba675SRob Herring regulator-min-microvolt = <1350000>; 115724ba675SRob Herring regulator-max-microvolt = <1350000>; 116724ba675SRob Herring regulator-always-on; 117724ba675SRob Herring regulator-boot-on; 118724ba675SRob Herring }; 119724ba675SRob Herring 120724ba675SRob Herring vdd_1v8: smps8 { 121724ba675SRob Herring regulator-name = "vs-pmu-1v8"; 122724ba675SRob Herring regulator-min-microvolt = <1800000>; 123724ba675SRob Herring regulator-max-microvolt = <1800000>; 124724ba675SRob Herring regulator-always-on; 125724ba675SRob Herring regulator-boot-on; 126724ba675SRob Herring }; 127724ba675SRob Herring 128724ba675SRob Herring vdd_2v9_sys: smps9 { 129724ba675SRob Herring regulator-name = "vs-sys-2v9"; 130724ba675SRob Herring regulator-min-microvolt = <2900000>; 131724ba675SRob Herring regulator-max-microvolt = <2900000>; 132724ba675SRob Herring regulator-always-on; 133724ba675SRob Herring regulator-boot-on; 134724ba675SRob Herring }; 135724ba675SRob Herring 136724ba675SRob Herring vdd_smps10_out1: smps10_out1 { 137724ba675SRob Herring regulator-name = "vd-smps10-out1"; 138724ba675SRob Herring regulator-min-microvolt = <5000000>; 139724ba675SRob Herring regulator-max-microvolt = <5000000>; 140724ba675SRob Herring regulator-always-on; 141724ba675SRob Herring regulator-boot-on; 142724ba675SRob Herring }; 143724ba675SRob Herring 144724ba675SRob Herring vdd_smps10_out2: smps10_out2 { 145724ba675SRob Herring regulator-name = "vd-smps10-out2"; 146724ba675SRob Herring regulator-min-microvolt = <5000000>; 147724ba675SRob Herring regulator-max-microvolt = <5000000>; 148724ba675SRob Herring regulator-always-on; 149724ba675SRob Herring regulator-boot-on; 150724ba675SRob Herring }; 151724ba675SRob Herring 152724ba675SRob Herring ldo1 { 153724ba675SRob Herring regulator-name = "va-pllx"; 154724ba675SRob Herring regulator-min-microvolt = <1050000>; 155724ba675SRob Herring regulator-max-microvolt = <1050000>; 156724ba675SRob Herring regulator-always-on; 157724ba675SRob Herring regulator-boot-on; 158724ba675SRob Herring }; 159724ba675SRob Herring 160724ba675SRob Herring vdd_1v2_ap: ldo2 { 161724ba675SRob Herring regulator-name = "va-ap-1v2"; 162724ba675SRob Herring regulator-min-microvolt = <1200000>; 163724ba675SRob Herring regulator-max-microvolt = <1200000>; 164724ba675SRob Herring regulator-always-on; 165724ba675SRob Herring regulator-boot-on; 166724ba675SRob Herring }; 167724ba675SRob Herring 168724ba675SRob Herring ldo3 { 169724ba675SRob Herring regulator-name = "vd-fuse"; 170724ba675SRob Herring regulator-min-microvolt = <1800000>; 171724ba675SRob Herring regulator-max-microvolt = <1800000>; 172724ba675SRob Herring regulator-always-on; 173724ba675SRob Herring regulator-boot-on; 174724ba675SRob Herring }; 175724ba675SRob Herring 176724ba675SRob Herring ldo4 { 177724ba675SRob Herring regulator-name = "vd-ts-hv"; 178724ba675SRob Herring regulator-min-microvolt = <3200000>; 179724ba675SRob Herring regulator-max-microvolt = <3200000>; 180724ba675SRob Herring regulator-always-on; 181724ba675SRob Herring regulator-boot-on; 182724ba675SRob Herring }; 183724ba675SRob Herring 184724ba675SRob Herring ldo5 { 185724ba675SRob Herring regulator-name = "va-cam2-hv"; 186724ba675SRob Herring regulator-min-microvolt = <2700000>; 187724ba675SRob Herring regulator-max-microvolt = <2700000>; 188724ba675SRob Herring }; 189724ba675SRob Herring 190724ba675SRob Herring ldo6 { 191724ba675SRob Herring regulator-name = "va-sns-hv"; 192724ba675SRob Herring regulator-min-microvolt = <2850000>; 193724ba675SRob Herring regulator-max-microvolt = <2850000>; 194724ba675SRob Herring }; 195724ba675SRob Herring 196724ba675SRob Herring ldo7 { 197724ba675SRob Herring regulator-name = "va-cam1-hv"; 198724ba675SRob Herring regulator-min-microvolt = <2700000>; 199724ba675SRob Herring regulator-max-microvolt = <2700000>; 200724ba675SRob Herring }; 201724ba675SRob Herring 202724ba675SRob Herring ldo8 { 203724ba675SRob Herring regulator-name = "va-ap-rtc"; 204724ba675SRob Herring regulator-min-microvolt = <1100000>; 205724ba675SRob Herring regulator-max-microvolt = <1100000>; 206724ba675SRob Herring ti,enable-ldo8-tracking; 207724ba675SRob Herring regulator-always-on; 208724ba675SRob Herring regulator-boot-on; 209724ba675SRob Herring }; 210724ba675SRob Herring 211724ba675SRob Herring ldo9 { 212724ba675SRob Herring regulator-name = "vi-sdcard"; 213724ba675SRob Herring regulator-min-microvolt = <2900000>; 214724ba675SRob Herring regulator-max-microvolt = <2900000>; 215724ba675SRob Herring }; 216724ba675SRob Herring 217724ba675SRob Herring ldousb { 218724ba675SRob Herring regulator-name = "avdd-usb"; 219724ba675SRob Herring regulator-min-microvolt = <3300000>; 220724ba675SRob Herring regulator-max-microvolt = <3300000>; 221724ba675SRob Herring regulator-always-on; 222724ba675SRob Herring regulator-boot-on; 223724ba675SRob Herring }; 224724ba675SRob Herring 225724ba675SRob Herring ldoln { 226724ba675SRob Herring regulator-name = "va-hdmi"; 227724ba675SRob Herring regulator-min-microvolt = <3300000>; 228724ba675SRob Herring regulator-max-microvolt = <3300000>; 229724ba675SRob Herring }; 230724ba675SRob Herring }; 231724ba675SRob Herring }; 232724ba675SRob Herring 233724ba675SRob Herring rtc { 234724ba675SRob Herring compatible = "ti,palmas-rtc"; 235724ba675SRob Herring interrupt-parent = <&palmas>; 236724ba675SRob Herring interrupts = <8 0>; 237724ba675SRob Herring }; 238724ba675SRob Herring 239724ba675SRob Herring }; 240724ba675SRob Herring }; 241724ba675SRob Herring 242724ba675SRob Herring pmc@7000e400 { 243724ba675SRob Herring nvidia,invert-interrupt; 244724ba675SRob Herring }; 245724ba675SRob Herring 246724ba675SRob Herring /* eMMC */ 247724ba675SRob Herring mmc@78000600 { 248724ba675SRob Herring status = "okay"; 249724ba675SRob Herring bus-width = <8>; 250724ba675SRob Herring non-removable; 251724ba675SRob Herring }; 252724ba675SRob Herring 253724ba675SRob Herring usb@7d000000 { 254724ba675SRob Herring status = "okay"; 255724ba675SRob Herring }; 256724ba675SRob Herring 257724ba675SRob Herring usb-phy@7d000000 { 258724ba675SRob Herring status = "okay"; 259724ba675SRob Herring nvidia,xcvr-setup = <7>; 260724ba675SRob Herring nvidia,xcvr-lsfslew = <2>; 261724ba675SRob Herring nvidia,xcvr-lsrslew = <2>; 262724ba675SRob Herring interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; 263724ba675SRob Herring /* Should be changed to "otg" once we have vbus_supply */ 264724ba675SRob Herring /* As of now, USB devices need to be powered externally */ 265724ba675SRob Herring dr_mode = "host"; 266724ba675SRob Herring }; 267724ba675SRob Herring 268724ba675SRob Herring backlight: backlight { 269724ba675SRob Herring compatible = "pwm-backlight"; 270724ba675SRob Herring pwms = <&pwm 1 40000>; 271724ba675SRob Herring 272724ba675SRob Herring brightness-levels = <0 4 8 16 32 64 128 255>; 273724ba675SRob Herring default-brightness-level = <6>; 274724ba675SRob Herring 275724ba675SRob Herring power-supply = <&lcd_bl_en>; 276724ba675SRob Herring }; 277724ba675SRob Herring 278724ba675SRob Herring clk32k_in: clock-32k { 279724ba675SRob Herring compatible = "fixed-clock"; 280724ba675SRob Herring clock-frequency = <32768>; 281724ba675SRob Herring #clock-cells = <0>; 282724ba675SRob Herring }; 283724ba675SRob Herring 284724ba675SRob Herring gpio-keys { 285724ba675SRob Herring compatible = "gpio-keys"; 286724ba675SRob Herring 287724ba675SRob Herring key-power { 288724ba675SRob Herring label = "Power"; 289724ba675SRob Herring gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>; 290724ba675SRob Herring linux,code = <KEY_POWER>; 291724ba675SRob Herring wakeup-source; 292724ba675SRob Herring }; 293724ba675SRob Herring 294724ba675SRob Herring key-volume-down { 295724ba675SRob Herring label = "Volume Down"; 296724ba675SRob Herring gpios = <&gpio TEGRA_GPIO(Q, 2) GPIO_ACTIVE_LOW>; 297724ba675SRob Herring linux,code = <KEY_VOLUMEDOWN>; 298724ba675SRob Herring }; 299724ba675SRob Herring 300724ba675SRob Herring key-volume-up { 301724ba675SRob Herring label = "Volume Up"; 302724ba675SRob Herring gpios = <&gpio TEGRA_GPIO(R, 2) GPIO_ACTIVE_LOW>; 303724ba675SRob Herring linux,code = <KEY_VOLUMEUP>; 304724ba675SRob Herring }; 305724ba675SRob Herring }; 306724ba675SRob Herring 307724ba675SRob Herring /* FIXME: output of BQ24192 */ 308724ba675SRob Herring vs_sys: regulator-vs { 309724ba675SRob Herring compatible = "regulator-fixed"; 310724ba675SRob Herring regulator-name = "VS_SYS"; 311724ba675SRob Herring regulator-min-microvolt = <4200000>; 312724ba675SRob Herring regulator-max-microvolt = <4200000>; 313724ba675SRob Herring regulator-always-on; 314724ba675SRob Herring regulator-boot-on; 315724ba675SRob Herring }; 316724ba675SRob Herring 317724ba675SRob Herring lcd_bl_en: regulator-lcden { 318724ba675SRob Herring compatible = "regulator-fixed"; 319724ba675SRob Herring regulator-name = "VDD_LCD_BL"; 320724ba675SRob Herring regulator-min-microvolt = <16500000>; 321724ba675SRob Herring regulator-max-microvolt = <16500000>; 322724ba675SRob Herring gpio = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>; 323724ba675SRob Herring enable-active-high; 324724ba675SRob Herring vin-supply = <&vs_sys>; 325724ba675SRob Herring regulator-boot-on; 326724ba675SRob Herring }; 327724ba675SRob Herring 328724ba675SRob Herring vdd_lcd: regulator-lcd { 329724ba675SRob Herring compatible = "regulator-fixed"; 330724ba675SRob Herring regulator-name = "VD_LCD_1V8"; 331724ba675SRob Herring regulator-min-microvolt = <1800000>; 332724ba675SRob Herring regulator-max-microvolt = <1800000>; 333724ba675SRob Herring gpio = <&palmas_gpio 4 GPIO_ACTIVE_HIGH>; 334724ba675SRob Herring enable-active-high; 335724ba675SRob Herring vin-supply = <&vdd_1v8>; 336724ba675SRob Herring regulator-boot-on; 337724ba675SRob Herring }; 338724ba675SRob Herring}; 339