The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/net/wireless/mediatek,mt76.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 * MediaTek mt76xx devices
    2 
    3 This node provides properties for configuring the MediaTek mt76xx wireless
    4 device. The node is expected to be specified as a child node of the PCI
    5 controller to which the wireless chip is connected.
    6 
    7 Alternatively, it can specify the wireless part of the MT7628/MT7688 or
    8 MT7622 SoC. For SoC, use the following compatible strings:
    9 
   10 compatible:
   11 - "mediatek,mt7628-wmac" for MT7628/MT7688
   12 - "mediatek,mt7622-wmac" for MT7622
   13 
   14 properties:
   15 - reg: Address and length of the register set for the device.
   16 - interrupts: Main device interrupt
   17 
   18 MT7622 specific properties:
   19 - power-domains: phandle to the power domain that the WMAC is part of
   20 - mediatek,infracfg: phandle to the infrastructure bus fabric syscon node
   21 
   22 Optional properties:
   23 
   24 - ieee80211-freq-limit: See ieee80211.txt
   25 - mediatek,mtd-eeprom: Specify a MTD partition + offset containing EEPROM data
   26 - big-endian: if the radio eeprom partition is written in big-endian, specify
   27   this property
   28 - mediatek,eeprom-merge-otp: Merge EEPROM data with OTP data. Can be used on
   29   boards where the flash calibration data is generic and specific calibration
   30   data should be pulled from the OTP ROM
   31 
   32 The MAC address can as well be set with corresponding optional properties
   33 defined in net/ethernet.txt.
   34 
   35 Optional nodes:
   36 - led: Properties for a connected LED
   37   Optional properties:
   38     - led-sources: See Documentation/devicetree/bindings/leds/common.txt
   39 
   40 &pcie {
   41         pcie0 {
   42                 wifi@0,0 {
   43                         compatible = "mediatek,mt76";
   44                         reg = <0x0000 0 0 0 0>;
   45                         ieee80211-freq-limit = <5000000 6000000>;
   46                         mediatek,mtd-eeprom = <&factory 0x8000>;
   47                         big-endian;
   48 
   49                         led {
   50                                 led-sources = <2>;
   51                         };
   52                 };
   53         };
   54 };
   55 
   56 MT7628 example:
   57 
   58 wmac: wmac@10300000 {
   59         compatible = "mediatek,mt7628-wmac";
   60         reg = <0x10300000 0x100000>;
   61 
   62         interrupt-parent = <&cpuintc>;
   63         interrupts = <6>;
   64 
   65         mediatek,mtd-eeprom = <&factory 0x0000>;
   66 };
   67 
   68 MT7622 example:
   69 
   70 wmac: wmac@18000000 {
   71         compatible = "mediatek,mt7622-wmac";
   72         reg = <0 0x18000000 0 0x100000>;
   73         interrupts = <GIC_SPI 211 IRQ_TYPE_LEVEL_LOW>;
   74 
   75         mediatek,infracfg = <&infracfg>;
   76 
   77         power-domains = <&scpsys MT7622_POWER_DOMAIN_WB>;
   78 };

Cache object: 5bc7ec696f3647f76e910786c7cf930d


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.