1* MediaTek mt76xx devices 2 3This node provides properties for configuring the MediaTek mt76xx wireless 4device. The node is expected to be specified as a child node of the PCI 5controller to which the wireless chip is connected. 6 7Alternatively, it can specify the wireless part of the MT7628/MT7688 or 8MT7622 SoC. For SoC, use the following compatible strings: 9 10compatible: 11- "mediatek,mt7628-wmac" for MT7628/MT7688 12- "mediatek,mt7622-wmac" for MT7622 13 14properties: 15- reg: Address and length of the register set for the device. 16- interrupts: Main device interrupt 17 18MT7622 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 22Optional 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 32The MAC address can as well be set with corresponding optional properties 33defined in net/ethernet.txt. 34 35Optional 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 56MT7628 example: 57 58wmac: 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 68MT7622 example: 69 70wmac: 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}; 79