1 // SPDX-License-Identifier: GPL-2.0
3 #include "tegra30-asus-nexus7-grouper-common.dtsi"
4 #include "tegra30-asus-nexus7-tilapia-memory-timings.dtsi"
7 compatible = "asus,tilapia", "asus,grouper", "nvidia,tegra30";
10 enable-gpios = <&gpio TEGRA_GPIO(V, 6) GPIO_ACTIVE_HIGH>;
13 clock-frequency = <81750000>;
28 gpios = <TEGRA_GPIO(D, 2) GPIO_ACTIVE_HIGH>,
29 <TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>,
30 <TEGRA_GPIO(W, 3) GPIO_ACTIVE_HIGH>,
31 <TEGRA_GPIO(P, 1) GPIO_ACTIVE_HIGH>,
32 <TEGRA_GPIO(X, 5) GPIO_ACTIVE_HIGH>,
33 <TEGRA_GPIO(U, 5) GPIO_ACTIVE_HIGH>,
34 <TEGRA_GPIO(X, 7) GPIO_ACTIVE_HIGH>,
35 <TEGRA_GPIO(X, 0) GPIO_ACTIVE_HIGH>,
36 <TEGRA_GPIO(EE, 1) GPIO_ACTIVE_HIGH>,
37 <TEGRA_GPIO(Y, 2) GPIO_ACTIVE_HIGH>,
38 <TEGRA_GPIO(Y, 3) GPIO_ACTIVE_HIGH>,
39 <TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>,
40 <TEGRA_GPIO(U, 4) GPIO_ACTIVE_HIGH>,
41 <TEGRA_GPIO(U, 3) GPIO_ACTIVE_HIGH>,
42 <TEGRA_GPIO(N, 1) GPIO_ACTIVE_HIGH>,
43 <TEGRA_GPIO(N, 2) GPIO_ACTIVE_HIGH>,
44 <TEGRA_GPIO(N, 0) GPIO_ACTIVE_HIGH>,
45 <TEGRA_GPIO(N, 3) GPIO_ACTIVE_HIGH>;
51 state_default: pinmux {
53 nvidia,pins = "lcd_dc1_pd2";
54 nvidia,function = "displaya";
55 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
56 nvidia,tristate = <TEGRA_PIN_DISABLE>;
57 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
60 nvidia,pins = "lcd_pwr2_pc6";
61 nvidia,function = "displaya";
62 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
63 nvidia,tristate = <TEGRA_PIN_DISABLE>;
64 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
67 nvidia,pins = "spi2_cs2_n_pw3";
68 nvidia,function = "spi2";
69 nvidia,pull = <TEGRA_PIN_PULL_UP>;
70 nvidia,tristate = <TEGRA_PIN_DISABLE>;
71 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
74 nvidia,pins = "dap3_din_pp1";
75 nvidia,function = "i2s2";
76 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
77 nvidia,tristate = <TEGRA_PIN_DISABLE>;
78 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
81 nvidia,pins = "spi1_sck_px5";
82 nvidia,function = "spi1";
83 nvidia,pull = <TEGRA_PIN_PULL_UP>;
84 nvidia,tristate = <TEGRA_PIN_DISABLE>;
85 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
89 nvidia,function = "pwm2";
90 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
91 nvidia,tristate = <TEGRA_PIN_DISABLE>;
92 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
95 nvidia,pins = "spi1_miso_px7";
96 nvidia,function = "spi1";
97 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
98 nvidia,tristate = <TEGRA_PIN_DISABLE>;
99 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
102 nvidia,pins = "spi2_mosi_px0";
103 nvidia,function = "spi2";
104 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
105 nvidia,tristate = <TEGRA_PIN_DISABLE>;
106 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
109 nvidia,pins = "clk3_req_pee1";
110 nvidia,function = "dev3";
111 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
112 nvidia,tristate = <TEGRA_PIN_DISABLE>;
113 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
116 nvidia,pins = "ulpi_nxt_py2";
117 nvidia,function = "uartd";
118 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
119 nvidia,tristate = <TEGRA_PIN_DISABLE>;
120 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
123 nvidia,pins = "ulpi_stp_py3";
124 nvidia,function = "uartd";
125 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
126 nvidia,tristate = <TEGRA_PIN_DISABLE>;
127 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
130 nvidia,pins = "kb_row7_pr7";
131 nvidia,function = "kbc";
132 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
133 nvidia,tristate = <TEGRA_PIN_DISABLE>;
134 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
138 nvidia,function = "pwm1";
139 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
140 nvidia,tristate = <TEGRA_PIN_DISABLE>;
141 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
145 nvidia,function = "rsvd4";
146 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
147 nvidia,tristate = <TEGRA_PIN_DISABLE>;
148 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
151 nvidia,pins = "kb_row15_ps7";
152 nvidia,function = "kbc";
153 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
154 nvidia,tristate = <TEGRA_PIN_DISABLE>;
155 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
158 nvidia,pins = "dap3_sclk_pp3";
159 nvidia,function = "i2s2";
160 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
161 nvidia,tristate = <TEGRA_PIN_DISABLE>;
162 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
165 nvidia,pins = "kb_row3_pr3",
167 nvidia,function = "kbc";
168 nvidia,pull = <TEGRA_PIN_PULL_UP>;
169 nvidia,tristate = <TEGRA_PIN_DISABLE>;
170 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
173 nvidia,pins = "kb_row13_ps5";
174 nvidia,function = "kbc";
175 nvidia,pull = <TEGRA_PIN_PULL_UP>;
176 nvidia,tristate = <TEGRA_PIN_DISABLE>;
177 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
180 nvidia,pins = "gmi_wp_n_pc7",
184 nvidia,function = "rsvd1";
185 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
186 nvidia,tristate = <TEGRA_PIN_ENABLE>;
187 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
190 nvidia,pins = "gmi_cs6_n_pi3";
191 nvidia,function = "gmi";
192 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
193 nvidia,tristate = <TEGRA_PIN_ENABLE>;
194 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
200 proximity-sensor@28 {
201 compatible = "microchip,cap1106";
205 * Binding doesn't support specifying linux,input-type
206 * and this results in unwanted key-presses handled by
207 * applications, hence keep it disabled for now.
211 interrupt-parent = <&gpio>;
212 interrupts = <TEGRA_GPIO(R, 3) IRQ_TYPE_LEVEL_HIGH>;
214 linux,keycodes = <KEY_RESERVED>,
219 <SW_FRONT_PROXIMITY>;
223 compatible = "nxp,pn544-i2c";
226 clock-frequency = <100000>;
228 interrupt-parent = <&gpio>;
229 interrupts = <TEGRA_GPIO(S, 7) IRQ_TYPE_EDGE_RISING>;
231 enable-gpios = <&gpio TEGRA_GPIO(P, 0) GPIO_ACTIVE_HIGH>;
232 firmware-gpios = <&gpio TEGRA_GPIO(P, 3) GPIO_ACTIVE_HIGH>;