~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/nvidia/tegra30-asus-nexus7-tilapia.dtsi

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 
  3 #include "tegra30-asus-nexus7-grouper-common.dtsi"
  4 #include "tegra30-asus-nexus7-tilapia-memory-timings.dtsi"
  5 
  6 / {
  7         compatible = "asus,tilapia", "asus,grouper", "nvidia,tegra30";
  8 
  9         gpio@6000d000 {
 10                 init-mode-3g-hog {
 11                         gpio-hog;
 12                         gpios = <TEGRA_GPIO(D, 2) GPIO_ACTIVE_HIGH>,
 13                                 <TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>,
 14                                 <TEGRA_GPIO(W, 3) GPIO_ACTIVE_HIGH>,
 15                                 <TEGRA_GPIO(P, 1) GPIO_ACTIVE_HIGH>,
 16                                 <TEGRA_GPIO(X, 5) GPIO_ACTIVE_HIGH>,
 17                                 <TEGRA_GPIO(U, 5) GPIO_ACTIVE_HIGH>,
 18                                 <TEGRA_GPIO(X, 7) GPIO_ACTIVE_HIGH>,
 19                                 <TEGRA_GPIO(X, 0) GPIO_ACTIVE_HIGH>,
 20                                 <TEGRA_GPIO(EE, 1) GPIO_ACTIVE_HIGH>,
 21                                 <TEGRA_GPIO(Y, 2) GPIO_ACTIVE_HIGH>,
 22                                 <TEGRA_GPIO(Y, 3) GPIO_ACTIVE_HIGH>,
 23                                 <TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>,
 24                                 <TEGRA_GPIO(U, 4) GPIO_ACTIVE_HIGH>,
 25                                 <TEGRA_GPIO(U, 3) GPIO_ACTIVE_HIGH>,
 26                                 <TEGRA_GPIO(N, 1) GPIO_ACTIVE_HIGH>,
 27                                 <TEGRA_GPIO(N, 2) GPIO_ACTIVE_HIGH>,
 28                                 <TEGRA_GPIO(N, 0) GPIO_ACTIVE_HIGH>,
 29                                 <TEGRA_GPIO(N, 3) GPIO_ACTIVE_HIGH>;
 30                         output-low;
 31                 };
 32         };
 33 
 34         pinmux@70000868 {
 35                 state_default: pinmux {
 36                         lcd_dc1_pd2 {
 37                                 nvidia,pins = "lcd_dc1_pd2";
 38                                 nvidia,function = "displaya";
 39                                 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
 40                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
 41                                 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
 42                         };
 43                         lcd_pwr2_pc6 {
 44                                 nvidia,pins = "lcd_pwr2_pc6";
 45                                 nvidia,function = "displaya";
 46                                 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
 47                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
 48                                 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
 49                         };
 50                         spi2_cs2_n_pw3 {
 51                                 nvidia,pins = "spi2_cs2_n_pw3";
 52                                 nvidia,function = "spi2";
 53                                 nvidia,pull = <TEGRA_PIN_PULL_UP>;
 54                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
 55                                 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
 56                         };
 57                         dap3_din_pp1 {
 58                                 nvidia,pins = "dap3_din_pp1";
 59                                 nvidia,function = "i2s2";
 60                                 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
 61                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
 62                                 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
 63                         };
 64                         spi1_sck_px5 {
 65                                 nvidia,pins = "spi1_sck_px5";
 66                                 nvidia,function = "spi1";
 67                                 nvidia,pull = <TEGRA_PIN_PULL_UP>;
 68                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
 69                                 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
 70                         };
 71                         pu5 {
 72                                 nvidia,pins = "pu5";
 73                                 nvidia,function = "pwm2";
 74                                 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
 75                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
 76                                 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
 77                         };
 78                         spi1_miso_px7 {
 79                                 nvidia,pins = "spi1_miso_px7";
 80                                 nvidia,function = "spi1";
 81                                 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
 82                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
 83                                 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
 84                         };
 85                         spi2_mosi_px0 {
 86                                 nvidia,pins = "spi2_mosi_px0";
 87                                 nvidia,function = "spi2";
 88                                 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
 89                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
 90                                 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
 91                         };
 92                         clk3_req_pee1 {
 93                                 nvidia,pins = "clk3_req_pee1";
 94                                 nvidia,function = "dev3";
 95                                 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
 96                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
 97                                 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
 98                         };
 99                         ulpi_nxt_py2 {
100                                 nvidia,pins = "ulpi_nxt_py2";
101                                 nvidia,function = "uartd";
102                                 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
103                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
104                                 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
105                         };
106                         ulpi_stp_py3 {
107                                 nvidia,pins = "ulpi_stp_py3";
108                                 nvidia,function = "uartd";
109                                 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
110                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
111                                 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
112                         };
113                         kb_row7_pr7 {
114                                 nvidia,pins = "kb_row7_pr7";
115                                 nvidia,function = "kbc";
116                                 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
117                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
118                                 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
119                         };
120                         pu4 {
121                                 nvidia,pins = "pu4";
122                                 nvidia,function = "pwm1";
123                                 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
124                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
125                                 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
126                         };
127                         pu3 {
128                                 nvidia,pins = "pu3";
129                                 nvidia,function = "rsvd4";
130                                 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
131                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
132                                 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
133                         };
134                         kb_row15_ps7 {
135                                 nvidia,pins = "kb_row15_ps7";
136                                 nvidia,function = "kbc";
137                                 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
138                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
139                                 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
140                         };
141                         dap3_sclk_pp3 {
142                                 nvidia,pins = "dap3_sclk_pp3";
143                                 nvidia,function = "i2s2";
144                                 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
145                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
146                                 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
147                         };
148                         kb_row3_pr3 {
149                                 nvidia,pins = "kb_row3_pr3",
150                                                 "kb_row13_ps5";
151                                 nvidia,function = "kbc";
152                                 nvidia,pull = <TEGRA_PIN_PULL_UP>;
153                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
154                                 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
155                         };
156                         kb_row13_ps5 {
157                                 nvidia,pins = "kb_row13_ps5";
158                                 nvidia,function = "kbc";
159                                 nvidia,pull = <TEGRA_PIN_PULL_UP>;
160                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
161                                 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
162                         };
163                         gmi_wp_n_pc7 {
164                                 nvidia,pins = "gmi_wp_n_pc7",
165                                                 "gmi_wait_pi7",
166                                                 "gmi_cs4_n_pk2",
167                                                 "gmi_cs3_n_pk4";
168                                 nvidia,function = "rsvd1";
169                                 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
170                                 nvidia,tristate = <TEGRA_PIN_ENABLE>;
171                                 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
172                         };
173                         gmi_cs6_n_pi3 {
174                                 nvidia,pins = "gmi_cs6_n_pi3";
175                                 nvidia,function = "gmi";
176                                 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
177                                 nvidia,tristate = <TEGRA_PIN_ENABLE>;
178                                 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
179                         };
180                 };
181         };
182 
183         i2c@7000c500 {
184                 proximity-sensor@28 {
185                         compatible = "microchip,cap1106";
186                         reg = <0x28>;
187 
188                         /*
189                          * Binding doesn't support specifying linux,input-type
190                          * and this results in unwanted key-presses handled by
191                          * applications, hence keep it disabled for now.
192                          */
193                         status = "disabled";
194 
195                         interrupt-parent = <&gpio>;
196                         interrupts = <TEGRA_GPIO(R, 3) IRQ_TYPE_LEVEL_HIGH>;
197 
198                         linux,keycodes = <KEY_RESERVED>,
199                                          <KEY_RESERVED>,
200                                          <KEY_RESERVED>,
201                                          <KEY_RESERVED>,
202                                          <KEY_RESERVED>,
203                                          <SW_FRONT_PROXIMITY>;
204                 };
205 
206                 nfc@2a {
207                         compatible = "nxp,pn544-i2c";
208                         reg = <0x2a>;
209 
210                         interrupt-parent = <&gpio>;
211                         interrupts = <TEGRA_GPIO(S, 7) IRQ_TYPE_EDGE_RISING>;
212 
213                         enable-gpios   = <&gpio TEGRA_GPIO(P, 0) GPIO_ACTIVE_HIGH>;
214                         firmware-gpios = <&gpio TEGRA_GPIO(P, 3) GPIO_ACTIVE_HIGH>;
215                 };
216         };
217 
218         display-panel {
219                 enable-gpios = <&gpio TEGRA_GPIO(V, 6) GPIO_ACTIVE_HIGH>;
220 
221                 panel-timing {
222                         clock-frequency = <81750000>;
223                         hactive = <800>;
224                         vactive = <1280>;
225                         hfront-porch = <64>;
226                         hback-porch = <128>;
227                         hsync-len = <64>;
228                         vsync-len = <1>;
229                         vfront-porch = <5>;
230                         vback-porch = <2>;
231                 };
232         };
233 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php