Lines Matching +full:prcmu +full:- +full:internal
1 // SPDX-License-Identifier: GPL-2.0-only
3 * Devicetree for the Samsung Galaxy Exhibit SGH-T599 also known as Codina-TMO,
4 * the "TMO" shall be read "T-Mobile" as this phone was produced exlusively
5 * for T-Mobile in the United States.
8 * - No CPU speed cap, full ~1GHz rate
9 * - Different power management IC, AB8505
10 * - As AB8505 has a micro USB phy, no TI TSU6111
11 * - Different power routing such as the removal of the external LDO for the
13 * - Using a regulator for the key backlight LED
14 * - Using the Samsung S6D27A1 panel by default
15 * - The panel is using one of the ordinary AB8505 regulators for 1.8V
16 * - WiFi/Bluetooth combi chip upgraded to BCM4334
17 * - GPIO for backlight control moved from 68 to 69
20 /dts-v1/;
21 #include "ste-db8500.dtsi"
22 #include "ste-ab8505.dtsi"
23 #include "ste-dbx5x0-pinctrl.dtsi"
24 #include <dt-bindings/gpio/gpio.h>
25 #include <dt-bindings/leds/common.h>
26 #include <dt-bindings/input/input.h>
27 #include <dt-bindings/interrupt-controller/irq.h>
30 model = "Samsung Galaxy Exhibit (SGH-T599)";
31 compatible = "samsung,codina-tmo", "st-ericsson,u8500";
34 stdout-path = &serial2;
41 thermal-zones {
42 battery-thermal {
44 polling-delay = <0>;
45 polling-delay-passive = <0>;
46 thermal-sensors = <&bat_therm>;
49 battery-crit-hi {
59 compatible = "samsung,1404-001221";
60 io-channels = <&gpadc 0x02>; /* BatTemp */
61 pullup-uv = <1800000>;
62 pullup-ohm = <230000>;
63 pulldown-ohm = <0>;
64 #thermal-sensor-cells = <0>;
68 sd_level_translator: regulator-gpio {
69 compatible = "regulator-fixed";
73 enable-active-high;
75 regulator-name = "sd-level-translator";
76 regulator-min-microvolt = <2900000>;
77 regulator-max-microvolt = <2900000>;
78 regulator-type = "voltage";
80 startup-delay-us = <200>;
82 pinctrl-names = "default";
83 pinctrl-0 = <&sd_level_translator_default>;
86 /* External LDO MIC5366-3.3YMT for eMMC */
87 ldo_3v3_reg: regulator-gpio-ldo-3v3 {
88 compatible = "regulator-fixed";
90 regulator-name = "VMEM_3V3";
91 regulator-min-microvolt = <3300000>;
92 regulator-max-microvolt = <3300000>;
94 startup-delay-us = <5000>;
95 enable-active-high;
96 pinctrl-names = "default";
97 pinctrl-0 = <&emmc_ldo_en_default_mode>;
101 * External Ricoh RP152L010B-TR LCD LDO regulator for the display.
104 lcd_3v0_reg: regulator-gpio-lcd-3v0 {
105 compatible = "regulator-fixed";
107 regulator-name = "VREG_LCD_3.0V";
108 regulator-min-microvolt = <3000000>;
109 regulator-max-microvolt = <3000000>;
112 enable-active-high;
113 pinctrl-names = "default";
114 pinctrl-0 = <&lcd_pwr_en_default_mode>;
119 * line WL_REG_ON high and enables the internal regulators
127 wl_reg: regulator-gpio-wlan {
128 compatible = "regulator-fixed";
129 regulator-name = "WL_REG_ON";
130 regulator-min-microvolt = <3000000>;
131 regulator-max-microvolt = <3000000>;
132 startup-delay-us = <100000>;
135 enable-active-high;
136 pinctrl-names = "default";
137 pinctrl-0 = <&wlan_ldo_en_default>;
141 compatible = "gpio-vibrator";
143 enable-gpios = <&gpio6 3 GPIO_ACTIVE_HIGH>;
144 pinctrl-names = "default";
145 pinctrl-0 = <&vibrator_default>;
148 gpio-keys {
149 compatible = "gpio-keys";
150 pinctrl-names = "default";
151 pinctrl-0 = <&gpio_keys_default_mode>;
153 button-home {
159 button-volup {
165 button-voldown {
167 label = "VOL-";
173 led-touchkeys {
174 compatible = "regulator-led";
175 vled-supply = <&ab8500_ldo_aux4_reg>; // 3.3V
176 default-state = "on";
184 enable-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
186 default-brightness = <13>;
187 pinctrl-names = "default";
188 pinctrl-0 = <&ktd253_backlight_default_mode>;
195 enf-gpios = <&gpio4 12 GPIO_ACTIVE_HIGH>;
197 ent-gpios = <&gpio4 13 GPIO_ACTIVE_HIGH>;
203 richtek,rfs-ohms = <16000>;
204 richtek,rts-ohms = <100000>;
205 pinctrl-names = "default";
206 pinctrl-0 = <&gpio_flash_default_mode>;
211 flash-max-timeout-us = <250000>;
212 flash-max-microamp = <343750>;
213 led-max-microamp = <55000>;
217 /* Bit-banged I2C on GPIO143 and GPIO144 also called "SUBPMU I2C" */
218 i2c-gpio-0 {
219 compatible = "i2c-gpio";
220 sda-gpios = <&gpio4 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
221 scl-gpios = <&gpio4 15 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
222 pinctrl-names = "default";
223 pinctrl-0 = <&i2c_gpio_0_default>;
224 #address-cells = <1>;
225 #size-cells = <0>;
230 /* Bit-banged I2C on GPIO151 and GPIO152 also called "COMP I2C" */
231 i2c-gpio-1 {
232 compatible = "i2c-gpio";
233 sda-gpios = <&gpio4 24 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
234 scl-gpios = <&gpio4 23 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
235 pinctrl-names = "default";
236 pinctrl-0 = <&i2c_gpio_1_default>;
237 #address-cells = <1>;
238 #size-cells = <0>;
243 clock-frequency = <400000>;
245 avdd-supply = <&ab8500_ldo_aux1_reg>; // 3V
246 dvdd-supply = <&ab8500_ldo_aux8_reg>; // 1.8V
251 compatible = "spi-gpio";
253 sck-gpios = <&gpio6 28 GPIO_ACTIVE_HIGH>;
255 mosi-gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>;
257 miso-gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>;
259 cs-gpios = <&gpio6 9 GPIO_ACTIVE_LOW>;
260 num-chipselects = <1>;
262 pinctrl-names = "default";
263 pinctrl-0 = <&spi_gpio_0_default>;
264 #address-cells = <1>;
265 #size-cells = <0>;
269 spi-max-frequency = <1200000>;
271 spi-cpha;
272 spi-cpol;
275 vci-supply = <&lcd_3v0_reg>;
276 vccio-supply = <&ab8500_ldo_aux6_reg>;
279 reset-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>;
281 interrupt-parent = <&gpio2>;
284 pinctrl-names = "default";
285 pinctrl-0 = <&panel_default_mode>;
290 remote-endpoint = <&display_out>;
299 arm,primecell-periphid = <0x10480180>;
300 max-frequency = <100000000>;
301 bus-width = <4>;
302 cap-sd-highspeed;
303 cap-mmc-highspeed;
304 st,sig-pin-fbclk;
305 full-pwr-cycle;
307 vmmc-supply = <&ab8500_ldo_aux3_reg>;
309 vqmmc-supply = <&sd_level_translator>;
310 pinctrl-names = "default", "sleep";
311 pinctrl-0 = <&mc0_a_2_default>;
312 pinctrl-1 = <&mc0_a_2_sleep>;
313 cd-gpios = <&gpio6 25 GPIO_ACTIVE_LOW>; // GPIO217
319 arm,primecell-periphid = <0x10480180>;
320 max-frequency = <50000000>;
321 bus-width = <4>;
322 non-removable;
323 cap-sd-highspeed;
324 pinctrl-names = "default", "sleep";
325 pinctrl-0 = <&mc1_a_2_default>;
326 pinctrl-1 = <&mc1_a_2_sleep>;
328 * GPIO-controlled voltage enablement: this drives
332 vmmc-supply = <&wl_reg>;
334 #address-cells = <1>;
335 #size-cells = <0>;
339 compatible = "brcm,bcm4334-fmac", "brcm,bcm4329-fmac";
342 interrupt-parent = <&gpio6>;
344 interrupt-names = "host-wake";
345 pinctrl-names = "default";
346 pinctrl-0 = <&wlan_default_mode>;
352 arm,primecell-periphid = <0x10480180>;
353 max-frequency = <100000000>;
354 bus-width = <8>;
355 non-removable;
356 cap-mmc-highspeed;
357 mmc-ddr-1_8v;
358 no-sdio;
359 no-sd;
360 vmmc-supply = <&ldo_3v3_reg>;
361 pinctrl-names = "default", "sleep";
363 * GPIO130 will be set to input no pull-up resulting in a resistor
366 pinctrl-0 = <&mc2_a_1_default>;
367 pinctrl-1 = <&mc2_a_1_sleep>;
373 pinctrl-names = "default", "sleep";
374 pinctrl-0 = <&u0_a_1_default>;
375 pinctrl-1 = <&u0_a_1_sleep>;
380 compatible = "brcm,bcm4330-bt";
382 shutdown-gpios = <&gpio6 30 GPIO_ACTIVE_HIGH>;
384 device-wakeup-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
387 host-wakeup-gpios = <&gpio3 1 GPIO_ACTIVE_HIGH>;
389 reset-gpios = <&gpio6 17 GPIO_ACTIVE_LOW>;
390 pinctrl-names = "default";
391 pinctrl-0 = <&bluetooth_default_mode>;
398 pinctrl-names = "default", "sleep";
400 pinctrl-0 = <&u1rxtx_a_1_default>;
401 pinctrl-1 = <&u1rxtx_a_1_sleep>;
408 pinctrl-names = "default", "sleep";
409 pinctrl-0 = <&u2rxtx_c_1_default>;
410 pinctrl-1 = <&u2rxtx_c_1_sleep>;
413 prcmu@80157000 {
416 pinctrl-names = "default", "sleep";
417 pinctrl-0 = <&usb_a_1_default>;
418 pinctrl-1 = <&usb_a_1_sleep>;
422 line-impedance-micro-ohms = <36000>;
428 regulator-name = "v-sensors-vdd";
429 regulator-min-microvolt = <3000000>;
430 regulator-max-microvolt = <3300000>;
434 regulator-name = "v-aux2";
435 regulator-min-microvolt = <3300000>;
436 regulator-max-microvolt = <3300000>;
440 regulator-name = "v-mmc-sd";
444 regulator-name = "v-aux4";
449 regulator-min-microvolt = <1100000>;
450 regulator-max-microvolt = <3300000>;
454 regulator-name = "v-aux5";
455 regulator-min-microvolt = <1800000>;
456 regulator-max-microvolt = <1800000>;
461 regulator-name = "v-aux6";
462 regulator-min-microvolt = <1800000>;
463 regulator-max-microvolt = <1800000>;
467 regulator-name = "v-sensors-vio";
476 pinctrl-names = "default", "sleep";
477 pinctrl-0 = <&i2c0_a_1_default>;
478 pinctrl-1 = <&i2c0_a_1_sleep>;
483 clock-frequency = <400000>;
487 interrupt-parent = <&gpio4>;
489 vdd-supply = <&ab8500_ldo_aux1_reg>;
490 vddio-supply = <&ab8500_ldo_aux8_reg>;
491 pinctrl-names = "default";
492 pinctrl-0 = <&tmd2672_codina_default>;
499 pinctrl-names = "default", "sleep";
500 pinctrl-0 = <&i2c2_b_2_default>;
501 pinctrl-1 = <&i2c2_b_2_sleep>;
507 mount-matrix = "0", "1", "0",
508 "-1", "0", "0",
510 vddio-supply = <&ab8500_ldo_aux8_reg>; // 1.8V
511 vdd-supply = <&ab8500_ldo_aux1_reg>; // 3V
519 pinctrl-names = "default", "sleep";
520 pinctrl-0 = <&i2c3_c_2_default>;
521 pinctrl-1 = <&i2c3_c_2_sleep>;
527 compatible = "zinitix,bt404-isp";
529 pinctrl-names = "default";
530 pinctrl-0 = <&tsp_default>;
538 interrupt-parent = <&gpio6>;
540 vcca-supply = <&ab8500_ldo_aux2_reg>; // 3.3V
541 vdd-supply = <&ab8500_ldo_aux5_reg>; // 1.8V
543 touchscreen-size-x = <480>;
544 touchscreen-size-y = <800>;
545 pinctrl-names = "default";
546 pinctrl-0 = <&tsp_default>;
552 pinctrl-names = "default";
553 pinctrl-0 = <&dpi_default_mode>;
557 remote-endpoint = <&panel_in>;
590 sd-level-translator {
600 emmc-ldo {
625 lcd-ldo {
634 /* GPIO that enables the WLAN internal LDO regulators */
635 wlan-ldo {
663 gpio-keys {
691 /* GPIO-based I2C bus for subpmu */
692 i2c-gpio-0 {
700 /* GPIO-based I2C bus for the NFC */
701 i2c-gpio-1 {
709 /* GPIO-based SPI bus for the display */
710 spi-gpio-0 {
772 /* Data lines D0-D7 GPIO70..GPIO77 */
774 /* Data lines D8-D11 GPIO78..GPIO81 */
776 /* Data lines D12-D15 GPIO82..GPIO85 */
778 /* Data lines D16-D23 GPIO161..GPIO168 */
786 /* Input, no pull-up is the default state for pins used for an alt function */