The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/src/arm/tegra114-tn7.dts

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

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

Cache object: 82f61ca7253d906fa0985664a0967b68


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.