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 SoC. 8For SoC, use the compatible string "mediatek,mt7628-wmac" and the following 9properties: 10 11- reg: Address and length of the register set for the device. 12- interrupts: Main device interrupt 13 14Optional properties: 15 16- ieee80211-freq-limit: See ieee80211.txt 17- mediatek,mtd-eeprom: Specify a MTD partition + offset containing EEPROM data 18 19The MAC address can as well be set with corresponding optional properties 20defined in net/ethernet.txt. 21 22Optional nodes: 23- led: Properties for a connected LED 24 Optional properties: 25 - led-sources: See Documentation/devicetree/bindings/leds/common.txt 26 27&pcie { 28 pcie0 { 29 wifi@0,0 { 30 compatible = "mediatek,mt76"; 31 reg = <0x0000 0 0 0 0>; 32 ieee80211-freq-limit = <5000000 6000000>; 33 mediatek,mtd-eeprom = <&factory 0x8000>; 34 35 led { 36 led-sources = <2>; 37 }; 38 }; 39 }; 40}; 41 42MT7628 example: 43 44wmac: wmac@10300000 { 45 compatible = "mediatek,mt7628-wmac"; 46 reg = <0x10300000 0x100000>; 47 48 interrupt-parent = <&cpuintc>; 49 interrupts = <6>; 50 51 mediatek,mtd-eeprom = <&factory 0x0000>; 52}; 53