imx6ul-phytec-segin-peb-wlbt-05.dtsi 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Copyright (C) 2021 PHYTEC Messtechnik GmbH
  4. * Author: Yunus Bas <[email protected]>
  5. */
  6. #include <dt-bindings/gpio/gpio.h>
  7. #include <dt-bindings/interrupt-controller/irq.h>
  8. / {
  9. reg_wl_en: regulator-wl-en {
  10. compatible = "regulator-fixed";
  11. regulator-name = "wlan_en";
  12. regulator-min-microvolt = <3300000>;
  13. regulator-max-microvolt = <3300000>;
  14. pinctrl-names = "default";
  15. pinctrl-0 = <&pinctrl_wl>;
  16. gpio = <&gpio5 9 GPIO_ACTIVE_HIGH>;
  17. enable-active-high;
  18. startup-delay-us = <100>;
  19. status = "disabled";
  20. };
  21. };
  22. &iomuxc {
  23. pinctrl_bt: btgrp {
  24. fsl,pins = <
  25. MX6UL_PAD_GPIO1_IO01__GPIO1_IO01 0x3031 /* BT ENABLE */
  26. MX6UL_PAD_GPIO1_IO03__GPIO1_IO03 0x3031 /* HOST WAKEUP */
  27. MX6UL_PAD_JTAG_MOD__GPIO1_IO10 0x3031 /* DEV WAKEUP */
  28. >;
  29. };
  30. pinctrl_uart2_bt: uart2grp-bt {
  31. fsl,pins = <
  32. MX6UL_PAD_UART2_TX_DATA__UART2_DCE_TX 0x17059
  33. MX6UL_PAD_UART2_RX_DATA__UART2_DCE_RX 0x17059
  34. MX6UL_PAD_UART2_CTS_B__UART2_DCE_CTS 0x17059
  35. MX6UL_PAD_UART2_RTS_B__UART2_DCE_RTS 0x17059
  36. >;
  37. };
  38. pinctrl_usdhc2_wl: usdhc2grp-wl {
  39. fsl,pins = <
  40. MX6UL_PAD_LCD_DATA18__USDHC2_CMD 0x10051
  41. MX6UL_PAD_LCD_DATA19__USDHC2_CLK 0x10061
  42. MX6UL_PAD_LCD_DATA20__USDHC2_DATA0 0x10051
  43. MX6UL_PAD_LCD_DATA21__USDHC2_DATA1 0x10051
  44. MX6UL_PAD_LCD_DATA22__USDHC2_DATA2 0x10051
  45. MX6UL_PAD_LCD_DATA23__USDHC2_DATA3 0x10051
  46. >;
  47. };
  48. pinctrl_wl: wlgrp {
  49. fsl,pins = <
  50. MX6UL_PAD_SNVS_TAMPER9__GPIO5_IO09 0x3031 /* WLAN ENABLE */
  51. >;
  52. };
  53. };
  54. &uart2 {
  55. pinctrl-names = "default";
  56. pinctrl-0 = <&pinctrl_uart2_bt &pinctrl_bt>;
  57. uart-has-rtscts;
  58. status = "disabled";
  59. bluetooth {
  60. compatible = "brcm,bcm43438-bt";
  61. shutdown-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
  62. device-wakeup-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
  63. host-wakeup-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
  64. };
  65. };
  66. &usdhc2 {
  67. #address-cells = <1>;
  68. #size-cells = <0>;
  69. pinctrl-names = "default";
  70. pinctrl-0 = <&pinctrl_usdhc2_wl>;
  71. vmmc-supply = <&reg_wl_en>;
  72. bus-width = <4>;
  73. non-removable;
  74. no-1-8-v;
  75. status = "disabled";
  76. brmcf: wifi@1 {
  77. compatible = "brcm,bcm4329-fmac";
  78. reg = <1>;
  79. };
  80. };