cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

tegra114-asus-tf701t.dts (17794B)


      1// SPDX-License-Identifier: GPL-2.0
      2
      3/dts-v1/;
      4
      5#include <dt-bindings/input/gpio-keys.h>
      6#include <dt-bindings/input/input.h>
      7
      8#include "tegra114.dtsi"
      9
     10/ {
     11	model = "Asus Transformer Pad TF701T";
     12	compatible = "asus,tf701t", "nvidia,tegra114";
     13	chassis-type = "convertible";
     14
     15	aliases {
     16		mmc0 = "/mmc@78000600"; /* eMMC */
     17		mmc1 = "/mmc@78000400"; /* uSD slot */
     18		mmc2 = "/mmc@78000000"; /* WiFi */
     19
     20		rtc0 = &palmas;
     21		rtc1 = "/rtc@7000e000";
     22
     23		serial0 = &uartd; /* Console */
     24		serial1 = &uartc; /* Bluetooth */
     25		serial2 = &uartb; /* GPS */
     26	};
     27
     28	memory@80000000 {
     29		reg = <0x80000000 0x80000000>;
     30	};
     31
     32	reserved-memory {
     33		#address-cells = <1>;
     34		#size-cells = <1>;
     35		ranges;
     36
     37		linux,cma@80000000 {
     38			compatible = "shared-dma-pool";
     39			alloc-ranges = <0x80000000 0x30000000>;
     40			size = <0x10000000>;
     41			linux,cma-default;
     42			reusable;
     43		};
     44
     45		trustzone@bfe00000 {
     46			reg = <0xbfe00000 0x200000>;
     47			no-map;
     48		};
     49	};
     50
     51	host1x@50000000 {
     52		dsi@54300000 {
     53			status = "okay";
     54
     55			avdd-dsi-csi-supply = <&tps65913_ldo2>;
     56
     57			nvidia,ganged-mode = <&dsib>;
     58
     59			panel_primary: panel@0 {
     60				compatible = "sharp,lq101r1sx01";
     61				reg = <0>;
     62
     63				link2 = <&panel_secondary>;
     64
     65				power-supply = <&vdd_lcd>;
     66				backlight = <&backlight>;
     67			};
     68		};
     69
     70		dsi@54400000 {
     71			status = "okay";
     72
     73			avdd-dsi-csi-supply = <&tps65913_ldo2>;
     74
     75			panel_secondary: panel@0 {
     76				compatible = "sharp,lq101r1sx01";
     77				reg = <0>;
     78			};
     79		};
     80	};
     81
     82	pinmux@70000868 {
     83		asus_pad_ec_default: asus-pad-ec-default {
     84			ec-interrupt {
     85				nvidia,pins = "kb_col5_pq5";
     86				nvidia,function = "kbc";
     87				nvidia,pull = <TEGRA_PIN_PULL_UP>;
     88				nvidia,tristate = <TEGRA_PIN_DISABLE>;
     89				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
     90			};
     91
     92			ec-request {
     93				nvidia,pins = "kb_col2_pq2";
     94				nvidia,function = "kbc";
     95				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
     96				nvidia,tristate = <TEGRA_PIN_DISABLE>;
     97				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
     98			};
     99		};
    100
    101		backlight_default: backlight-default {
    102			backlight-enable {
    103				nvidia,pins = "gmi_ad10_ph2";
    104				nvidia,function = "gmi";
    105				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
    106				nvidia,tristate = <TEGRA_PIN_DISABLE>;
    107				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
    108			};
    109		};
    110
    111		codec_default: codec-default {
    112			ldo1-en {
    113				nvidia,pins = "sdmmc1_wp_n_pv3";
    114				nvidia,function = "sdmmc1";
    115				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
    116				nvidia,tristate = <TEGRA_PIN_DISABLE>;
    117				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
    118			};
    119
    120			interrupt {
    121				nvidia,pins = "gpio_w2_aud_pw2",
    122						"gpio_w3_aud_pw3";
    123				nvidia,function = "spi6";
    124				nvidia,pull = <TEGRA_PIN_PULL_UP>;
    125				nvidia,tristate = <TEGRA_PIN_DISABLE>;
    126				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
    127			};
    128		};
    129
    130		gpio_keys_default: gpio-keys-default {
    131			power {
    132				nvidia,pins = "kb_col0_pq0";
    133				nvidia,function = "kbc";
    134				nvidia,pull = <TEGRA_PIN_PULL_UP>;
    135				nvidia,tristate = <TEGRA_PIN_ENABLE>;
    136				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
    137			};
    138
    139			volume {
    140				nvidia,pins = "kb_row1_pr1",
    141						"kb_row2_pr2";
    142				nvidia,function = "rsvd2";
    143				nvidia,pull = <TEGRA_PIN_PULL_UP>;
    144				nvidia,tristate = <TEGRA_PIN_ENABLE>;
    145				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
    146			};
    147		};
    148
    149		gpio_hall_sensor_default: gpio-hall-sensor-default {
    150			ulpi_data4_po5 {
    151				nvidia,pins = "ulpi_data4_po5";
    152				nvidia,function = "spi2";
    153				nvidia,pull = <TEGRA_PIN_PULL_UP>;
    154				nvidia,tristate = <TEGRA_PIN_DISABLE>;
    155				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
    156			};
    157		};
    158
    159		hp_det_default: hp-det-default {
    160			gmi_iordy_pi5 {
    161				nvidia,pins = "kb_row7_pr7";
    162				nvidia,function = "rsvd2";
    163				nvidia,pull = <TEGRA_PIN_PULL_UP>;
    164				nvidia,tristate = <TEGRA_PIN_DISABLE>;
    165				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
    166			};
    167		};
    168
    169		imu_default: imu-default {
    170			kb_row3_pr3 {
    171				nvidia,pins = "kb_row3_pr3";
    172				nvidia,function = "rsvd3";
    173				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
    174				nvidia,tristate = <TEGRA_PIN_DISABLE>;
    175				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
    176			};
    177		};
    178
    179		pwm_default: pwm-default {
    180			gmi_ad9_ph1 {
    181				nvidia,pins = "gmi_ad9_ph1";
    182				nvidia,function = "pwm1";
    183				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
    184				nvidia,tristate = <TEGRA_PIN_DISABLE>;
    185				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
    186			};
    187		};
    188
    189		/* XXX make this something more sensible */
    190		pwm_sleep: pwm-sleep {
    191			gmi_ad9_ph1 {
    192				nvidia,pins = "gmi_ad9_ph1";
    193				nvidia,function = "pwm1";
    194				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
    195				nvidia,tristate = <TEGRA_PIN_DISABLE>;
    196				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
    197			};
    198		};
    199
    200		sdmmc3_default: sdmmc3-default {
    201			sdmmc3_clk_pa6 {
    202				nvidia,pins = "sdmmc3_clk_pa6";
    203				nvidia,function = "sdmmc3";
    204				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
    205				nvidia,tristate = <TEGRA_PIN_DISABLE>;
    206				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
    207			};
    208
    209			sdmmc3_cmd_pa7 {
    210				nvidia,pins = "sdmmc3_cmd_pa7",
    211						"sdmmc3_dat0_pb7",
    212						"sdmmc3_dat1_pb6",
    213						"sdmmc3_dat2_pb5",
    214						"sdmmc3_dat3_pb4",
    215						"kb_col4_pq4",
    216						"sdmmc3_clk_lb_out_pee4",
    217						"sdmmc3_clk_lb_in_pee5",
    218						"sdmmc3_cd_n_pv2";
    219				nvidia,function = "sdmmc3";
    220				nvidia,pull = <TEGRA_PIN_PULL_UP>;
    221				nvidia,tristate = <TEGRA_PIN_DISABLE>;
    222				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
    223			};
    224
    225			drive_sdio3 {
    226				nvidia,pins = "drive_sdio3";
    227				nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>;
    228				nvidia,schmitt = <TEGRA_PIN_DISABLE>;
    229				nvidia,pull-down-strength = <22>;
    230				nvidia,pull-up-strength = <36>;
    231				nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
    232				nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
    233			};
    234		};
    235
    236		sdmmc3_vdd_default: sdmmc3-vdd-default {
    237			gmi_clk_pk1 {
    238				nvidia,pins = "gmi_clk_pk1";
    239				nvidia,function = "gmi";
    240				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
    241				nvidia,tristate = <TEGRA_PIN_DISABLE>;
    242				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
    243			};
    244		};
    245
    246		vdd_lcd_default: vdd-lcd-default {
    247			sdmmc4_clk_pcc4 {
    248				nvidia,pins = "sdmmc4_clk_pcc4";
    249				nvidia,function = "sdmmc4";
    250				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
    251				nvidia,tristate = <TEGRA_PIN_DISABLE>;
    252				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
    253			};
    254		};
    255	};
    256
    257	serial@70006040 {
    258		/* GPS */
    259	};
    260
    261	serial@70006200 {
    262		/* Bluetooth */
    263	};
    264
    265	serial@70006300 {
    266		status = "okay";
    267	};
    268
    269	pwm@7000a000 {
    270		status = "okay";
    271
    272		pinctrl-names = "default", "sleep";
    273		pinctrl-0 = <&pwm_default>;
    274		pinctrl-1 = <&pwm_sleep>;
    275	};
    276
    277	i2c@7000c000 {
    278		status = "okay";
    279		clock-frequency = <100000>;
    280
    281		magnetometer@c {
    282			compatible = "asahi-kasei,ak09911";
    283			reg = <0xc>;
    284
    285			vdd-supply = <&vdd_3v3_sys>;
    286		};
    287
    288		rt5639: audio-codec@1c {
    289			compatible = "realtek,rt5639";
    290			reg = <0x1c>;
    291
    292			interrupt-parent = <&gpio>;
    293			interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_EDGE_FALLING>;
    294
    295			realtek,ldo1-en-gpios = <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>;
    296
    297			pinctrl-names = "default";
    298			pinctrl-0 = <&codec_default>;
    299		};
    300
    301		motion-tracker@68 {
    302			compatible = "invensense,mpu6500";
    303			reg = <0x68>;
    304
    305			interrupt-parent = <&gpio>;
    306			interrupts = <TEGRA_GPIO(R, 3) IRQ_TYPE_LEVEL_HIGH>;
    307
    308			mount-matrix =  "0", "-1", "0",
    309					"1",  "0", "0",
    310					"0",  "0", "1";
    311
    312			pinctrl-names = "default";
    313			pinctrl-0 = <&imu_default>;
    314		};
    315
    316		temp_sensor: temperature-sensor@4c {
    317			compatible = "onnn,nct1008";
    318			reg = <0x4c>;
    319
    320			vcc-supply = <&vdd_3v3_sys>;
    321			#thermal-sensor-cells = <1>;
    322		};
    323	};
    324
    325	i2c@7000c400 {
    326		status = "okay";
    327		clock-frequency = <100000>;
    328
    329		power-sensor@44 {
    330			compatible = "ti,ina230";
    331			reg = <0x44>;
    332		};
    333	};
    334
    335	i2c@7000c500 {
    336		status = "okay";
    337		clock-frequency = <400000>;
    338
    339		light-sensor@1c {
    340			compatible = "dynaimage,al3320a";
    341			reg = <0x1c>;
    342
    343			vdd-supply = <&vdd_3v3_sys>;
    344		};
    345	};
    346
    347	i2c@7000c700 {
    348		/* HDMI DDC */
    349	};
    350
    351	i2c@7000d000 {
    352		status = "okay";
    353		clock-frequency = <400000>;
    354
    355		palmas: pmic@58 {
    356			compatible = "ti,tps65913", "ti,palmas";
    357			reg = <0x58>;
    358			interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
    359
    360			#interrupt-cells = <2>;
    361			interrupt-controller;
    362
    363			ti,system-power-controller;
    364
    365			palmas_gpio: gpio {
    366				compatible = "ti,palmas-gpio";
    367				gpio-controller;
    368				#gpio-cells = <2>;
    369			};
    370
    371			pmic {
    372				compatible = "ti,tps65913-pmic", "ti,palmas-pmic";
    373
    374				ldo1-in-supply = <&tps65913_smps7>;
    375				ldo2-in-supply = <&tps65913_smps7>;
    376				ldo4-in-supply = <&tps65913_smps8>;
    377				ldo5-in-supply = <&tps65913_smps9>;
    378				ldo6-in-supply = <&tps65913_smps9>;
    379				ldo7-in-supply = <&tps65913_smps9>;
    380				ldo9-in-supply = <&tps65913_smps9>;
    381
    382				regulators {
    383					tps65913_smps123: smps123 {
    384						regulator-name = "vdd-cpu";
    385						regulator-min-microvolt = <900000>;
    386						regulator-max-microvolt = <1350000>;
    387						regulator-always-on;
    388						regulator-boot-on;
    389						ti,roof-floor = <1>;
    390						ti,mode-sleep = <3>;
    391					};
    392
    393					tps65913_smps45: smps45 {
    394						regulator-name = "vdd-core";
    395						regulator-min-microvolt = <900000>;
    396						regulator-max-microvolt = <1400000>;
    397						regulator-always-on;
    398						regulator-boot-on;
    399						ti,roof-floor = <3>;
    400					};
    401
    402					smps6 {
    403						regulator-name = "va-lcd-hv";
    404						regulator-min-microvolt = <1000000>;
    405						regulator-max-microvolt = <1000000>;
    406						regulator-always-on;
    407						regulator-boot-on;
    408					};
    409
    410					tps65913_smps7: smps7 {
    411						regulator-name = "vdd-ddr";
    412						regulator-min-microvolt = <1350000>;
    413						regulator-max-microvolt = <1350000>;
    414						regulator-always-on;
    415						regulator-boot-on;
    416					};
    417
    418					tps65913_smps8: smps8 {
    419						regulator-name = "vdd-1v8";
    420						regulator-min-microvolt = <1800000>;
    421						regulator-max-microvolt = <1800000>;
    422						regulator-always-on;
    423						regulator-boot-on;
    424					};
    425
    426					tps65913_smps9: smps9 {
    427						regulator-name = "vdd-sd";
    428						regulator-min-microvolt = <2900000>;
    429						regulator-max-microvolt = <2900000>;
    430						regulator-always-on;
    431					};
    432
    433					tps65913_smps10_out1: smps10_out1 {
    434						regulator-name = "vd-smps10-out1";
    435						regulator-min-microvolt = <5000000>;
    436						regulator-max-microvolt = <5000000>;
    437						regulator-always-on;
    438						regulator-boot-on;
    439					};
    440
    441					tps65913_smps10_out2: smps10_out2 {
    442						regulator-name = "vd-smps10-out2";
    443						regulator-min-microvolt = <5000000>;
    444						regulator-max-microvolt = <5000000>;
    445						regulator-always-on;
    446						regulator-boot-on;
    447					};
    448
    449					tps65913_ldo1: ldo1 {
    450						regulator-name = "vdd-hdmi-pll";
    451						regulator-min-microvolt = <1050000>;
    452						regulator-max-microvolt = <1050000>;
    453						regulator-always-on;
    454						ti,roof-floor = <3>;
    455					};
    456
    457					tps65913_ldo2: ldo2 {
    458						regulator-name = "vdd-2v8-dsi-csi";
    459						regulator-min-microvolt = <1200000>;
    460						regulator-max-microvolt = <1200000>;
    461						regulator-boot-on;
    462					};
    463
    464					ldo3 {
    465						regulator-name = "vpp-fuse";
    466						regulator-min-microvolt = <1800000>;
    467						regulator-max-microvolt = <1800000>;
    468					};
    469
    470					ldo4 {
    471						regulator-name = "vdd-1v2-cam";
    472						regulator-min-microvolt = <1200000>;
    473						regulator-max-microvolt = <1200000>;
    474					};
    475
    476					ldo5 {
    477						regulator-name = "vdd-cam";
    478						regulator-min-microvolt = <2800000>;
    479						regulator-max-microvolt = <2800000>;
    480					};
    481
    482					ldo6 {
    483						regulator-name = "vdd-dev";
    484						regulator-min-microvolt = <2850000>;
    485						regulator-max-microvolt = <2850000>;
    486						regulator-boot-on;
    487					};
    488
    489					ldo7 {
    490						regulator-name = "vdd-2v8-cam";
    491						regulator-min-microvolt = <2800000>;
    492						regulator-max-microvolt = <2800000>;
    493					};
    494
    495					tps65913_ldo8: ldo8 {
    496						regulator-name = "vdd-rtc";
    497						regulator-min-microvolt = <950000>;
    498						regulator-max-microvolt = <950000>;
    499						regulator-always-on;
    500						regulator-boot-on;
    501						ti,enable-ldo8-tracking;
    502					};
    503
    504					tps65913_ldo9: ldo9 {
    505						regulator-name = "vdd-sdmmc";
    506						regulator-min-microvolt = <1800000>;
    507						regulator-max-microvolt = <2900000>;
    508					};
    509
    510					tps65913_ldoln: ldoln {
    511						regulator-name = "vdd-hdmi";
    512						regulator-min-microvolt = <3300000>;
    513						regulator-max-microvolt = <3300000>;
    514					};
    515
    516					ldousb {
    517						regulator-name = "vdd-usb";
    518						regulator-min-microvolt = <3300000>;
    519						regulator-max-microvolt = <3300000>;
    520						regulator-always-on;
    521						regulator-boot-on;
    522					};
    523				};
    524			};
    525
    526			rtc {
    527				compatible = "ti,palmas-rtc";
    528				interrupt-parent = <&palmas>;
    529				interrupts = <8 0>;
    530			};
    531
    532			pinmux {
    533				compatible = "ti,tps65913-pinctrl";
    534				ti,palmas-enable-dvfs1;
    535
    536				pinctrl-names = "default";
    537				pinctrl-0 = <&palmas_default>;
    538
    539				palmas_default: pinmux {
    540					pin_powergood {
    541						pins = "powergood";
    542						function = "powergood";
    543					};
    544
    545					pin_vac {
    546						pins = "vac";
    547						function = "vac";
    548					};
    549
    550					pin_gpio0 {
    551						pins = "gpio0";
    552						function = "gpio";
    553					};
    554
    555					pin_gpio1 {
    556						pins = "gpio1";
    557						function = "gpio";
    558					};
    559
    560					pin_gpio2 {
    561						pins = "gpio2";
    562						function = "gpio";
    563					};
    564
    565					pin_gpio3 {
    566						pins = "gpio3";
    567						function = "gpio";
    568					};
    569
    570					pin_gpio4 {
    571						pins = "gpio4";
    572						function = "gpio";
    573					};
    574
    575					pin_gpio5 {
    576						pins = "gpio5";
    577						function = "gpio";
    578					};
    579
    580					pin_gpio6 {
    581						pins = "gpio6";
    582						function = "gpio";
    583					};
    584
    585					pin_gpio7 {
    586						pins = "gpio7";
    587						function = "gpio";
    588					};
    589				};
    590			};
    591		};
    592	};
    593
    594	ahub@70080000 {
    595		i2s@70080300 {
    596			status = "okay";
    597		};
    598	};
    599
    600	mmc@78000000 {
    601		/* WiFi */
    602	};
    603
    604	/* MicroSD card */
    605	mmc@78000400 {
    606		status = "okay";
    607
    608		bus-width = <4>;
    609		cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
    610
    611		nvidia,default-tap = <0x3>;
    612		nvidia,default-trim = <0x3>;
    613
    614		vmmc-supply = <&vdd_usd>;
    615		vqmmc-supply = <&tps65913_ldo9>;
    616
    617		pinctrl-names = "default";
    618		pinctrl-0 = <&sdmmc3_default>;
    619	};
    620
    621	mmc@78000600 {
    622		/* eMMC */
    623	};
    624
    625	usb@7d000000 {
    626		compatible = "nvidia,tegra114-udc";
    627		status = "okay";
    628		dr_mode = "peripheral";
    629
    630		/* Peripheral USB via ASUS connector */
    631	};
    632
    633	usb-phy@7d000000 {
    634		status = "okay";
    635	};
    636
    637	usb@7d008000 {
    638		status = "okay";
    639
    640		/* Host USB via dock */
    641	};
    642
    643	usb-phy@7d008000 {
    644		status = "okay";
    645		vbus-supply = <&vdd_5v0_sys>;
    646	};
    647
    648	backlight: backlight {
    649		compatible = "pwm-backlight";
    650
    651		enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
    652		power-supply = <&vdd_5v0_sys>;
    653		pwms = <&pwm 1 1000000>;
    654
    655		brightness-levels = <1 255>;
    656		num-interpolated-steps = <254>;
    657		default-brightness-level = <224>;
    658
    659		pinctrl-names = "default";
    660		pinctrl-0 = <&backlight_default>;
    661	};
    662
    663	/* PMIC has a built-in 32KHz oscillator which is used by PMC */
    664	clk32k_in: clock-32k {
    665		compatible = "fixed-clock";
    666		#clock-cells = <0>;
    667		clock-frequency = <32768>;
    668		clock-output-names = "pmic-oscillator";
    669	};
    670
    671	firmware {
    672		trusted-foundations {
    673			compatible = "tlm,trusted-foundations";
    674			tlm,version-major = <2>;
    675			tlm,version-minor = <8>;
    676		};
    677	};
    678
    679	gpio-keys {
    680		compatible = "gpio-keys";
    681
    682		label = "GPIO Buttons";
    683
    684		pinctrl-names = "default";
    685		pinctrl-0 = <&gpio_keys_default>;
    686
    687		power {
    688			label = "Power";
    689			gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
    690			linux,code = <KEY_POWER>;
    691			debounce-interval = <10>;
    692			wakeup-source;
    693		};
    694
    695		volume-up {
    696			label = "Volume Up";
    697			gpios = <&gpio TEGRA_GPIO(R, 2) GPIO_ACTIVE_LOW>;
    698			linux,code = <KEY_VOLUMEUP>;
    699			debounce-interval = <10>;
    700		};
    701
    702		volume-down {
    703			label = "Volume Down";
    704			gpios = <&gpio TEGRA_GPIO(R, 1) GPIO_ACTIVE_LOW>;
    705			linux,code = <KEY_VOLUMEDOWN>;
    706			debounce-interval = <10>;
    707		};
    708	};
    709
    710	gpio-hall-sensor {
    711		compatible = "gpio-keys";
    712
    713		label = "GPIO Hall Effect Sensor";
    714
    715		pinctrl-names = "default";
    716		pinctrl-0 = <&gpio_hall_sensor_default>;
    717
    718		hall-sensor {
    719			label = "Hall Effect Sensor";
    720			gpios = <&gpio TEGRA_GPIO(O, 5) GPIO_ACTIVE_LOW>;
    721			linux,input-type = <EV_SW>;
    722			linux,code = <SW_LID>;
    723			linux,can-disable;
    724			wakeup-source;
    725		};
    726	};
    727
    728	sound {
    729		compatible = "asus,tegra-audio-rt5639-tf701t",
    730			     "nvidia,tegra-audio-rt5640";
    731		nvidia,model = "Asus Transformer Pad TF701T RT5639";
    732
    733		nvidia,audio-routing =
    734			"Headphones", "HPOR",
    735			"Headphones", "HPOL",
    736			"Speakers", "SPORP",
    737			"Speakers", "SPORN",
    738			"Speakers", "SPOLP",
    739			"Speakers", "SPOLN",
    740			"Mic Jack", "MICBIAS1",
    741			"IN2P", "Mic Jack";
    742
    743		nvidia,i2s-controller = <&tegra_i2s0>;
    744		nvidia,audio-codec = <&rt5639>;
    745
    746		nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_LOW>;
    747
    748		clocks = <&tegra_car TEGRA114_CLK_PLL_A>,
    749			 <&tegra_car TEGRA114_CLK_PLL_A_OUT0>,
    750			 <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
    751		clock-names = "pll_a", "pll_a_out0", "mclk";
    752
    753		assigned-clocks = <&tegra_car TEGRA114_CLK_EXTERN1>,
    754				  <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
    755
    756		assigned-clock-parents = <&tegra_car TEGRA114_CLK_PLL_A_OUT0>,
    757					 <&tegra_car TEGRA114_CLK_EXTERN1>;
    758
    759		pinctrl-names = "default";
    760		pinctrl-0 = <&hp_det_default>;
    761	};
    762
    763	vdd_5v0_sys: regulator-5v0-sys {
    764		compatible = "regulator-fixed";
    765		regulator-name = "vdd_5v0";
    766		regulator-min-microvolt = <5000000>;
    767		regulator-max-microvolt = <5000000>;
    768		regulator-always-on;
    769		regulator-boot-on;
    770	};
    771
    772	vdd_3v3_sys: regulator-3v3-sys {
    773		compatible = "regulator-fixed";
    774		regulator-name = "vdd_3v3";
    775		regulator-min-microvolt = <3300000>;
    776		regulator-max-microvolt = <3300000>;
    777		regulator-always-on;
    778		regulator-boot-on;
    779	};
    780
    781	vdd_lcd: regulator-vdd-lcd {
    782		compatible = "regulator-fixed";
    783		regulator-name = "vdd_lcd_1v8";
    784		regulator-min-microvolt = <1800000>;
    785		regulator-max-microvolt = <1800000>;
    786		vin-supply = <&tps65913_smps8>;
    787		enable-active-high;
    788		gpio = <&gpio TEGRA_GPIO(CC, 4) GPIO_ACTIVE_HIGH>;
    789		regulator-boot-on;
    790
    791		pinctrl-names = "default";
    792		pinctrl-0 = <&vdd_lcd_default>;
    793	};
    794
    795	vdd_usd: regulator-vdd-usd {
    796		compatible = "regulator-fixed";
    797		regulator-name = "vdd_sd_slot";
    798		regulator-min-microvolt = <2900000>;
    799		regulator-max-microvolt = <2900000>;
    800		vin-supply = <&tps65913_smps9>;
    801		enable-active-high;
    802		gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>;
    803
    804		pinctrl-names = "default";
    805		pinctrl-0 = <&sdmmc3_vdd_default>;
    806	};
    807};