Commit 782eff09 authored by Felix Fietkau's avatar Felix Fietkau

dt-bindings: net: mt76: update binding for mt7603 driver

In addition to MT7603E PCI devices, the driver supports the WLAN core on
MT7628/MT7688, which needs to be defined in DT.
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 9c193de5
...@@ -4,6 +4,13 @@ This node provides properties for configuring the MediaTek mt76xx wireless ...@@ -4,6 +4,13 @@ This node provides properties for configuring the MediaTek mt76xx wireless
device. The node is expected to be specified as a child node of the PCI device. The node is expected to be specified as a child node of the PCI
controller to which the wireless chip is connected. controller to which the wireless chip is connected.
Alternatively, it can specify the wireless part of the MT7628/MT7688 SoC.
For SoC, use the compatible string "mediatek,mt7628-wmac" and the following
properties:
- reg: Address and length of the register set for the device.
- interrupts: Main device interrupt
Optional properties: Optional properties:
- mac-address: See ethernet.txt in the parent directory - mac-address: See ethernet.txt in the parent directory
...@@ -30,3 +37,15 @@ Optional nodes: ...@@ -30,3 +37,15 @@ Optional nodes:
}; };
}; };
}; };
MT7628 example:
wmac: wmac@10300000 {
compatible = "mediatek,mt7628-wmac";
reg = <0x10300000 0x100000>;
interrupt-parent = <&cpuintc>;
interrupts = <6>;
mediatek,mtd-eeprom = <&factory 0x0000>;
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment