1*b2d2a78aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*b2d2a78aSEmmanuel Vadot%YAML 1.2 3*b2d2a78aSEmmanuel Vadot--- 4*b2d2a78aSEmmanuel Vadot$id: http://devicetree.org/schemas/net/wireless/marvell,sd8787.yaml# 5*b2d2a78aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*b2d2a78aSEmmanuel Vadot 7*b2d2a78aSEmmanuel Vadottitle: Marvell 8787/8897/8978/8997 (sd8787/sd8897/sd8978/sd8997/pcie8997) SDIO/PCIE devices 8*b2d2a78aSEmmanuel Vadot 9*b2d2a78aSEmmanuel Vadotmaintainers: 10*b2d2a78aSEmmanuel Vadot - Brian Norris <briannorris@chromium.org> 11*b2d2a78aSEmmanuel Vadot - Frank Li <Frank.Li@nxp.com> 12*b2d2a78aSEmmanuel Vadot 13*b2d2a78aSEmmanuel Vadotdescription: 14*b2d2a78aSEmmanuel Vadot This node provides properties for describing the Marvell SDIO/PCIE wireless device. 15*b2d2a78aSEmmanuel Vadot The node is expected to be specified as a child node to the SDIO/PCIE controller that 16*b2d2a78aSEmmanuel Vadot connects the device to the system. 17*b2d2a78aSEmmanuel Vadot 18*b2d2a78aSEmmanuel Vadotproperties: 19*b2d2a78aSEmmanuel Vadot compatible: 20*b2d2a78aSEmmanuel Vadot enum: 21*b2d2a78aSEmmanuel Vadot - marvell,sd8787 22*b2d2a78aSEmmanuel Vadot - marvell,sd8897 23*b2d2a78aSEmmanuel Vadot - marvell,sd8978 24*b2d2a78aSEmmanuel Vadot - marvell,sd8997 25*b2d2a78aSEmmanuel Vadot - nxp,iw416 26*b2d2a78aSEmmanuel Vadot - pci11ab,2b42 27*b2d2a78aSEmmanuel Vadot - pci1b4b,2b42 28*b2d2a78aSEmmanuel Vadot 29*b2d2a78aSEmmanuel Vadot reg: 30*b2d2a78aSEmmanuel Vadot maxItems: 1 31*b2d2a78aSEmmanuel Vadot 32*b2d2a78aSEmmanuel Vadot interrupts: 33*b2d2a78aSEmmanuel Vadot maxItems: 1 34*b2d2a78aSEmmanuel Vadot 35*b2d2a78aSEmmanuel Vadot wakeup-source: true 36*b2d2a78aSEmmanuel Vadot 37*b2d2a78aSEmmanuel Vadot marvell,caldata-txpwrlimit-2g: 38*b2d2a78aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint8-array 39*b2d2a78aSEmmanuel Vadot description: Calibration data for the 2GHz band. 40*b2d2a78aSEmmanuel Vadot maxItems: 566 41*b2d2a78aSEmmanuel Vadot 42*b2d2a78aSEmmanuel Vadot marvell,caldata-txpwrlimit-5g-sub0: 43*b2d2a78aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint8-array 44*b2d2a78aSEmmanuel Vadot description: Calibration data for sub-band 0 in the 5GHz band. 45*b2d2a78aSEmmanuel Vadot maxItems: 502 46*b2d2a78aSEmmanuel Vadot 47*b2d2a78aSEmmanuel Vadot marvell,caldata-txpwrlimit-5g-sub1: 48*b2d2a78aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint8-array 49*b2d2a78aSEmmanuel Vadot description: Calibration data for sub-band 1 in the 5GHz band. 50*b2d2a78aSEmmanuel Vadot maxItems: 688 51*b2d2a78aSEmmanuel Vadot 52*b2d2a78aSEmmanuel Vadot marvell,caldata-txpwrlimit-5g-sub2: 53*b2d2a78aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint8-array 54*b2d2a78aSEmmanuel Vadot description: Calibration data for sub-band 2 in the 5GHz band. 55*b2d2a78aSEmmanuel Vadot maxItems: 750 56*b2d2a78aSEmmanuel Vadot 57*b2d2a78aSEmmanuel Vadot marvell,caldata-txpwrlimit-5g-sub3: 58*b2d2a78aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint8-array 59*b2d2a78aSEmmanuel Vadot description: Calibration data for sub-band 3 in the 5GHz band. 60*b2d2a78aSEmmanuel Vadot maxItems: 502 61*b2d2a78aSEmmanuel Vadot 62*b2d2a78aSEmmanuel Vadot marvell,wakeup-pin: 63*b2d2a78aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 64*b2d2a78aSEmmanuel Vadot description: 65*b2d2a78aSEmmanuel Vadot Provides the pin number for the wakeup pin from the device's point of 66*b2d2a78aSEmmanuel Vadot view. The wakeup pin is used for the device to wake the host system 67*b2d2a78aSEmmanuel Vadot from sleep. This property is only necessary if the wakeup pin is 68*b2d2a78aSEmmanuel Vadot wired in a non-standard way, such that the default pin assignments 69*b2d2a78aSEmmanuel Vadot are invalid. 70*b2d2a78aSEmmanuel Vadot 71*b2d2a78aSEmmanuel Vadotrequired: 72*b2d2a78aSEmmanuel Vadot - compatible 73*b2d2a78aSEmmanuel Vadot - reg 74*b2d2a78aSEmmanuel Vadot 75*b2d2a78aSEmmanuel VadotadditionalProperties: false 76*b2d2a78aSEmmanuel Vadot 77*b2d2a78aSEmmanuel Vadotexamples: 78*b2d2a78aSEmmanuel Vadot - | 79*b2d2a78aSEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 80*b2d2a78aSEmmanuel Vadot 81*b2d2a78aSEmmanuel Vadot mmc { 82*b2d2a78aSEmmanuel Vadot #address-cells = <1>; 83*b2d2a78aSEmmanuel Vadot #size-cells = <0>; 84*b2d2a78aSEmmanuel Vadot 85*b2d2a78aSEmmanuel Vadot wifi@1 { 86*b2d2a78aSEmmanuel Vadot compatible = "marvell,sd8897"; 87*b2d2a78aSEmmanuel Vadot reg = <1>; 88*b2d2a78aSEmmanuel Vadot interrupt-parent = <&pio>; 89*b2d2a78aSEmmanuel Vadot interrupts = <38 IRQ_TYPE_LEVEL_LOW>; 90*b2d2a78aSEmmanuel Vadot marvell,wakeup-pin = <3>; 91*b2d2a78aSEmmanuel Vadot }; 92*b2d2a78aSEmmanuel Vadot }; 93*b2d2a78aSEmmanuel Vadot 94