Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v5.1-rc2 51 lines 1.3 kB view raw
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- mac-address: See ethernet.txt in the parent directory 17- local-mac-address: See ethernet.txt in the parent directory 18- ieee80211-freq-limit: See ieee80211.txt 19- mediatek,mtd-eeprom: Specify a MTD partition + offset containing EEPROM data 20 21Optional nodes: 22- led: Properties for a connected LED 23 Optional properties: 24 - led-sources: See Documentation/devicetree/bindings/leds/common.txt 25 26&pcie { 27 pcie0 { 28 wifi@0,0 { 29 compatible = "mediatek,mt76"; 30 reg = <0x0000 0 0 0 0>; 31 ieee80211-freq-limit = <5000000 6000000>; 32 mediatek,mtd-eeprom = <&factory 0x8000>; 33 34 led { 35 led-sources = <2>; 36 }; 37 }; 38 }; 39}; 40 41MT7628 example: 42 43wmac: wmac@10300000 { 44 compatible = "mediatek,mt7628-wmac"; 45 reg = <0x10300000 0x100000>; 46 47 interrupt-parent = <&cpuintc>; 48 interrupts = <6>; 49 50 mediatek,mtd-eeprom = <&factory 0x0000>; 51};