1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Devicetree for the Samsung Galaxy Amp SGH-I407 also known as Kyle. 4 * 5 * The code also refers to "Kyle AT&T" reflecting that this mobile phone 6 * was customized for the AT&T subsidiary Aio Wireless (All In One) and 7 * offered by the company in 2013. 8 */ 9 10/dts-v1/; 11#include "ste-db8500.dtsi" 12#include "ste-ab8505.dtsi" 13#include "ste-dbx5x0-pinctrl.dtsi" 14#include <dt-bindings/gpio/gpio.h> 15#include <dt-bindings/leds/common.h> 16#include <dt-bindings/input/input.h> 17#include <dt-bindings/interrupt-controller/irq.h> 18 19/ { 20 model = "Samsung Galaxy Amp (SGH-I407)"; 21 compatible = "samsung,kyle", "st-ericsson,u8500"; 22 23 chosen { 24 stdout-path = &serial2; 25 }; 26 27 battery: battery { 28 compatible = "samsung,eb425161la"; 29 }; 30 31 thermal-zones { 32 battery-thermal { 33 /* This zone will be polled by the battery temperature code */ 34 polling-delay = <0>; 35 polling-delay-passive = <0>; 36 thermal-sensors = <&bat_therm>; 37 38 trips { 39 battery-crit-hi { 40 temperature = <70000>; 41 hysteresis = <2000>; 42 type = "critical"; 43 }; 44 }; 45 }; 46 }; 47 48 bat_therm: thermistor { 49 compatible = "samsung,1404-001221"; 50 io-channels = <&gpadc 0x02>; /* BatTemp */ 51 pullup-uv = <1800000>; 52 pullup-ohm = <230000>; 53 pulldown-ohm = <0>; 54 #thermal-sensor-cells = <0>; 55 }; 56 57 /* TI TXS0206 level translator for 2.9 V */ 58 sd_level_translator: regulator-gpio { 59 compatible = "regulator-fixed"; 60 61 /* GPIO87 EN */ 62 gpios = <&gpio2 23 GPIO_ACTIVE_HIGH>; 63 enable-active-high; 64 65 regulator-name = "sd-level-translator"; 66 regulator-min-microvolt = <2900000>; 67 regulator-max-microvolt = <2900000>; 68 regulator-type = "voltage"; 69 70 startup-delay-us = <200>; 71 72 pinctrl-names = "default"; 73 pinctrl-0 = <&sd_level_translator_default>; 74 }; 75 76 /* External LDO MIC5366-3.3YMT for eMMC */ 77 ldo_3v3_reg: regulator-gpio-ldo-3v3 { 78 compatible = "regulator-fixed"; 79 regulator-name = "en-3v3-fixed-supply"; 80 regulator-min-microvolt = <3300000>; 81 regulator-max-microvolt = <3300000>; 82 gpio = <&gpio6 31 GPIO_ACTIVE_HIGH>; 83 startup-delay-us = <5000>; 84 enable-active-high; 85 pinctrl-names = "default"; 86 pinctrl-0 = <&emmc_ldo_en_default_mode>; 87 }; 88 89 /* 90 * External Ricoh RP152L010B-TR LCD LDO regulator for the display. 91 * LCD_PWR_EN controls both a 3.0V and 1.8V output. 92 */ 93 lcd_3v0_reg: regulator-gpio-lcd-3v0 { 94 compatible = "regulator-fixed"; 95 /* Supplied in turn by VBAT */ 96 regulator-name = "VREG_LCD_3V0"; 97 regulator-min-microvolt = <3000000>; 98 regulator-max-microvolt = <3000000>; 99 /* GPIO219 controls this regulator */ 100 gpio = <&gpio6 27 GPIO_ACTIVE_HIGH>; 101 enable-active-high; 102 pinctrl-names = "default"; 103 pinctrl-0 = <&lcd_pwr_en_default_mode>; 104 }; 105 lcd_1v8_reg: regulator-gpio-lcd-1v8 { 106 compatible = "regulator-fixed"; 107 /* Supplied in turn by VBAT */ 108 regulator-name = "VREG_LCD_1V8"; 109 regulator-min-microvolt = <1800000>; 110 regulator-max-microvolt = <1800000>; 111 /* GPIO219 controls this regulator too */ 112 gpio = <&gpio6 27 GPIO_ACTIVE_HIGH>; 113 enable-active-high; 114 pinctrl-names = "default"; 115 pinctrl-0 = <&lcd_pwr_en_default_mode>; 116 }; 117 118 wlan_en: regulator-gpio-wlan-en { 119 compatible = "regulator-fixed"; 120 regulator-name = "wl-reg-on"; 121 regulator-min-microvolt = <3000000>; 122 regulator-max-microvolt = <3000000>; 123 startup-delay-us = <200000>; 124 /* GPIO215 WLAN_EN */ 125 gpio = <&gpio6 23 GPIO_ACTIVE_HIGH>; 126 enable-active-high; 127 pinctrl-names = "default"; 128 pinctrl-0 = <&wlan_en_default_mode>; 129 }; 130 131 vibrator { 132 compatible = "gpio-vibrator"; 133 enable-gpios = <&gpio6 3 GPIO_ACTIVE_HIGH>; 134 pinctrl-names = "default"; 135 pinctrl-0 = <&vibrator_default>; 136 }; 137 138 gpio-keys { 139 compatible = "gpio-keys"; 140 pinctrl-names = "default"; 141 pinctrl-0 = <&gpio_keys_default_mode>; 142 143 button-home { 144 linux,code = <KEY_HOME>; 145 label = "HOME"; 146 /* GPIO91 */ 147 gpios = <&gpio2 27 GPIO_ACTIVE_LOW>; 148 }; 149 button-volup { 150 linux,code = <KEY_VOLUMEUP>; 151 label = "VOL+"; 152 /* GPIO67 */ 153 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>; 154 }; 155 button-voldown { 156 linux,code = <KEY_VOLUMEDOWN>; 157 label = "VOL-"; 158 /* GPIO92 */ 159 gpios = <&gpio2 28 GPIO_ACTIVE_LOW>; 160 }; 161 }; 162 163 ktd253: backlight { 164 compatible = "kinetic,ktd253"; 165 /* GPIO 69 */ 166 enable-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; 167 /* Default to 13/32 brightness */ 168 default-brightness = <13>; 169 pinctrl-names = "default"; 170 pinctrl-0 = <&gpio_backlight_default_mode>; 171 }; 172 173 /* Richtek RT8515GQW Flash LED Driver IC */ 174 flash { 175 compatible = "richtek,rt8515"; 176 /* GPIO 140 */ 177 enf-gpios = <&gpio4 12 GPIO_ACTIVE_HIGH>; 178 /* GPIO 141 */ 179 ent-gpios = <&gpio4 13 GPIO_ACTIVE_HIGH>; 180 /* 181 * RFS is 16 kOhm and RTS is 100 kOhm giving 182 * the flash max current 343mA and torch max 183 * current 55 mA. 184 */ 185 richtek,rfs-ohms = <16000>; 186 richtek,rts-ohms = <100000>; 187 pinctrl-names = "default"; 188 pinctrl-0 = <&gpio_flash_default_mode>; 189 190 led { 191 function = LED_FUNCTION_FLASH; 192 color = <LED_COLOR_ID_WHITE>; 193 flash-max-timeout-us = <250000>; 194 flash-max-microamp = <343750>; 195 led-max-microamp = <55000>; 196 }; 197 }; 198 199 i2c-gpio-0 { 200 compatible = "i2c-gpio"; 201 sda-gpios = <&gpio4 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; 202 scl-gpios = <&gpio4 15 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; 203 pinctrl-names = "default"; 204 pinctrl-0 = <&i2c_gpio_0_default>; 205 #address-cells = <1>; 206 #size-cells = <0>; 207 /* TODO: this should be used by the NCP6914 Camera power management unit */ 208 }; 209 210 i2c-gpio-1 { 211 compatible = "i2c-gpio"; 212 sda-gpios = <&gpio4 24 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; 213 scl-gpios = <&gpio4 23 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; 214 pinctrl-names = "default"; 215 pinctrl-0 = <&i2c_gpio_1_default>; 216 #address-cells = <1>; 217 #size-cells = <0>; 218 magnetometer@c { 219 compatible = "alps,hscdtd008a"; 220 reg = <0x0c>; 221 avdd-supply = <&ab8500_ldo_aux1_reg>; 222 dvdd-supply = <&ab8500_ldo_aux6_reg>; 223 }; 224 }; 225 226 soc { 227 // External Micro SD slot 228 mmc@80126000 { 229 arm,primecell-periphid = <0x10480180>; 230 max-frequency = <100000000>; 231 bus-width = <4>; 232 cap-sd-highspeed; 233 cap-mmc-highspeed; 234 st,sig-pin-fbclk; 235 full-pwr-cycle; 236 vmmc-supply = <&ab8500_ldo_aux3_reg>; 237 vqmmc-supply = <&sd_level_translator>; 238 pinctrl-names = "default", "sleep"; 239 pinctrl-0 = <&mc0_a_1_default>; 240 pinctrl-1 = <&mc0_a_1_sleep>; 241 cd-gpios = <&gpio6 25 GPIO_ACTIVE_LOW>; // GPIO217 242 status = "okay"; 243 }; 244 245 // WLAN SDIO channel 246 mmc@80118000 { 247 arm,primecell-periphid = <0x10480180>; 248 max-frequency = <50000000>; 249 bus-width = <4>; 250 non-removable; 251 cap-sd-highspeed; 252 vmmc-supply = <&wlan_en>; 253 pinctrl-names = "default", "sleep"; 254 pinctrl-0 = <&mc1_a_2_default>; 255 pinctrl-1 = <&mc1_a_2_sleep>; 256 status = "okay"; 257 #address-cells = <1>; 258 #size-cells = <0>; 259 260 wifi@1 { 261 compatible = "brcm,bcm4334-fmac", "brcm,bcm4329-fmac"; 262 reg = <1>; 263 /* GPIO216 WL_HOST_WAKE */ 264 interrupt-parent = <&gpio6>; 265 interrupts = <24 IRQ_TYPE_EDGE_FALLING>; 266 interrupt-names = "host-wake"; 267 pinctrl-names = "default"; 268 pinctrl-0 = <&wlan_default_mode>; 269 }; 270 }; 271 272 /* 273 * eMMC seems to be mostly Samsung KLM4G1YE4C "4YMD1R" 274 */ 275 mmc@80005000 { 276 arm,primecell-periphid = <0x10480180>; 277 max-frequency = <100000000>; 278 bus-width = <8>; 279 non-removable; 280 cap-mmc-highspeed; 281 mmc-ddr-1_8v; 282 no-sdio; 283 no-sd; 284 /* From datasheet page 26 figure 9: 300 ms set-up time for 4GB */ 285 post-power-on-delay-ms = <300>; 286 vmmc-supply = <&ldo_3v3_reg>; 287 pinctrl-names = "default", "sleep"; 288 pinctrl-0 = <&mc2_a_1_default>; 289 pinctrl-1 = <&mc2_a_1_sleep>; 290 291 status = "okay"; 292 }; 293 294 /* GBF (Bluetooth) UART */ 295 uart@80120000 { 296 pinctrl-names = "default", "sleep"; 297 pinctrl-0 = <&u0_a_1_default>; 298 pinctrl-1 = <&u0_a_1_sleep>; 299 status = "okay"; 300 301 bluetooth { 302 /* BCM4334B0 actually */ 303 compatible = "brcm,bcm4330-bt"; 304 shutdown-gpios = <&gpio6 30 GPIO_ACTIVE_HIGH>; 305 device-wakeup-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>; 306 host-wakeup-gpios = <&gpio3 1 GPIO_ACTIVE_HIGH>; 307 pinctrl-names = "default"; 308 pinctrl-0 = <&bluetooth_default_mode>; 309 }; 310 }; 311 312 /* GPF UART */ 313 uart@80121000 { 314 status = "okay"; 315 pinctrl-names = "default", "sleep"; 316 pinctrl-0 = <&u1rxtx_a_1_default &u1ctsrts_a_1_default>; 317 pinctrl-1 = <&u1rxtx_a_1_sleep &u1ctsrts_a_1_sleep>; 318 }; 319 320 /* Debugging console UART connected to AB8505 USB */ 321 uart@80007000 { 322 status = "okay"; 323 pinctrl-names = "default", "sleep"; 324 pinctrl-0 = <&u2rxtx_c_1_default>; 325 pinctrl-1 = <&u2rxtx_c_1_sleep>; 326 }; 327 328 prcmu@80157000 { 329 ab8505 { 330 phy { 331 pinctrl-names = "default", "sleep"; 332 pinctrl-0 = <&usb_a_1_default>; 333 pinctrl-1 = <&usb_a_1_sleep>; 334 }; 335 336 ab8500_fg { 337 line-impedance-micro-ohms = <36000>; 338 }; 339 340 regulator { 341 ab8500_ldo_aux1 { 342 /* Used for VDD for sensors */ 343 regulator-name = "AUX1"; 344 regulator-min-microvolt = <3000000>; 345 regulator-max-microvolt = <3300000>; 346 }; 347 348 ab8500_ldo_aux2 { 349 /* Supplies the MMS touchscreen only with 3.3V */ 350 regulator-name = "AUX2"; 351 regulator-min-microvolt = <3300000>; 352 regulator-max-microvolt = <3300000>; 353 }; 354 355 ab8500_ldo_aux3 { 356 /* Used for voltage for external MMC/SD card */ 357 regulator-name = "AUX3"; 358 regulator-min-microvolt = <1100000>; 359 regulator-max-microvolt = <3300000>; 360 }; 361 362 ab8500_ldo_aux4 { 363 regulator-name = "AUX4"; 364 /* Hammer to 3.3V for the touchscreen */ 365 regulator-min-microvolt = <3300000>; 366 regulator-max-microvolt = <3300000>; 367 }; 368 369 ab8500_ldo_aux5 { 370 regulator-name = "AUX5"; 371 /* 1.8V for the touchscreen */ 372 regulator-min-microvolt = <1800000>; 373 regulator-max-microvolt = <1800000>; 374 }; 375 376 ab8500_ldo_aux6 { 377 regulator-name = "AUX6"; 378 /* Used by sensors for 1.8 V in R0.1+ */ 379 regulator-min-microvolt = <1800000>; 380 regulator-max-microvolt = <1800000>; 381 }; 382 383 ab8500_ldo_aux8 { 384 /* Unused */ 385 regulator-name = "AUX8"; 386 }; 387 }; 388 }; 389 }; 390 391 /* I2C0 */ 392 i2c@80004000 { 393 status = "okay"; 394 395 pinctrl-names = "default", "sleep"; 396 pinctrl-0 = <&i2c0_a_1_default>; 397 pinctrl-1 = <&i2c0_a_1_sleep>; 398 399 proximity@44 { 400 compatible = "sharp,gp2ap002s00f"; 401 clock-frequency = <400000>; 402 reg = <0x44>; 403 404 interrupt-parent = <&gpio4>; 405 interrupts = <18 IRQ_TYPE_EDGE_FALLING>; 406 vdd-supply = <&ab8500_ldo_aux1_reg>; 407 vio-supply = <&ab8500_ldo_aux6_reg>; 408 pinctrl-names = "default"; 409 pinctrl-0 = <&gp2ap002_kyle_default>; 410 sharp,proximity-far-hysteresis = /bits/ 8 <0x2f>; 411 sharp,proximity-close-hysteresis = /bits/ 8 <0x0f>; 412 }; 413 }; 414 415 /* I2C2 */ 416 i2c@80128000 { 417 status = "okay"; 418 419 pinctrl-names = "default", "sleep"; 420 pinctrl-0 = <&i2c2_b_2_default>; 421 pinctrl-1 = <&i2c2_b_2_sleep>; 422 423 accel@18 { 424 compatible = "bosch,bma254"; 425 clock-frequency = <400000>; 426 reg = <0x18>; 427 428 mount-matrix = "-1", "0", "0", 429 "0", "-1", "0", 430 "0", "0", "-1"; 431 vdd-supply = <&ab8500_ldo_aux1_reg>; 432 vddio-supply = <&ab8500_ldo_aux6_reg>; 433 }; 434 }; 435 436 /* I2C3 */ 437 i2c@80110000 { 438 status = "okay"; 439 440 pinctrl-names = "default", "sleep"; 441 pinctrl-0 = <&i2c3_c_2_default>; 442 pinctrl-1 = <&i2c3_c_2_sleep>; 443 444 /* Melfas MMS134S touchscreen */ 445 touchscreen@48 { 446 compatible = "melfas,mms134s"; 447 reg = <0x48>; 448 /* GPIO218 for IRQ */ 449 interrupt-parent = <&gpio6>; 450 interrupts = <26 IRQ_TYPE_EDGE_FALLING>; 451 /* AVDD is "analog supply", 2.57-3.47 V */ 452 avdd-supply = <&ab8500_ldo_aux2_reg>; 453 /* VDD is "digital supply" 1.71-3.47V */ 454 vdd-supply = <&ab8500_ldo_aux5_reg>; 455 456 touchscreen-size-x = <480>; 457 touchscreen-size-y = <800>; 458 459 pinctrl-names = "default"; 460 pinctrl-0 = <&mms134s_kyle_default>; 461 }; 462 }; 463 464 mcde@a0350000 { 465 status = "okay"; 466 pinctrl-names = "default"; 467 pinctrl-0 = <&dsi_default_mode>; 468 469 dsi@a0351000 { 470 panel { 471 /* 472 * NT35510-based Hydis HVA40WV1 473 * Apparently some Kyle models can have a NT35512 fitted 474 * here instead. In that case the boot loader needs to 475 * modify this compatible. 476 */ 477 compatible = "hydis,hva40wv1", "novatek,nt35510"; 478 reg = <0>; 479 /* v_lcd_3v0 2.3-4.8V */ 480 vdd-supply = <&lcd_3v0_reg>; 481 /* v_lcd_1v8 1.65-3.3V */ 482 vddi-supply = <&lcd_1v8_reg>; 483 /* GPIO 139 */ 484 reset-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>; 485 pinctrl-names = "default"; 486 pinctrl-0 = <&display_default_mode>; 487 backlight = <&ktd253>; 488 }; 489 }; 490 }; 491 }; 492}; 493 494&pinctrl { 495 /* 496 * This extends the MC0_A_1 default config to include 497 * the card detect GPIO217 line. 498 */ 499 sdi0 { 500 mc0_a_1_default { 501 default_cfg1 { 502 /* GPIO18, 19 & 20 unused so pull down */ 503 ste,config = <&gpio_in_pd>; 504 }; 505 default_cfg4 { 506 pins = "GPIO217_AH12"; /* card detect */ 507 ste,config = <&gpio_in_pd>; 508 }; 509 }; 510 }; 511 512 mcde { 513 dsi_default_mode: dsi_default { 514 default_mux1 { 515 /* Mux in VSI0 used for DSI TE */ 516 function = "lcd"; 517 groups = "lcdvsi0_a_1"; /* VSI0 for LCD */ 518 }; 519 default_cfg1 { 520 pins = "GPIO68_E1"; /* VSI0 */ 521 ste,config = <&in_nopull>; 522 }; 523 }; 524 }; 525 526 /* Two GPIO lines used by the display */ 527 display { 528 display_default_mode: display_default { 529 kyle_cfg1 { 530 /* 531 * OLED DETECT or check_pba, this appears to be high 532 * on "PBA" which I guess is "prototype board A". 533 */ 534 pins = "GPIO93_B7"; 535 ste,config = <&gpio_in_nopull>; 536 }; 537 kyle_cfg2 { 538 pins = "GPIO139_C9"; 539 /* 540 * MIPI_DSI0_RESET_N resets the display, leave high 541 * (de-asserted) so we only assert reset explicitly 542 * from the display driver. 543 */ 544 ste,config = <&gpio_out_hi>; 545 }; 546 }; 547 }; 548 549 /* GPIO that enables the LDO regulator for the LCD display */ 550 lcd-ldo { 551 lcd_pwr_en_default_mode: lcd_pwr_en_default { 552 /* LCD_PWR_EN on GPIO219 */ 553 kyle_cfg1 { 554 pins = "GPIO219_AG10"; 555 ste,config = <&gpio_out_hi>; 556 }; 557 }; 558 }; 559 560 backlight { 561 gpio_backlight_default_mode: backlight_default { 562 kyle_cfg1 { 563 pins = "GPIO69_E2"; /* LCD_BL_CTRL */ 564 ste,config = <&gpio_out_lo>; 565 }; 566 }; 567 }; 568 flash { 569 gpio_flash_default_mode: flash_default { 570 kyle_cfg1 { 571 pins = "GPIO140_B11", "GPIO141_C12"; 572 ste,config = <&gpio_out_lo>; 573 }; 574 }; 575 }; 576 /* GPIO that enables the 2.9V SD card level translator */ 577 sd-level-translator { 578 sd_level_translator_default: sd_level_translator_default { 579 /* level shifter on GPIO87 */ 580 kyle_cfg1 { 581 pins = "GPIO87_B3"; 582 ste,config = <&gpio_out_hi>; 583 }; 584 }; 585 }; 586 /* GPIO that enables the LDO regulator for the eMMC */ 587 emmc-ldo { 588 emmc_ldo_en_default_mode: emmc_ldo_default { 589 /* LDO enable on GPIO223 */ 590 kyle_cfg1 { 591 pins = "GPIO223_AH9"; 592 ste,config = <&gpio_out_hi>; 593 }; 594 }; 595 }; 596 /* GPIO keys */ 597 gpio-keys { 598 gpio_keys_default_mode: gpio_keys_default { 599 kyle_cfg1 { 600 pins = "GPIO67_G2", /* VOL UP */ 601 "GPIO91_B6", /* HOME */ 602 "GPIO92_D6"; /* VOL DOWN */ 603 ste,config = <&gpio_in_pu>; 604 }; 605 }; 606 }; 607 /* Interrupt line for light/proximity sensor GP2AP002 */ 608 gp2ap002 { 609 gp2ap002_kyle_default: gp2ap002_kyle { 610 kyle_cfg1 { 611 pins = "GPIO146_D13"; 612 ste,config = <&gpio_in_nopull>; 613 }; 614 }; 615 }; 616 /* GPIO-based I2C bus for NCP6914 */ 617 i2c-gpio-0 { 618 i2c_gpio_0_default: i2c_gpio_0 { 619 kyle_cfg1 { 620 pins = "GPIO143_D12", "GPIO144_B13"; 621 ste,config = <&gpio_in_nopull>; 622 }; 623 }; 624 }; 625 /* GPIO-based I2C bus for ALPS HSCD compass */ 626 i2c-gpio-1 { 627 i2c_gpio_1_default: i2c_gpio_1 { 628 kyle_cfg1 { 629 pins = "GPIO151_B17", "GPIO152_D16"; 630 ste,config = <&gpio_in_nopull>; 631 }; 632 }; 633 }; 634 wlan { 635 wlan_default_mode: wlan_default { 636 kyle_cfg1 { 637 pins = "GPIO216_AG12"; 638 ste,config = <&gpio_in_pd>; 639 }; 640 }; 641 wlan_en_default_mode: wlan_en_default { 642 kyle_cfg2 { 643 pins = "GPIO215_AH13"; 644 ste,config = <&gpio_out_lo>; 645 }; 646 }; 647 }; 648 bluetooth { 649 bluetooth_default_mode: bluetooth_default { 650 kyle_cfg1 { 651 pins = "GPIO199_AH23", "GPIO222_AJ9"; 652 ste,config = <&gpio_out_lo>; 653 }; 654 kyle_cfg2 { 655 pins = "GPIO97_D9"; 656 ste,config = <&gpio_in_nopull>; 657 }; 658 }; 659 }; 660 vibrator { 661 vibrator_default: vibrator_default { 662 kyle_cfg1 { 663 pins = "GPIO195_AG28"; /* MOT_EN */ 664 ste,config = <&gpio_out_lo>; 665 }; 666 }; 667 }; 668 /* Interrupt line for the Melfas MMS134S touchscreen */ 669 touchscreen { 670 mms134s_kyle_default: mms134s_kyle { 671 kyle_cfg1 { 672 pins = "GPIO218_AH11"; 673 ste,config = <&gpio_in_nopull>; 674 }; 675 }; 676 }; 677}; 678 679&ab8505_gpio { 680 /* Hog a few default settings */ 681 pinctrl-names = "default"; 682 pinctrl-0 = <&gpio_default>; 683 684 gpio { 685 gpio_default: gpio_default { 686 kyle_mux { 687 /* Change unused pins to GPIO mode */ 688 function = "gpio"; 689 groups = "gpio3_a_1", /* default: SysClkReq4 */ 690 "gpio14_a_1"; /* default: PWMOut1 */ 691 }; 692 kyle_cfg1 { 693 pins = "GPIO11_B17", "GPIO13_D17", "GPIO50_L4"; 694 bias-disable; 695 }; 696 }; 697 }; 698}; 699