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