Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 
0003 /dts-v1/;
0004 
0005 #include <dt-bindings/input/gpio-keys.h>
0006 #include <dt-bindings/input/input.h>
0007 
0008 #include "tegra114.dtsi"
0009 
0010 / {
0011         model = "Asus Transformer Pad TF701T";
0012         compatible = "asus,tf701t", "nvidia,tegra114";
0013         chassis-type = "convertible";
0014 
0015         aliases {
0016                 mmc0 = "/mmc@78000600"; /* eMMC */
0017                 mmc1 = "/mmc@78000400"; /* uSD slot */
0018                 mmc2 = "/mmc@78000000"; /* WiFi */
0019 
0020                 rtc0 = &palmas;
0021                 rtc1 = "/rtc@7000e000";
0022 
0023                 serial0 = &uartd; /* Console */
0024                 serial1 = &uartc; /* Bluetooth */
0025                 serial2 = &uartb; /* GPS */
0026         };
0027 
0028         memory@80000000 {
0029                 reg = <0x80000000 0x80000000>;
0030         };
0031 
0032         reserved-memory {
0033                 #address-cells = <1>;
0034                 #size-cells = <1>;
0035                 ranges;
0036 
0037                 linux,cma@80000000 {
0038                         compatible = "shared-dma-pool";
0039                         alloc-ranges = <0x80000000 0x30000000>;
0040                         size = <0x10000000>;
0041                         linux,cma-default;
0042                         reusable;
0043                 };
0044 
0045                 trustzone@bfe00000 {
0046                         reg = <0xbfe00000 0x200000>;
0047                         no-map;
0048                 };
0049         };
0050 
0051         host1x@50000000 {
0052                 dsi@54300000 {
0053                         status = "okay";
0054 
0055                         avdd-dsi-csi-supply = <&tps65913_ldo2>;
0056 
0057                         nvidia,ganged-mode = <&dsib>;
0058 
0059                         panel_primary: panel@0 {
0060                                 compatible = "sharp,lq101r1sx01";
0061                                 reg = <0>;
0062 
0063                                 link2 = <&panel_secondary>;
0064 
0065                                 power-supply = <&vdd_lcd>;
0066                                 backlight = <&backlight>;
0067                         };
0068                 };
0069 
0070                 dsi@54400000 {
0071                         status = "okay";
0072 
0073                         avdd-dsi-csi-supply = <&tps65913_ldo2>;
0074 
0075                         panel_secondary: panel@0 {
0076                                 compatible = "sharp,lq101r1sx01";
0077                                 reg = <0>;
0078                         };
0079                 };
0080         };
0081 
0082         pinmux@70000868 {
0083                 asus_pad_ec_default: asus-pad-ec-default {
0084                         ec-interrupt {
0085                                 nvidia,pins = "kb_col5_pq5";
0086                                 nvidia,function = "kbc";
0087                                 nvidia,pull = <TEGRA_PIN_PULL_UP>;
0088                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
0089                                 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
0090                         };
0091 
0092                         ec-request {
0093                                 nvidia,pins = "kb_col2_pq2";
0094                                 nvidia,function = "kbc";
0095                                 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
0096                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
0097                                 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
0098                         };
0099                 };
0100 
0101                 backlight_default: backlight-default {
0102                         backlight-enable {
0103                                 nvidia,pins = "gmi_ad10_ph2";
0104                                 nvidia,function = "gmi";
0105                                 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
0106                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
0107                                 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
0108                         };
0109                 };
0110 
0111                 codec_default: codec-default {
0112                         ldo1-en {
0113                                 nvidia,pins = "sdmmc1_wp_n_pv3";
0114                                 nvidia,function = "sdmmc1";
0115                                 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
0116                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
0117                                 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
0118                         };
0119 
0120                         interrupt {
0121                                 nvidia,pins = "gpio_w2_aud_pw2",
0122                                                 "gpio_w3_aud_pw3";
0123                                 nvidia,function = "spi6";
0124                                 nvidia,pull = <TEGRA_PIN_PULL_UP>;
0125                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
0126                                 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
0127                         };
0128                 };
0129 
0130                 gpio_keys_default: gpio-keys-default {
0131                         power {
0132                                 nvidia,pins = "kb_col0_pq0";
0133                                 nvidia,function = "kbc";
0134                                 nvidia,pull = <TEGRA_PIN_PULL_UP>;
0135                                 nvidia,tristate = <TEGRA_PIN_ENABLE>;
0136                                 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
0137                         };
0138 
0139                         volume {
0140                                 nvidia,pins = "kb_row1_pr1",
0141                                                 "kb_row2_pr2";
0142                                 nvidia,function = "rsvd2";
0143                                 nvidia,pull = <TEGRA_PIN_PULL_UP>;
0144                                 nvidia,tristate = <TEGRA_PIN_ENABLE>;
0145                                 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
0146                         };
0147                 };
0148 
0149                 gpio_hall_sensor_default: gpio-hall-sensor-default {
0150                         ulpi_data4_po5 {
0151                                 nvidia,pins = "ulpi_data4_po5";
0152                                 nvidia,function = "spi2";
0153                                 nvidia,pull = <TEGRA_PIN_PULL_UP>;
0154                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
0155                                 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
0156                         };
0157                 };
0158 
0159                 hp_det_default: hp-det-default {
0160                         gmi_iordy_pi5 {
0161                                 nvidia,pins = "kb_row7_pr7";
0162                                 nvidia,function = "rsvd2";
0163                                 nvidia,pull = <TEGRA_PIN_PULL_UP>;
0164                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
0165                                 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
0166                         };
0167                 };
0168 
0169                 imu_default: imu-default {
0170                         kb_row3_pr3 {
0171                                 nvidia,pins = "kb_row3_pr3";
0172                                 nvidia,function = "rsvd3";
0173                                 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
0174                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
0175                                 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
0176                         };
0177                 };
0178 
0179                 pwm_default: pwm-default {
0180                         gmi_ad9_ph1 {
0181                                 nvidia,pins = "gmi_ad9_ph1";
0182                                 nvidia,function = "pwm1";
0183                                 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
0184                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
0185                                 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
0186                         };
0187                 };
0188 
0189                 /* XXX make this something more sensible */
0190                 pwm_sleep: pwm-sleep {
0191                         gmi_ad9_ph1 {
0192                                 nvidia,pins = "gmi_ad9_ph1";
0193                                 nvidia,function = "pwm1";
0194                                 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
0195                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
0196                                 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
0197                         };
0198                 };
0199 
0200                 sdmmc3_default: sdmmc3-default {
0201                         sdmmc3_clk_pa6 {
0202                                 nvidia,pins = "sdmmc3_clk_pa6";
0203                                 nvidia,function = "sdmmc3";
0204                                 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
0205                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
0206                                 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
0207                         };
0208 
0209                         sdmmc3_cmd_pa7 {
0210                                 nvidia,pins = "sdmmc3_cmd_pa7",
0211                                                 "sdmmc3_dat0_pb7",
0212                                                 "sdmmc3_dat1_pb6",
0213                                                 "sdmmc3_dat2_pb5",
0214                                                 "sdmmc3_dat3_pb4",
0215                                                 "kb_col4_pq4",
0216                                                 "sdmmc3_clk_lb_out_pee4",
0217                                                 "sdmmc3_clk_lb_in_pee5",
0218                                                 "sdmmc3_cd_n_pv2";
0219                                 nvidia,function = "sdmmc3";
0220                                 nvidia,pull = <TEGRA_PIN_PULL_UP>;
0221                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
0222                                 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
0223                         };
0224 
0225                         drive_sdio3 {
0226                                 nvidia,pins = "drive_sdio3";
0227                                 nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>;
0228                                 nvidia,schmitt = <TEGRA_PIN_DISABLE>;
0229                                 nvidia,pull-down-strength = <22>;
0230                                 nvidia,pull-up-strength = <36>;
0231                                 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
0232                                 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
0233                         };
0234                 };
0235 
0236                 sdmmc3_vdd_default: sdmmc3-vdd-default {
0237                         gmi_clk_pk1 {
0238                                 nvidia,pins = "gmi_clk_pk1";
0239                                 nvidia,function = "gmi";
0240                                 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
0241                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
0242                                 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
0243                         };
0244                 };
0245 
0246                 vdd_lcd_default: vdd-lcd-default {
0247                         sdmmc4_clk_pcc4 {
0248                                 nvidia,pins = "sdmmc4_clk_pcc4";
0249                                 nvidia,function = "sdmmc4";
0250                                 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
0251                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
0252                                 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
0253                         };
0254                 };
0255         };
0256 
0257         serial@70006040 {
0258                 /* GPS */
0259         };
0260 
0261         serial@70006200 {
0262                 /* Bluetooth */
0263         };
0264 
0265         serial@70006300 {
0266                 status = "okay";
0267         };
0268 
0269         pwm@7000a000 {
0270                 status = "okay";
0271 
0272                 pinctrl-names = "default", "sleep";
0273                 pinctrl-0 = <&pwm_default>;
0274                 pinctrl-1 = <&pwm_sleep>;
0275         };
0276 
0277         i2c@7000c000 {
0278                 status = "okay";
0279                 clock-frequency = <100000>;
0280 
0281                 magnetometer@c {
0282                         compatible = "asahi-kasei,ak09911";
0283                         reg = <0xc>;
0284 
0285                         vdd-supply = <&vdd_3v3_sys>;
0286                 };
0287 
0288                 rt5639: audio-codec@1c {
0289                         compatible = "realtek,rt5639";
0290                         reg = <0x1c>;
0291 
0292                         interrupt-parent = <&gpio>;
0293                         interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_EDGE_FALLING>;
0294 
0295                         realtek,ldo1-en-gpios = <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>;
0296 
0297                         pinctrl-names = "default";
0298                         pinctrl-0 = <&codec_default>;
0299                 };
0300 
0301                 motion-tracker@68 {
0302                         compatible = "invensense,mpu6500";
0303                         reg = <0x68>;
0304 
0305                         interrupt-parent = <&gpio>;
0306                         interrupts = <TEGRA_GPIO(R, 3) IRQ_TYPE_LEVEL_HIGH>;
0307 
0308                         mount-matrix =  "0", "-1", "0",
0309                                         "1",  "0", "0",
0310                                         "0",  "0", "1";
0311 
0312                         pinctrl-names = "default";
0313                         pinctrl-0 = <&imu_default>;
0314                 };
0315 
0316                 temp_sensor: temperature-sensor@4c {
0317                         compatible = "onnn,nct1008";
0318                         reg = <0x4c>;
0319 
0320                         vcc-supply = <&vdd_3v3_sys>;
0321                         #thermal-sensor-cells = <1>;
0322                 };
0323         };
0324 
0325         i2c@7000c400 {
0326                 status = "okay";
0327                 clock-frequency = <100000>;
0328 
0329                 power-sensor@44 {
0330                         compatible = "ti,ina230";
0331                         reg = <0x44>;
0332                 };
0333         };
0334 
0335         i2c@7000c500 {
0336                 status = "okay";
0337                 clock-frequency = <400000>;
0338 
0339                 light-sensor@1c {
0340                         compatible = "dynaimage,al3320a";
0341                         reg = <0x1c>;
0342 
0343                         vdd-supply = <&vdd_3v3_sys>;
0344                 };
0345         };
0346 
0347         i2c@7000c700 {
0348                 /* HDMI DDC */
0349         };
0350 
0351         i2c@7000d000 {
0352                 status = "okay";
0353                 clock-frequency = <400000>;
0354 
0355                 palmas: pmic@58 {
0356                         compatible = "ti,tps65913", "ti,palmas";
0357                         reg = <0x58>;
0358                         interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
0359 
0360                         #interrupt-cells = <2>;
0361                         interrupt-controller;
0362 
0363                         ti,system-power-controller;
0364 
0365                         palmas_gpio: gpio {
0366                                 compatible = "ti,palmas-gpio";
0367                                 gpio-controller;
0368                                 #gpio-cells = <2>;
0369                         };
0370 
0371                         pmic {
0372                                 compatible = "ti,tps65913-pmic", "ti,palmas-pmic";
0373 
0374                                 ldo1-in-supply = <&tps65913_smps7>;
0375                                 ldo2-in-supply = <&tps65913_smps7>;
0376                                 ldo4-in-supply = <&tps65913_smps8>;
0377                                 ldo5-in-supply = <&tps65913_smps9>;
0378                                 ldo6-in-supply = <&tps65913_smps9>;
0379                                 ldo7-in-supply = <&tps65913_smps9>;
0380                                 ldo9-in-supply = <&tps65913_smps9>;
0381 
0382                                 regulators {
0383                                         tps65913_smps123: smps123 {
0384                                                 regulator-name = "vdd-cpu";
0385                                                 regulator-min-microvolt = <900000>;
0386                                                 regulator-max-microvolt = <1350000>;
0387                                                 regulator-always-on;
0388                                                 regulator-boot-on;
0389                                                 ti,roof-floor = <1>;
0390                                                 ti,mode-sleep = <3>;
0391                                         };
0392 
0393                                         tps65913_smps45: smps45 {
0394                                                 regulator-name = "vdd-core";
0395                                                 regulator-min-microvolt = <900000>;
0396                                                 regulator-max-microvolt = <1400000>;
0397                                                 regulator-always-on;
0398                                                 regulator-boot-on;
0399                                                 ti,roof-floor = <3>;
0400                                         };
0401 
0402                                         smps6 {
0403                                                 regulator-name = "va-lcd-hv";
0404                                                 regulator-min-microvolt = <1000000>;
0405                                                 regulator-max-microvolt = <1000000>;
0406                                                 regulator-always-on;
0407                                                 regulator-boot-on;
0408                                         };
0409 
0410                                         tps65913_smps7: smps7 {
0411                                                 regulator-name = "vdd-ddr";
0412                                                 regulator-min-microvolt = <1350000>;
0413                                                 regulator-max-microvolt = <1350000>;
0414                                                 regulator-always-on;
0415                                                 regulator-boot-on;
0416                                         };
0417 
0418                                         tps65913_smps8: smps8 {
0419                                                 regulator-name = "vdd-1v8";
0420                                                 regulator-min-microvolt = <1800000>;
0421                                                 regulator-max-microvolt = <1800000>;
0422                                                 regulator-always-on;
0423                                                 regulator-boot-on;
0424                                         };
0425 
0426                                         tps65913_smps9: smps9 {
0427                                                 regulator-name = "vdd-sd";
0428                                                 regulator-min-microvolt = <2900000>;
0429                                                 regulator-max-microvolt = <2900000>;
0430                                                 regulator-always-on;
0431                                         };
0432 
0433                                         tps65913_smps10_out1: smps10_out1 {
0434                                                 regulator-name = "vd-smps10-out1";
0435                                                 regulator-min-microvolt = <5000000>;
0436                                                 regulator-max-microvolt = <5000000>;
0437                                                 regulator-always-on;
0438                                                 regulator-boot-on;
0439                                         };
0440 
0441                                         tps65913_smps10_out2: smps10_out2 {
0442                                                 regulator-name = "vd-smps10-out2";
0443                                                 regulator-min-microvolt = <5000000>;
0444                                                 regulator-max-microvolt = <5000000>;
0445                                                 regulator-always-on;
0446                                                 regulator-boot-on;
0447                                         };
0448 
0449                                         tps65913_ldo1: ldo1 {
0450                                                 regulator-name = "vdd-hdmi-pll";
0451                                                 regulator-min-microvolt = <1050000>;
0452                                                 regulator-max-microvolt = <1050000>;
0453                                                 regulator-always-on;
0454                                                 ti,roof-floor = <3>;
0455                                         };
0456 
0457                                         tps65913_ldo2: ldo2 {
0458                                                 regulator-name = "vdd-2v8-dsi-csi";
0459                                                 regulator-min-microvolt = <1200000>;
0460                                                 regulator-max-microvolt = <1200000>;
0461                                                 regulator-boot-on;
0462                                         };
0463 
0464                                         ldo3 {
0465                                                 regulator-name = "vpp-fuse";
0466                                                 regulator-min-microvolt = <1800000>;
0467                                                 regulator-max-microvolt = <1800000>;
0468                                         };
0469 
0470                                         ldo4 {
0471                                                 regulator-name = "vdd-1v2-cam";
0472                                                 regulator-min-microvolt = <1200000>;
0473                                                 regulator-max-microvolt = <1200000>;
0474                                         };
0475 
0476                                         ldo5 {
0477                                                 regulator-name = "vdd-cam";
0478                                                 regulator-min-microvolt = <2800000>;
0479                                                 regulator-max-microvolt = <2800000>;
0480                                         };
0481 
0482                                         ldo6 {
0483                                                 regulator-name = "vdd-dev";
0484                                                 regulator-min-microvolt = <2850000>;
0485                                                 regulator-max-microvolt = <2850000>;
0486                                                 regulator-boot-on;
0487                                         };
0488 
0489                                         ldo7 {
0490                                                 regulator-name = "vdd-2v8-cam";
0491                                                 regulator-min-microvolt = <2800000>;
0492                                                 regulator-max-microvolt = <2800000>;
0493                                         };
0494 
0495                                         tps65913_ldo8: ldo8 {
0496                                                 regulator-name = "vdd-rtc";
0497                                                 regulator-min-microvolt = <950000>;
0498                                                 regulator-max-microvolt = <950000>;
0499                                                 regulator-always-on;
0500                                                 regulator-boot-on;
0501                                                 ti,enable-ldo8-tracking;
0502                                         };
0503 
0504                                         tps65913_ldo9: ldo9 {
0505                                                 regulator-name = "vdd-sdmmc";
0506                                                 regulator-min-microvolt = <1800000>;
0507                                                 regulator-max-microvolt = <2900000>;
0508                                         };
0509 
0510                                         tps65913_ldoln: ldoln {
0511                                                 regulator-name = "vdd-hdmi";
0512                                                 regulator-min-microvolt = <3300000>;
0513                                                 regulator-max-microvolt = <3300000>;
0514                                         };
0515 
0516                                         ldousb {
0517                                                 regulator-name = "vdd-usb";
0518                                                 regulator-min-microvolt = <3300000>;
0519                                                 regulator-max-microvolt = <3300000>;
0520                                                 regulator-always-on;
0521                                                 regulator-boot-on;
0522                                         };
0523                                 };
0524                         };
0525 
0526                         rtc {
0527                                 compatible = "ti,palmas-rtc";
0528                                 interrupt-parent = <&palmas>;
0529                                 interrupts = <8 0>;
0530                         };
0531 
0532                         pinmux {
0533                                 compatible = "ti,tps65913-pinctrl";
0534                                 ti,palmas-enable-dvfs1;
0535 
0536                                 pinctrl-names = "default";
0537                                 pinctrl-0 = <&palmas_default>;
0538 
0539                                 palmas_default: pinmux {
0540                                         pin_powergood {
0541                                                 pins = "powergood";
0542                                                 function = "powergood";
0543                                         };
0544 
0545                                         pin_vac {
0546                                                 pins = "vac";
0547                                                 function = "vac";
0548                                         };
0549 
0550                                         pin_gpio0 {
0551                                                 pins = "gpio0";
0552                                                 function = "gpio";
0553                                         };
0554 
0555                                         pin_gpio1 {
0556                                                 pins = "gpio1";
0557                                                 function = "gpio";
0558                                         };
0559 
0560                                         pin_gpio2 {
0561                                                 pins = "gpio2";
0562                                                 function = "gpio";
0563                                         };
0564 
0565                                         pin_gpio3 {
0566                                                 pins = "gpio3";
0567                                                 function = "gpio";
0568                                         };
0569 
0570                                         pin_gpio4 {
0571                                                 pins = "gpio4";
0572                                                 function = "gpio";
0573                                         };
0574 
0575                                         pin_gpio5 {
0576                                                 pins = "gpio5";
0577                                                 function = "gpio";
0578                                         };
0579 
0580                                         pin_gpio6 {
0581                                                 pins = "gpio6";
0582                                                 function = "gpio";
0583                                         };
0584 
0585                                         pin_gpio7 {
0586                                                 pins = "gpio7";
0587                                                 function = "gpio";
0588                                         };
0589                                 };
0590                         };
0591                 };
0592         };
0593 
0594         ahub@70080000 {
0595                 i2s@70080300 {
0596                         status = "okay";
0597                 };
0598         };
0599 
0600         mmc@78000000 {
0601                 /* WiFi */
0602         };
0603 
0604         /* MicroSD card */
0605         mmc@78000400 {
0606                 status = "okay";
0607 
0608                 bus-width = <4>;
0609                 cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
0610 
0611                 nvidia,default-tap = <0x3>;
0612                 nvidia,default-trim = <0x3>;
0613 
0614                 vmmc-supply = <&vdd_usd>;
0615                 vqmmc-supply = <&tps65913_ldo9>;
0616 
0617                 pinctrl-names = "default";
0618                 pinctrl-0 = <&sdmmc3_default>;
0619         };
0620 
0621         mmc@78000600 {
0622                 /* eMMC */
0623         };
0624 
0625         usb@7d000000 {
0626                 compatible = "nvidia,tegra114-udc";
0627                 status = "okay";
0628                 dr_mode = "peripheral";
0629 
0630                 /* Peripheral USB via ASUS connector */
0631         };
0632 
0633         usb-phy@7d000000 {
0634                 status = "okay";
0635         };
0636 
0637         usb@7d008000 {
0638                 status = "okay";
0639 
0640                 /* Host USB via dock */
0641         };
0642 
0643         usb-phy@7d008000 {
0644                 status = "okay";
0645                 vbus-supply = <&vdd_5v0_sys>;
0646         };
0647 
0648         backlight: backlight {
0649                 compatible = "pwm-backlight";
0650 
0651                 enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
0652                 power-supply = <&vdd_5v0_sys>;
0653                 pwms = <&pwm 1 1000000>;
0654 
0655                 brightness-levels = <1 255>;
0656                 num-interpolated-steps = <254>;
0657                 default-brightness-level = <224>;
0658 
0659                 pinctrl-names = "default";
0660                 pinctrl-0 = <&backlight_default>;
0661         };
0662 
0663         /* PMIC has a built-in 32KHz oscillator which is used by PMC */
0664         clk32k_in: clock-32k {
0665                 compatible = "fixed-clock";
0666                 #clock-cells = <0>;
0667                 clock-frequency = <32768>;
0668                 clock-output-names = "pmic-oscillator";
0669         };
0670 
0671         firmware {
0672                 trusted-foundations {
0673                         compatible = "tlm,trusted-foundations";
0674                         tlm,version-major = <2>;
0675                         tlm,version-minor = <8>;
0676                 };
0677         };
0678 
0679         gpio-keys {
0680                 compatible = "gpio-keys";
0681 
0682                 label = "GPIO Buttons";
0683 
0684                 pinctrl-names = "default";
0685                 pinctrl-0 = <&gpio_keys_default>;
0686 
0687                 button-power {
0688                         label = "Power";
0689                         gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
0690                         linux,code = <KEY_POWER>;
0691                         debounce-interval = <10>;
0692                         wakeup-source;
0693                 };
0694 
0695                 button-volume-up {
0696                         label = "Volume Up";
0697                         gpios = <&gpio TEGRA_GPIO(R, 2) GPIO_ACTIVE_LOW>;
0698                         linux,code = <KEY_VOLUMEUP>;
0699                         debounce-interval = <10>;
0700                 };
0701 
0702                 button-volume-down {
0703                         label = "Volume Down";
0704                         gpios = <&gpio TEGRA_GPIO(R, 1) GPIO_ACTIVE_LOW>;
0705                         linux,code = <KEY_VOLUMEDOWN>;
0706                         debounce-interval = <10>;
0707                 };
0708         };
0709 
0710         gpio-hall-sensor {
0711                 compatible = "gpio-keys";
0712 
0713                 label = "GPIO Hall Effect Sensor";
0714 
0715                 pinctrl-names = "default";
0716                 pinctrl-0 = <&gpio_hall_sensor_default>;
0717 
0718                 switch-hall-sensor {
0719                         label = "Hall Effect Sensor";
0720                         gpios = <&gpio TEGRA_GPIO(O, 5) GPIO_ACTIVE_LOW>;
0721                         linux,input-type = <EV_SW>;
0722                         linux,code = <SW_LID>;
0723                         linux,can-disable;
0724                         wakeup-source;
0725                 };
0726         };
0727 
0728         sound {
0729                 compatible = "asus,tegra-audio-rt5639-tf701t",
0730                              "nvidia,tegra-audio-rt5640";
0731                 nvidia,model = "Asus Transformer Pad TF701T RT5639";
0732 
0733                 nvidia,audio-routing =
0734                         "Headphones", "HPOR",
0735                         "Headphones", "HPOL",
0736                         "Speakers", "SPORP",
0737                         "Speakers", "SPORN",
0738                         "Speakers", "SPOLP",
0739                         "Speakers", "SPOLN",
0740                         "Mic Jack", "MICBIAS1",
0741                         "IN2P", "Mic Jack";
0742 
0743                 nvidia,i2s-controller = <&tegra_i2s0>;
0744                 nvidia,audio-codec = <&rt5639>;
0745 
0746                 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_LOW>;
0747 
0748                 clocks = <&tegra_car TEGRA114_CLK_PLL_A>,
0749                          <&tegra_car TEGRA114_CLK_PLL_A_OUT0>,
0750                          <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
0751                 clock-names = "pll_a", "pll_a_out0", "mclk";
0752 
0753                 assigned-clocks = <&tegra_car TEGRA114_CLK_EXTERN1>,
0754                                   <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
0755 
0756                 assigned-clock-parents = <&tegra_car TEGRA114_CLK_PLL_A_OUT0>,
0757                                          <&tegra_car TEGRA114_CLK_EXTERN1>;
0758 
0759                 pinctrl-names = "default";
0760                 pinctrl-0 = <&hp_det_default>;
0761         };
0762 
0763         vdd_5v0_sys: regulator-5v0-sys {
0764                 compatible = "regulator-fixed";
0765                 regulator-name = "vdd_5v0";
0766                 regulator-min-microvolt = <5000000>;
0767                 regulator-max-microvolt = <5000000>;
0768                 regulator-always-on;
0769                 regulator-boot-on;
0770         };
0771 
0772         vdd_3v3_sys: regulator-3v3-sys {
0773                 compatible = "regulator-fixed";
0774                 regulator-name = "vdd_3v3";
0775                 regulator-min-microvolt = <3300000>;
0776                 regulator-max-microvolt = <3300000>;
0777                 regulator-always-on;
0778                 regulator-boot-on;
0779         };
0780 
0781         vdd_lcd: regulator-vdd-lcd {
0782                 compatible = "regulator-fixed";
0783                 regulator-name = "vdd_lcd_1v8";
0784                 regulator-min-microvolt = <1800000>;
0785                 regulator-max-microvolt = <1800000>;
0786                 vin-supply = <&tps65913_smps8>;
0787                 enable-active-high;
0788                 gpio = <&gpio TEGRA_GPIO(CC, 4) GPIO_ACTIVE_HIGH>;
0789                 regulator-boot-on;
0790 
0791                 pinctrl-names = "default";
0792                 pinctrl-0 = <&vdd_lcd_default>;
0793         };
0794 
0795         vdd_usd: regulator-vdd-usd {
0796                 compatible = "regulator-fixed";
0797                 regulator-name = "vdd_sd_slot";
0798                 regulator-min-microvolt = <2900000>;
0799                 regulator-max-microvolt = <2900000>;
0800                 vin-supply = <&tps65913_smps9>;
0801                 enable-active-high;
0802                 gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>;
0803 
0804                 pinctrl-names = "default";
0805                 pinctrl-0 = <&sdmmc3_vdd_default>;
0806         };
0807 };