~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/ti/omap/am335x-sancloud-bbe-extended-wifi.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0-only
  2 /*
  3  * Copyright (C) 2021 Sancloud Ltd
  4  * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
  5  */
  6 /dts-v1/;
  7 
  8 #include "am33xx.dtsi"
  9 #include "am335x-bone-common.dtsi"
 10 #include "am335x-boneblack-common.dtsi"
 11 #include "am335x-sancloud-bbe-common.dtsi"
 12 #include <dt-bindings/interrupt-controller/irq.h>
 13 
 14 / {
 15         model = "SanCloud BeagleBone Enhanced Extended WiFi";
 16         compatible = "sancloud,am335x-boneenhanced",
 17                      "ti,am335x-bone-black",
 18                      "ti,am335x-bone",
 19                      "ti,am33xx";
 20 
 21         wlan_en_reg: fixedregulator@2 {
 22                 compatible = "regulator-fixed";
 23                 regulator-name = "wlan-en-regulator";
 24                 regulator-min-microvolt = <3300000>;
 25                 regulator-max-microvolt = <3300000>;
 26                 startup-delay-us = <100000>;
 27         };
 28 };
 29 
 30 &am33xx_pinmux {
 31         mmc3_pins: mmc3-pins {
 32                 pinctrl-single,pins = <
 33                         /* gpmc_a9.gpio1_25: RADIO_EN */
 34                         AM33XX_PADCONF(AM335X_PIN_GPMC_A9, PIN_OUTPUT_PULLUP, MUX_MODE7)
 35 
 36                         /* gpmc_ad12.mmc2_dat0 */
 37                         AM33XX_PADCONF(AM335X_PIN_GPMC_AD12, PIN_INPUT_PULLUP, MUX_MODE3)
 38 
 39                         /* gpmc_ad13.mmc2_dat1 */
 40                         AM33XX_PADCONF(AM335X_PIN_GPMC_AD13, PIN_INPUT_PULLUP, MUX_MODE3)
 41 
 42                         /* gpmc_ad14.mmc2_dat2 */
 43                         AM33XX_PADCONF(AM335X_PIN_GPMC_AD14, PIN_INPUT_PULLUP, MUX_MODE3)
 44 
 45                         /* gpmc_ad15.mmc2_dat3 */
 46                         AM33XX_PADCONF(AM335X_PIN_GPMC_AD15, PIN_INPUT_PULLUP, MUX_MODE3)
 47 
 48                         /* gpmc_csn3.mmc2_cmd */
 49                         AM33XX_PADCONF(AM335X_PIN_GPMC_CSN3, PIN_INPUT_PULLUP, MUX_MODE3)
 50 
 51                         /* gpmc_clk.mmc2_clk */
 52                         AM33XX_PADCONF(AM335X_PIN_GPMC_CLK, PIN_INPUT_PULLUP, MUX_MODE3)
 53                 >;
 54         };
 55 
 56         bluetooth_pins: bluetooth-pins {
 57                 pinctrl-single,pins = <
 58                         /* event_intr0.gpio0_19 */
 59                         AM33XX_PADCONF(AM335X_PIN_XDMA_EVENT_INTR0, PIN_INPUT_PULLUP, MUX_MODE7)
 60                 >;
 61         };
 62 
 63         uart1_pins: uart1-pins {
 64                 pinctrl-single,pins = <
 65                         /* uart1_rxd */
 66                         AM33XX_PADCONF(AM335X_PIN_UART1_RXD, PIN_INPUT, MUX_MODE0)
 67 
 68                         /* uart1_txd */
 69                         AM33XX_PADCONF(AM335X_PIN_UART1_TXD, PIN_INPUT, MUX_MODE0)
 70 
 71                         /* uart1_ctsn */
 72                         AM33XX_PADCONF(AM335X_PIN_UART1_CTSN, PIN_INPUT_PULLDOWN, MUX_MODE0)
 73 
 74                         /* uart1_rtsn */
 75                         AM33XX_PADCONF(AM335X_PIN_UART1_RTSN, PIN_OUTPUT_PULLDOWN, MUX_MODE0)
 76                 >;
 77         };
 78 };
 79 
 80 &i2c2 {
 81         status = "disabled";
 82 };
 83 
 84 &mmc3 {
 85         status = "okay";
 86         vmmc-supply = <&wlan_en_reg>;
 87         bus-width = <4>;
 88         non-removable;
 89         cap-power-off-card;
 90         ti,needs-special-hs-handling;
 91         keep-power-in-suspend;
 92         pinctrl-names = "default";
 93         pinctrl-0 = <&mmc3_pins>;
 94         dmas = <&edma_xbar 12 0 1
 95                 &edma_xbar 13 0 2>;
 96         dma-names = "tx", "rx";
 97         clock-frequency = <50000000>;
 98         max-frequency = <50000000>;
 99 };
100 
101 &uart1 {
102         status = "okay";
103 
104         bluetooth {
105                 pinctrl-names = "default";
106                 pinctrl-0 = <&uart1_pins &bluetooth_pins>;
107                 compatible = "qcom,qca6174-bt";
108                 enable-gpios = <&gpio1 25 GPIO_ACTIVE_HIGH>;
109                 clocks = <&l4ls_clkctrl AM3_L4LS_UART2_CLKCTRL 0>;
110                 interrupt-parent = <&gpio0>;
111                 interrupts = <19 IRQ_TYPE_EDGE_RISING>;
112         };
113 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php