Lines Matching +full:mmc0 +full:- +full:pins
1 // SPDX-License-Identifier: GPL-2.0-only
7 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
14 compatible = "sony,xperia-m5", "mediatek,mt6795";
15 chassis-type = "handset";
18 mmc0 = &mmc0;
26 compatible = "led-backlight";
29 default-brightness-level = <300>;
32 led-controller-display {
33 compatible = "pwm-leds";
35 disp_led_pwm: led-0 {
36 label = "backlight-pwm";
38 max-brightness = <1024>;
47 reserved_memory: reserved-memory {
48 #address-cells = <2>;
49 #size-cells = <2>;
55 no-map;
59 preloader-region@44800000 {
61 no-map;
64 bootloader-region@46000000 {
66 no-map;
70 vreg_disp_avdd: regulator-disp-avdd {
71 compatible = "regulator-fixed";
72 regulator-name = "disp_avdd";
73 regulator-min-microvolt = <5000000>;
74 regulator-max-microvolt = <5000000>;
76 enable-active-high;
79 vreg_disp_avee: regulator-disp-avee {
80 compatible = "regulator-fixed";
81 regulator-name = "disp_avee";
82 regulator-min-microvolt = <5000000>;
83 regulator-max-microvolt = <5000000>;
85 enable-active-high;
88 vreg_disp_vddh: regulator-disp-vddh {
89 compatible = "regulator-fixed";
90 regulator-name = "disp_vddh";
91 regulator-min-microvolt = <1800000>;
92 regulator-max-microvolt = <1800000>;
93 regulator-always-on;
94 regulator-boot-on;
100 #address-cells = <1>;
101 #size-cells = <0>;
106 avdd-supply = <&vreg_disp_avdd>;
107 avee-supply = <&vreg_disp_avee>;
108 vddi-supply = <&mt6331_vgp3_reg>;
109 vddh-supply = <&vreg_disp_vddh>;
110 reset-gpios = <&pio 106 GPIO_ACTIVE_LOW>;
113 pinctrl-0 = <&disp_rst_pins>;
114 pinctrl-names = "default";
118 remote-endpoint = <&dsi0_out>;
125 remote-endpoint = <&panel_in>;
133 mediatek,hopping-ssc-percent = <8>, <5>, <8>;
138 pinctrl-names = "default";
139 pinctrl-0 = <&i2c0_pins>;
144 pinctrl-names = "default";
145 pinctrl-0 = <&i2c1_pins>;
151 pinctrl-names = "default";
152 pinctrl-0 = <&accel_pins>;
162 pinctrl-names = "default";
163 pinctrl-0 = <&i2c2_pins>;
167 compatible = "syna,rmi4-i2c";
169 #address-cells = <1>;
170 #size-cells = <0>;
171 interrupts-extended = <&pio 6 IRQ_TYPE_EDGE_FALLING>;
172 pinctrl-names = "default";
173 pinctrl-0 = <&ts_pins>;
174 syna,startup-delay-ms = <160>;
175 syna,reset-delay-ms = <90>;
177 rmi4-f01@1 {
179 syna,nosleep-mode = <1>;
182 rmi4-f12@12 {
184 syna,sensor-type = <1>;
190 pinctrl-names = "default";
191 pinctrl-0 = <&i2c3_pins>;
195 compatible = "nxp,pn544-i2c";
197 interrupts-extended = <&pio 3 IRQ_TYPE_EDGE_RISING>;
198 pinctrl-names = "default";
199 pinctrl-0 = <&nfc_pins>;
200 enable-gpios = <&pio 149 GPIO_ACTIVE_HIGH>;
201 firmware-gpios = <&pio 94 GPIO_ACTIVE_HIGH>;
207 interrupts-extended = <&pio 8 IRQ_TYPE_EDGE_FALLING>;
208 pinctrl-names = "default";
209 pinctrl-0 = <&proximity_pins>;
213 &mmc0 {
215 mediatek,latch-ck = <0x14>; /* hs400 */
216 mediatek,hs200-cmd-int-delay = <1>;
217 mediatek,hs400-cmd-int-delay = <1>;
218 mediatek,hs400-ds-dly3 = <0x1a>;
219 non-removable;
220 pinctrl-names = "default", "state_uhs";
221 pinctrl-0 = <&mmc0_pins_default>;
222 pinctrl-1 = <&mmc0_pins_uhs>;
223 vmmc-supply = <&mt6331_vemc33_reg>;
224 vqmmc-supply = <&mt6331_vio18_reg>;
230 vmmc-supply = <&mt6331_vmc_reg>;
231 vqmmc-supply = <&mt6331_vmch_reg>;
237 vmmc-supply = <&mt6331_vmc_reg>;
238 vqmmc-supply = <&mt6331_vmch_reg>;
243 regulator-min-microvolt = <1800000>;
247 disp_rst_pins: lcm-pins {
248 pins-rst {
253 mmc0_pins_default: emmc-sdr-pins {
254 pins-cmd-dat {
264 input-enable;
265 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
268 pins-clk {
270 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
273 pins-rst {
275 bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
279 mmc0_pins_uhs: emmc-uhs-pins {
280 pins-cmd-dat {
290 input-enable;
291 drive-strength = <MTK_DRIVE_6mA>;
292 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
295 pins-clk {
297 drive-strength = <MTK_DRIVE_6mA>;
298 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
301 pins-rst {
303 drive-strength = <MTK_DRIVE_6mA>;
304 bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
307 pins-ds {
309 drive-strength = <MTK_DRIVE_6mA>;
310 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
314 nfc_pins: nfc-pins {
315 pins-irq {
317 bias-pull-down;
318 input-enable;
321 pins-fw-ven {
327 ts_pins: touchscreen-pins {
328 pins-irq {
330 bias-pull-up;
331 input-enable;
334 pins-rst {
336 output-high;
340 proximity_pins: proximity-pins {
341 pins-irq {
343 bias-pull-up;
344 input-enable;
348 accel_pins: accelerometer-pins {
349 pins-irq {
351 bias-pull-up;
352 input-enable;
356 i2c0_pins: i2c0-pins {
357 pins-bus {
360 input-enable;
364 i2c1_pins: i2c1-pins {
365 pins-bus {
368 bias-disable;
372 i2c2_pins: i2c2-pins {
373 pins-bus {
376 bias-disable;
380 i2c3_pins: i2c3-pins {
381 pins-bus {
384 bias-disable;
388 i2c4_pins: i2c4-pins {
389 pins-bus {
392 bias-disable;
396 uart0_pins: uart0-pins {
397 pins-rx {
399 bias-pull-up;
400 input-enable;
402 pins-tx {
404 output-high;
408 uart2_pins: uart2-pins {
409 pins-rx {
411 bias-pull-up;
412 input-enable;
414 pins-tx {
428 mt6332-led {
429 compatible = "mediatek,mt6332-led";
430 #address-cells = <1>;
431 #size-cells = <0>;
435 label = "backlight-pmic";
447 pinctrl-names = "default";
448 pinctrl-0 = <&uart0_pins>;
454 pinctrl-names = "default";
455 pinctrl-0 = <&uart2_pins>;