1// SPDX-License-Identifier: GPL-2.0 2/* 3 * dts file for Hisilicon HiKey960 Development Board 4 * 5 * Copyright (C) 2016, Hisilicon Ltd. 6 * 7 */ 8 9/dts-v1/; 10 11#include "hi3660.dtsi" 12#include "hikey960-pinctrl.dtsi" 13#include "hi3660-drm.dtsi" 14#include "hi3660-gpu.dtsi" 15 16#include <dt-bindings/gpio/gpio.h> 17#include <dt-bindings/input/input.h> 18#include <dt-bindings/interrupt-controller/irq.h> 19#include <dt-bindings/usb/pd.h> 20 21/ { 22 model = "HiKey960"; 23 compatible = "hisilicon,hi3660-hikey960", "hisilicon,hi3660"; 24 25 aliases { 26 mshc1 = &dwmmc1; 27 mshc2 = &dwmmc2; 28 serial0 = &uart0; 29 serial1 = &uart1; 30 serial2 = &uart2; 31 serial3 = &uart3; 32 serial4 = &uart4; 33 serial5 = &uart5; 34 serial6 = &uart6; 35 }; 36 37 chosen { 38 stdout-path = "serial6:115200n8"; 39 }; 40 41 memory@0 { 42 device_type = "memory"; 43 /* rewrite this at bootloader */ 44 reg = <0x0 0x0 0x0 0x0>; 45 }; 46 47 reserved-memory { 48 #address-cells = <2>; 49 #size-cells = <2>; 50 ranges; 51 52 fastboot_cma: fastboot-cma-mem { 53 reg = <0x0 0x16c00000 0x0 0x4000000>; 54 compatible = "shared-dma-pool"; 55 hisi,cma-sec; 56 reusable; 57 }; 58 59 uefi-reboot-mode { 60 reg = <0x0 0x32100000 0x0 0x00001000>; 61 no-map; 62 }; 63 64 bl31 { 65 reg = <0x0 0x20200000 0x0 0x200000>; 66 no-map; 67 }; 68 69 ramoops@32000000 { 70 compatible = "ramoops"; 71 reg = <0x0 0x32000000 0x0 0x00100000>; 72 record-size = <0x00020000>; 73 console-size = <0x00020000>; 74 ftrace-size = <0x00020000>; 75 }; 76 77 /* global autoconfigured region for contiguous allocations */ 78 linux,cma { 79 compatible = "shared-dma-pool"; 80 reg = <0x0 0x20C00000 0x0 0x4000000>; 81 reusable; 82 linux,cma-default; 83 }; 84 }; 85 86 reboot-mode-syscon@32100000 { 87 compatible = "syscon", "simple-mfd"; 88 reg = <0x0 0x32100000 0x0 0x00001000>; 89 90 reboot-mode { 91 compatible = "syscon-reboot-mode"; 92 offset = <0x0>; 93 94 mode-normal = <0x77665501>; 95 mode-bootloader = <0x77665500>; 96 mode-recovery = <0x77665502>; 97 }; 98 }; 99 100 keys { 101 compatible = "gpio-keys"; 102 pinctrl-names = "default"; 103 pinctrl-0 = <&pwr_key_pmx_func &pwr_key_cfg_func>; 104 105 power { 106 wakeup-source; 107 gpios = <&gpio4 2 GPIO_ACTIVE_LOW>; 108 label = "GPIO Power"; 109 linux,code = <KEY_POWER>; 110 }; 111 }; 112 113 leds { 114 compatible = "gpio-leds"; 115 116 user_led1 { 117 label = "green:user1"; 118 /* gpio_150_user_led1 */ 119 gpios = <&gpio18 6 0>; 120 linux,default-trigger = "heartbeat"; 121 }; 122 123 user_led2 { 124 label = "green:user2"; 125 /* gpio_151_user_led2 */ 126 gpios = <&gpio18 7 0>; 127 linux,default-trigger = "none"; 128 }; 129 130 user_led3 { 131 label = "green:user3"; 132 /* gpio_189_user_led3 */ 133 gpios = <&gpio23 5 0>; 134 linux,default-trigger = "mmc0"; 135 }; 136 137 user_led4 { 138 label = "green:user4"; 139 /* gpio_190_user_led4 */ 140 gpios = <&gpio23 6 0>; 141 panic-indicator; 142 linux,default-trigger = "none"; 143 }; 144 145 wlan_active_led { 146 label = "yellow:wlan"; 147 /* gpio_205_wifi_active */ 148 gpios = <&gpio25 5 0>; 149 linux,default-trigger = "phy0tx"; 150 default-state = "off"; 151 }; 152 153 bt_active_led { 154 label = "blue:bt"; 155 gpios = <&gpio25 7 0>; 156 /* gpio_207_user_led1 */ 157 linux,default-trigger = "hci0-power"; 158 default-state = "off"; 159 }; 160 }; 161 162 pmic: pmic@fff34000 { 163 compatible = "hisilicon,hi6421v530-pmic"; 164 reg = <0x0 0xfff34000 0x0 0x1000>; 165 interrupt-controller; 166 #interrupt-cells = <2>; 167 168 regulators { 169 ldo3: LDO3 { /* HDMI */ 170 regulator-name = "VOUT3_1V85"; 171 regulator-min-microvolt = <1800000>; 172 regulator-max-microvolt = <2200000>; 173 regulator-enable-ramp-delay = <120>; 174 }; 175 176 ldo9: LDO9 { /* SDCARD I/O */ 177 regulator-name = "VOUT9_1V8_2V95"; 178 regulator-min-microvolt = <1750000>; 179 regulator-max-microvolt = <3300000>; 180 regulator-enable-ramp-delay = <240>; 181 }; 182 183 ldo11: LDO11 { /* Low Speed Connector */ 184 regulator-name = "VOUT11_1V8_2V95"; 185 regulator-min-microvolt = <1750000>; 186 regulator-max-microvolt = <3300000>; 187 regulator-enable-ramp-delay = <240>; 188 }; 189 190 ldo15: LDO15 { /* UFS VCC */ 191 regulator-name = "VOUT15_3V0"; 192 regulator-min-microvolt = <1750000>; 193 regulator-max-microvolt = <3000000>; 194 regulator-boot-on; 195 regulator-always-on; 196 regulator-enable-ramp-delay = <120>; 197 }; 198 199 ldo16: LDO16 { /* SD VDD */ 200 regulator-name = "VOUT16_2V95"; 201 regulator-min-microvolt = <1750000>; 202 regulator-max-microvolt = <3000000>; 203 regulator-enable-ramp-delay = <360>; 204 }; 205 }; 206 }; 207 208 wlan_en: wlan-en-1-8v { 209 compatible = "regulator-fixed"; 210 regulator-name = "wlan-en-regulator"; 211 regulator-min-microvolt = <1800000>; 212 regulator-max-microvolt = <1800000>; 213 214 /* GPIO_051_WIFI_EN */ 215 gpio = <&gpio6 3 0>; 216 217 /* WLAN card specific delay */ 218 startup-delay-us = <70000>; 219 enable-active-high; 220 }; 221 222 firmware { 223 optee { 224 compatible = "linaro,optee-tz"; 225 method = "smc"; 226 }; 227 }; 228 229 hisi_hikey_usb: hisi_hikey_usb { 230 compatible = "hisilicon,gpio_hubv1"; 231 typec-vbus-gpios = <&gpio25 2 GPIO_ACTIVE_HIGH>; 232 otg-switch-gpios = <&gpio25 6 GPIO_ACTIVE_HIGH>; 233 hub-vdd33-en-gpios = <&gpio5 6 GPIO_ACTIVE_HIGH>; 234 pinctrl-names = "default"; 235 pinctrl-0 = <&usbhub5734_pmx_func>; 236 usb-role-switch; 237 238 port { 239 #address-cells = <1>; 240 #size-cells = <0>; 241 242 hikey_usb_ep0: endpoint@0 { 243 reg = <0>; 244 remote-endpoint = <&dwc3_role_switch>; 245 }; 246 hikey_usb_ep1: endpoint@1 { 247 reg = <1>; 248 remote-endpoint = <&rt1711h_ep>; 249 }; 250 }; 251 }; 252 253 i2s2: hi3660_i2s { 254 compatible = "hisilicon,hi3660-i2s-1.0"; 255 reg = <0x0 0xe804f800 0x0 0x400>, 256 <0x0 0xe804e000 0x0 0x400>; 257 pinctrl-names = "default"; 258 pinctrl-0 = <&i2s2_pmx_func &i2s2_cfg_func>; 259 dmas = <&asp_dmac 18 &asp_dmac 19>; 260 dma-names = "rx", "tx"; 261 #sound-dai-cells = <0>; 262 }; 263 264 sound { 265 compatible = "simple-audio-card"; 266 simple-audio-card,name = "hikey-hdmi"; 267 simple-audio-card,format = "i2s"; 268 269 simple-audio-card,bitclock-master = <&sound_master>; 270 simple-audio-card,frame-master = <&sound_master>; 271 272 sound_master: simple-audio-card,cpu { 273 sound-dai = <&i2s2>; 274 }; 275 276 simple-audio-card,codec { 277 sound-dai = <&adv7533>; 278 }; 279 }; 280 281}; 282 283/* 284 * Legend: proper name = the GPIO line is used as GPIO 285 * NC = not connected (pin out but not routed from the chip to 286 * anything the board) 287 * "[PER]" = pin is muxed for [peripheral] (not GPIO) 288 * "" = no idea, schematic doesn't say, could be 289 * unrouted (not connected to any external pin) 290 * LSEC = Low Speed External Connector 291 * HSEC = High Speed External Connector 292 * 293 * Line names are taken from "HiKey 960 Board ver A" schematics 294 * from Huawei. The 40 pin low speed expansion connector is named 295 * J2002 63453-140LF. 296 * 297 * For the lines routed to the external connectors the 298 * lines are named after the 96Boards CE Specification 1.0, 299 * Appendix "Expansion Connector Signal Description". 300 * 301 * When the 96Board naming of a line and the schematic name of 302 * the same line are in conflict, the 96Board specification 303 * takes precedence, which means that the external UART on the 304 * LSEC is named UART0 while the schematic and SoC names this 305 * UART3. This is only for the informational lines i.e. "[FOO]", 306 * the GPIO named lines "GPIO-A" thru "GPIO-L" are the only 307 * ones actually used for GPIO. 308 */ 309&gpio0 { 310 /* GPIO_000-GPIO_007 */ 311 gpio-line-names = 312 "", 313 "TP901", /* TEST_MODE connected to TP901 */ 314 "[PMU0_SSI]", 315 "[PMU1_SSI]", 316 "[PMU2_SSI]", 317 "[PMU0_CLKOUT]", 318 "[JTAG_TCK]", 319 "[JTAG_TMS]"; 320}; 321 322&gpio1 { 323 /* GPIO_008-GPIO_015 */ 324 gpio-line-names = 325 "[JTAG_TRST_N]", 326 "[JTAG_TDI]", 327 "[JTAG_TDO]", 328 "NC", "NC", 329 "[I2C3_SCL]", 330 "[I2C3_SDA]", 331 "NC"; 332}; 333 334&gpio2 { 335 /* GPIO_016-GPIO_023 */ 336 gpio-line-names = 337 "NC", "NC", "NC", 338 "GPIO-J", /* LSEC pin 32: GPIO_019 */ 339 "GPIO_020_HDMI_SEL", 340 "GPIO-L", /* LSEC pin 34: GPIO_021 */ 341 "GPIO_022_UFSBUCK_INT_N", 342 "GPIO-G"; /* LSEC pin 29: LCD_TE0 */ 343}; 344 345&gpio3 { 346 /* GPIO_024-GPIO_031 */ 347 /* The rail from pin BK36 is named LCD_TE0, we assume to be muxed as GPIO for GPIO-G */ 348 gpio-line-names = 349 "[CSI0_MCLK]", /* HSEC pin 15: ISP_CCLK0_MCAM */ 350 "[CSI1_MCLK]", /* HSEC pin 17: ISP_CCLK1_SCAM */ 351 "NC", 352 "[I2C2_SCL]", /* HSEC pin 32: ISP_SCL0 */ 353 "[I2C2_SDA]", /* HSEC pin 34: ISP_SDA0 */ 354 "[I2C3_SCL]", /* HSEC pin 36: ISP_SCL1 */ 355 "[I2C3_SDA]", /* HSEC pin 38: ISP_SDA1 */ 356 "NC"; 357}; 358 359&gpio4 { 360 /* GPIO_032-GPIO_039 */ 361 gpio-line-names = 362 "NC", "NC", 363 "PWR_BTN_N", /* LSEC pin 4: GPIO_034_PWRON_DET */ 364 "GPIO_035_PMU2_EN", 365 "GPIO_036_USB_HUB_RESET", 366 "NC", "NC", "NC"; 367}; 368 369&gpio5 { 370 /* GPIO_040-GPIO_047 */ 371 gpio-line-names = 372 "GPIO-H", /* LSEC pin 30: GPIO_040_LCD_RST_N */ 373 "GPIO_041_HDMI_PD", 374 "TP904", /* Test point */ 375 "TP905", /* Test point */ 376 "NC", "NC", 377 "GPIO_046_HUB_VDD33_EN", 378 "GPIO_047_PMU1_EN"; 379}; 380 381&gpio6 { 382 /* GPIO_048-GPIO_055 */ 383 gpio-line-names = 384 "NC", "NC", "NC", 385 "GPIO_051_WIFI_EN", 386 "GPIO-I", /* LSEC pin 31: GPIO_052_CAM0_RST_N */ 387 /* 388 * These two pins should be used for SD(IO) data according to the 389 * 96boards specification but seems to be repurposed for a IRDA UART. 390 * They are however named according to the spec. 391 */ 392 "[SD_DAT1]", /* HSEC pin 3: UART0_IRDA_RXD */ 393 "[SD_DAT2]", /* HSEC pin 5: UART0_IRDA_TXD */ 394 "[UART1_RXD]"; /* LSEC pin 13: DEBUG_UART6_RXD */ 395}; 396 397&gpio7 { 398 /* GPIO_056-GPIO_063 */ 399 gpio-line-names = 400 "[UART1_TXD]", /* LSEC pin 11: DEBUG_UART6_TXD */ 401 "[UART0_CTS]", /* LSEC pin 3: UART3_CTS_N */ 402 "[UART0_RTS]", /* LSEC pin 9: UART3_RTS_N */ 403 "[UART0_RXD]", /* LSEC pin 7: UART3_RXD */ 404 "[UART0_TXD]", /* LSEC pin 5: UART3_TXD */ 405 "[SOC_BT_UART4_CTS_N]", 406 "[SOC_BT_UART4_RTS_N]", 407 "[SOC_BT_UART4_RXD]"; 408}; 409 410&gpio8 { 411 /* GPIO_064-GPIO_071 */ 412 gpio-line-names = 413 "[SOC_BT_UART4_TXD]", 414 "NC", 415 "[PMU_HKADC_SSI]", 416 "NC", 417 "GPIO_068_SEL", 418 "NC", "NC", "NC"; 419 420}; 421 422&gpio9 { 423 /* GPIO_072-GPIO_079 */ 424 gpio-line-names = 425 "NC", "NC", "NC", 426 "GPIO-K", /* LSEC pin 33: GPIO_075_CAM1_RST_N */ 427 "NC", "NC", "NC", "NC"; 428}; 429 430&gpio10 { 431 /* GPIO_080-GPIO_087 */ 432 gpio-line-names = "NC", "NC", "NC", "NC", "NC", "NC", "NC", "NC"; 433}; 434 435&gpio11 { 436 /* GPIO_088-GPIO_095 */ 437 gpio-line-names = 438 "NC", 439 "[PCIE_PERST_N]", 440 "NC", "NC", "NC", "NC", "NC", "NC"; 441}; 442 443&gpio12 { 444 /* GPIO_096-GPIO_103 */ 445 gpio-line-names = "NC", "NC", "NC", "", "", "", "", "NC"; 446}; 447 448&gpio13 { 449 /* GPIO_104-GPIO_111 */ 450 gpio-line-names = "NC", "NC", "NC", "NC", "NC", "NC", "NC", "NC"; 451}; 452 453&gpio14 { 454 /* GPIO_112-GPIO_119 */ 455 gpio-line-names = "NC", "NC", "NC", "NC", "NC", "NC", "NC", "NC"; 456}; 457 458&gpio15 { 459 /* GPIO_120-GPIO_127 */ 460 gpio-line-names = 461 "NC", "NC", "NC", "NC", "NC", "NC", 462 "GPIO_126_BT_EN", 463 "TP902"; /* GPIO_127_JTAG_SEL0 */ 464}; 465 466&gpio16 { 467 /* GPIO_128-GPIO_135 */ 468 gpio-line-names = "", "", "", "", "", "", "", ""; 469}; 470 471&gpio17 { 472 /* GPIO_136-GPIO_143 */ 473 gpio-line-names = "", "", "", "", "", "", "", ""; 474}; 475 476&gpio18 { 477 /* GPIO_144-GPIO_151 */ 478 gpio-line-names = 479 "[UFS_REF_CLK]", 480 "[UFS_RST_N]", 481 "[SPI1_SCLK]", /* HSEC pin 9: GPIO_146_SPI3_CLK */ 482 "[SPI1_DIN]", /* HSEC pin 11: GPIO_147_SPI3_DI */ 483 "[SPI1_DOUT]", /* HSEC pin 1: GPIO_148_SPI3_DO */ 484 "[SPI1_CS]", /* HSEC pin 7: GPIO_149_SPI3_CS0_N */ 485 "GPIO_150_USER_LED1", 486 "GPIO_151_USER_LED2"; 487}; 488 489&gpio19 { 490 /* GPIO_152-GPIO_159 */ 491 gpio-line-names = "NC", "NC", "NC", "NC", "", "", "", ""; 492}; 493 494&gpio20 { 495 /* GPIO_160-GPIO_167 */ 496 gpio-line-names = 497 "[SD_CLK]", 498 "[SD_CMD]", 499 "[SD_DATA0]", 500 "[SD_DATA1]", 501 "[SD_DATA2]", 502 "[SD_DATA3]", 503 "", ""; 504}; 505 506&gpio21 { 507 /* GPIO_168-GPIO_175 */ 508 gpio-line-names = 509 "[WL_SDIO_CLK]", 510 "[WL_SDIO_CMD]", 511 "[WL_SDIO_DATA0]", 512 "[WL_SDIO_DATA1]", 513 "[WL_SDIO_DATA2]", 514 "[WL_SDIO_DATA3]", 515 "", ""; 516}; 517 518&gpio22 { 519 /* GPIO_176-GPIO_183 */ 520 gpio-line-names = 521 "[GPIO_176_PMU_PWR_HOLD]", 522 "NA", 523 "[SYSCLK_EN]", 524 "GPIO_179_WL_WAKEUP_AP", 525 "GPIO_180_HDMI_INT", 526 "NA", 527 "GPIO-F", /* LSEC pin 28: LCD_BL_PWM */ 528 "[I2C0_SCL]"; /* LSEC pin 15 */ 529}; 530 531&gpio23 { 532 /* GPIO_184-GPIO_191 */ 533 gpio-line-names = 534 "[I2C0_SDA]", /* LSEC pin 17 */ 535 "[I2C1_SCL]", /* Actual SoC I2C1 */ 536 "[I2C1_SDA]", /* Actual SoC I2C1 */ 537 "[I2C1_SCL]", /* LSEC pin 19: I2C7_SCL */ 538 "[I2C1_SDA]", /* LSEC pin 21: I2C7_SDA */ 539 "GPIO_189_USER_LED3", 540 "GPIO_190_USER_LED4", 541 ""; 542}; 543 544&gpio24 { 545 /* GPIO_192-GPIO_199 */ 546 gpio-line-names = 547 "[PCM_DI]", /* LSEC pin 22: GPIO_192_I2S0_DI */ 548 "[PCM_DO]", /* LSEC pin 20: GPIO_193_I2S0_DO */ 549 "[PCM_CLK]", /* LSEC pin 18: GPIO_194_I2S0_XCLK */ 550 "[PCM_FS]", /* LSEC pin 16: GPIO_195_I2S0_XFS */ 551 "[GPIO_196_I2S2_DI]", 552 "[GPIO_197_I2S2_DO]", 553 "[GPIO_198_I2S2_XCLK]", 554 "[GPIO_199_I2S2_XFS]"; 555}; 556 557&gpio25 { 558 /* GPIO_200-GPIO_207 */ 559 gpio-line-names = 560 "NC", 561 "NC", 562 "GPIO_202_VBUS_TYPEC", 563 "GPIO_203_SD_DET", 564 "GPIO_204_PMU12_IRQ_N", 565 "GPIO_205_WIFI_ACTIVE", 566 "GPIO_206_USBSW_SEL", 567 "GPIO_207_BT_ACTIVE"; 568}; 569 570&gpio26 { 571 /* GPIO_208-GPIO_215 */ 572 gpio-line-names = 573 "GPIO-A", /* LSEC pin 23: GPIO_208 */ 574 "GPIO-B", /* LSEC pin 24: GPIO_209 */ 575 "GPIO-C", /* LSEC pin 25: GPIO_210 */ 576 "GPIO-D", /* LSEC pin 26: GPIO_211 */ 577 "GPIO-E", /* LSEC pin 27: GPIO_212 */ 578 "[PCIE_CLKREQ_N]", 579 "[PCIE_WAKE_N]", 580 "[SPI0_CLK]"; /* LSEC pin 8: SPI2_CLK */ 581}; 582 583&gpio27 { 584 /* GPIO_216-GPIO_223 */ 585 gpio-line-names = 586 "[SPI0_DIN]", /* LSEC pin 10: SPI2_DI */ 587 "[SPI0_DOUT]", /* LSEC pin 14: SPI2_DO */ 588 "[SPI0_CS]", /* LSEC pin 12: SPI2_CS0_N */ 589 "GPIO_219_CC_INT", 590 "NC", 591 "NC", 592 "[PMU_INT]", 593 ""; 594}; 595 596&gpio28 { 597 /* GPIO_224-GPIO_231 */ 598 gpio-line-names = 599 "", "", "", "", "", "", "", ""; 600}; 601 602&i2c0 { 603 /* On Low speed expansion */ 604 label = "LS-I2C0"; 605 status = "okay"; 606}; 607 608&i2c1 { 609 status = "okay"; 610 611 rt1711h: rt1711h@4e { 612 compatible = "richtek,rt1711h"; 613 reg = <0x4e>; 614 status = "ok"; 615 interrupt-parent = <&gpio27>; 616 interrupts = <3 IRQ_TYPE_LEVEL_LOW>; 617 pinctrl-names = "default"; 618 pinctrl-0 = <&usb_cfg_func>; 619 620 usb_con: connector { 621 compatible = "usb-c-connector"; 622 label = "USB-C"; 623 data-role = "dual"; 624 power-role = "dual"; 625 try-power-role = "sink"; 626 source-pdos = <PDO_FIXED(5000, 500, PDO_FIXED_USB_COMM)>; 627 sink-pdos = <PDO_FIXED(5000, 500, PDO_FIXED_USB_COMM) 628 PDO_VAR(5000, 5000, 1000)>; 629 op-sink-microwatt = <10000000>; 630 631 ports { 632 #address-cells = <1>; 633 #size-cells = <0>; 634 port@1 { 635 reg = <1>; 636 usb_con_ss: endpoint { 637 remote-endpoint = <&dwc3_ss>; 638 }; 639 }; 640 }; 641 }; 642 port { 643 #address-cells = <1>; 644 #size-cells = <0>; 645 646 rt1711h_ep: endpoint@0 { 647 reg = <0>; 648 remote-endpoint = <&hikey_usb_ep1>; 649 }; 650 }; 651 }; 652 653 adv7533: adv7533@39 { 654 status = "ok"; 655 compatible = "adi,adv7533"; 656 reg = <0x39>; 657 v1p2-supply = <&ldo3>; 658 vdd-supply = <&ldo3>; 659 interrupt-parent = <&gpio1>; 660 interrupts = <1 2>; 661 pd-gpio = <&gpio5 1 0>; 662 sel-gpio = <&gpio2 4 0>; 663 adi,dsi-lanes = <4>; 664 adi,disable-timing-generator; 665 #sound-dai-cells = <0>; 666 ports { 667 #address-cells = <1>; 668 #size-cells = <0>; 669 port@0 { 670 reg = <0>; 671 adv7533_in: endpoint@0 { 672 remote-endpoint = <&dsi_out0>; 673 }; 674 }; 675 port@1 { 676 reg = <1>; 677 }; 678 }; 679 }; 680 681}; 682 683&i2c7 { 684 /* On Low speed expansion */ 685 label = "LS-I2C1"; 686 status = "okay"; 687}; 688 689&uart3 { 690 /* On Low speed expansion */ 691 label = "LS-UART0"; 692 status = "okay"; 693}; 694 695&uart4 { 696 status = "okay"; 697 698 bluetooth { 699 compatible = "ti,wl1837-st"; 700 enable-gpios = <&gpio15 6 GPIO_ACTIVE_HIGH>; 701 max-speed = <3000000>; 702 }; 703}; 704 705&uart6 { 706 /* On Low speed expansion */ 707 label = "LS-UART1"; 708 status = "okay"; 709}; 710 711&spi2 { 712 /* On Low speed expansion */ 713 label = "LS-SPI0"; 714 status = "okay"; 715}; 716 717&spi3 { 718 /* On High speed expansion */ 719 label = "HS-SPI1"; 720 status = "okay"; 721}; 722 723&dwmmc1 { 724 bus-width = <0x4>; 725 cap-sd-highspeed; 726 sd-uhs-sdr12; 727 sd-uhs-sdr25; 728 sd-uhs-sdr50; 729 sd-uhs-sdr104; 730 disable-wp; 731 cd-gpios = <&gpio25 3 GPIO_ACTIVE_LOW>; 732 pinctrl-names = "default"; 733 pinctrl-0 = <&sd_pmx_func 734 &sd_clk_cfg_func 735 &sd_cfg_func>; 736 vmmc-supply = <&ldo16>; 737 vqmmc-supply = <&ldo9>; 738 status = "okay"; 739}; 740 741&dwmmc2 { /* WIFI */ 742 bus-width = <0x4>; 743 non-removable; 744 broken-cd; 745 cap-power-off-card; 746 pinctrl-names = "default"; 747 pinctrl-0 = <&sdio_pmx_func 748 &sdio_clk_cfg_func 749 &sdio_cfg_func>; 750 /* WL_EN */ 751 vmmc-supply = <&wlan_en>; 752 status = "ok"; 753 754 wlcore: wlcore@2 { 755 compatible = "ti,wl1837"; 756 reg = <2>; /* sdio func num */ 757 /* WL_IRQ, GPIO_179_WL_WAKEUP_AP */ 758 interrupt-parent = <&gpio22>; 759 interrupts = <3 IRQ_TYPE_EDGE_RISING>; 760 }; 761}; 762