Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / arm64 / boot / dts / nvidia / tegra186-p2771-0000.dts
blobbd5305a634b161dee703098a3444fe25e7f94ba2
1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/linux-event-codes.h>
6 #include "tegra186-p3310.dtsi"
8 / {
9         model = "NVIDIA Tegra186 P2771-0000 Development Board";
10         compatible = "nvidia,p2771-0000", "nvidia,tegra186";
12         i2c@3160000 {
13                 power-monitor@42 {
14                         compatible = "ti,ina3221";
15                         reg = <0x42>;
16                 };
18                 power-monitor@43 {
19                         compatible = "ti,ina3221";
20                         reg = <0x43>;
21                 };
23                 exp1: gpio@74 {
24                         compatible = "ti,tca9539";
25                         reg = <0x74>;
27                         interrupt-parent = <&gpio>;
28                         interrupts = <TEGRA_MAIN_GPIO(Y, 0) GPIO_ACTIVE_LOW>;
30                         #gpio-cells = <2>;
31                         gpio-controller;
32                 };
34                 exp2: gpio@77 {
35                         compatible = "ti,tca9539";
36                         reg = <0x77>;
38                         interrupt-parent = <&gpio>;
39                         interrupts = <TEGRA_MAIN_GPIO(Y, 6) GPIO_ACTIVE_LOW>;
41                         #gpio-cells = <2>;
42                         gpio-controller;
43                 };
44         };
46         /* SDMMC1 (SD/MMC) */
47         sdhci@3400000 {
48                 status = "okay";
50                 vmmc-supply = <&vdd_sd>;
51         };
53         pcie@10003000 {
54                 status = "okay";
56                 dvdd-pex-supply = <&vdd_pex>;
57                 hvdd-pex-pll-supply = <&vdd_1v8>;
58                 hvdd-pex-supply = <&vdd_1v8>;
59                 vddio-pexctl-aud-supply = <&vdd_1v8>;
61                 pci@1,0 {
62                         nvidia,num-lanes = <4>;
63                         status = "okay";
64                 };
66                 pci@2,0 {
67                         nvidia,num-lanes = <0>;
68                         status = "disabled";
69                 };
71                 pci@3,0 {
72                         nvidia,num-lanes = <1>;
73                         status = "disabled";
74                 };
75         };
77         host1x@13e00000 {
78                 status = "okay";
80                 dpaux@15040000 {
81                         status = "okay";
82                 };
84                 display-hub@15200000 {
85                         status = "okay";
86                 };
88                 dsi@15300000 {
89                         status = "disabled";
90                 };
92                 sor@15540000 {
93                         status = "disabled";
95                         nvidia,dpaux = <&dpaux1>;
96                 };
98                 sor@15580000 {
99                         status = "okay";
101                         avdd-io-supply = <&vdd_hdmi_1v05>;
102                         vdd-pll-supply = <&vdd_1v8_ap>;
103                         hdmi-supply = <&vdd_hdmi>;
105                         nvidia,ddc-i2c-bus = <&ddc>;
106                         nvidia,hpd-gpio = <&gpio TEGRA_MAIN_GPIO(P, 1) GPIO_ACTIVE_LOW>;
107                 };
109                 dpaux@155c0000 {
110                         status = "okay";
111                 };
112         };
114         gpio-keys {
115                 compatible = "gpio-keys";
117                 power {
118                         label = "Power";
119                         gpios = <&gpio_aon TEGRA_AON_GPIO(FF, 0)
120                                            GPIO_ACTIVE_LOW>;
121                         linux,input-type = <EV_KEY>;
122                         linux,code = <KEY_POWER>;
123                         debounce-interval = <10>;
124                         wakeup-source;
125                 };
127                 volume-up {
128                         label = "Volume Up";
129                         gpios = <&gpio_aon TEGRA_AON_GPIO(FF, 1)
130                                            GPIO_ACTIVE_LOW>;
131                         linux,input-type = <EV_KEY>;
132                         linux,code = <KEY_VOLUMEUP>;
133                         debounce-interval = <10>;
134                 };
136                 volume-down {
137                         label = "Volume Down";
138                         gpios = <&gpio_aon TEGRA_AON_GPIO(FF, 2)
139                                            GPIO_ACTIVE_LOW>;
140                         linux,input-type = <EV_KEY>;
141                         linux,code = <KEY_VOLUMEDOWN>;
142                         debounce-interval = <10>;
143                 };
144         };
146         regulators {
147                 vdd_sd: regulator@100 {
148                         compatible = "regulator-fixed";
149                         reg = <100>;
151                         regulator-name = "SD_CARD_SW_PWR";
152                         regulator-min-microvolt = <3300000>;
153                         regulator-max-microvolt = <3300000>;
155                         gpio = <&gpio TEGRA_MAIN_GPIO(P, 6) GPIO_ACTIVE_HIGH>;
156                         enable-active-high;
158                         vin-supply = <&vdd_3v3_sys>;
159                 };
161                 vdd_hdmi: regulator@101 {
162                         compatible = "regulator-fixed";
163                         reg = <101>;
165                         regulator-name = "VDD_HDMI_5V0";
166                         regulator-min-microvolt = <5000000>;
167                         regulator-max-microvolt = <5000000>;
169                         gpio = <&exp1 14 GPIO_ACTIVE_HIGH>;
170                         enable-active-high;
172                         vin-supply = <&vdd_5v0_sys>;
173                 };
174         };