Commit 56bd1c86 authored by Peter Chiu's avatar Peter Chiu Committed by Felix Fietkau

dt-bindings: net: wireless: mt76: document bindings for MT7986

Add an entry for MT7986 SoC.
Signed-off-by: default avatarPeter Chiu <chui-hao.chiu@mediatek.com>
Cc: devicetree@vger.kernel.org
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 355c060d
...@@ -18,7 +18,7 @@ description: | ...@@ -18,7 +18,7 @@ description: |
wireless device. The node is expected to be specified as a child wireless device. The node is expected to be specified as a child
node of the PCI controller to which the wireless chip is connected. node of the PCI controller to which the wireless chip is connected.
Alternatively, it can specify the wireless part of the MT7628/MT7688 Alternatively, it can specify the wireless part of the MT7628/MT7688
or MT7622 SoC. or MT7622/MT7986 SoC.
allOf: allOf:
- $ref: ieee80211.yaml# - $ref: ieee80211.yaml#
...@@ -29,9 +29,13 @@ properties: ...@@ -29,9 +29,13 @@ properties:
- mediatek,mt76 - mediatek,mt76
- mediatek,mt7628-wmac - mediatek,mt7628-wmac
- mediatek,mt7622-wmac - mediatek,mt7622-wmac
- mediatek,mt7986-wmac
reg: reg:
maxItems: 1 minItems: 1
maxItems: 3
description:
MT7986 should contain 3 regions consys, dcm, and sku, in this order.
interrupts: interrupts:
maxItems: 1 maxItems: 1
...@@ -39,6 +43,17 @@ properties: ...@@ -39,6 +43,17 @@ properties:
power-domains: power-domains:
maxItems: 1 maxItems: 1
memory-region:
maxItems: 1
resets:
maxItems: 1
description:
Specify the consys reset for mt7986.
reset-name:
const: consys
mediatek,infracfg: mediatek,infracfg:
$ref: /schemas/types.yaml#/definitions/phandle $ref: /schemas/types.yaml#/definitions/phandle
description: description:
...@@ -174,7 +189,7 @@ required: ...@@ -174,7 +189,7 @@ required:
- compatible - compatible
- reg - reg
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
...@@ -240,3 +255,15 @@ examples: ...@@ -240,3 +255,15 @@ examples:
power-domains = <&scpsys 3>; power-domains = <&scpsys 3>;
}; };
- |
wifi@18000000 {
compatible = "mediatek,mt7986-wmac";
resets = <&watchdog 23>;
reset-names = "consys";
reg = <0x18000000 0x1000000>,
<0x10003000 0x1000>,
<0x11d10000 0x1000>;
interrupts = <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>;
memory-region = <&wmcpu_emi>;
};
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