Describe the Infineon/Intel XMM6260, a 3G-focused, slim modem platform designed for smartphones, data cards, and Machine-to-Machine (M2M) applications. Signed-off-by: Svyatoslav Ryhel Reviewed-by: Krzysztof Kozlowski --- .../bindings/net/infineon,xmm6260.yaml | 74 +++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/infineon,xmm6260.yaml diff --git a/Documentation/devicetree/bindings/net/infineon,xmm6260.yaml b/Documentation/devicetree/bindings/net/infineon,xmm6260.yaml new file mode 100644 index 000000000000..ffff58e479ef --- /dev/null +++ b/Documentation/devicetree/bindings/net/infineon,xmm6260.yaml @@ -0,0 +1,74 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/infineon,xmm6260.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Infineon/Intel XMM6260 embedded USB modem + +description: + The Infineon/Intel XMM6260 is a 3G-focused, slim modem platform designed + for smartphones, data cards, and Machine-to-Machine (M2M) applications. + The modem is usually connected via the application processor's USB line + in HSIC mode; however, to work properly, the modem must control this line. + +maintainers: + - Svyatoslav Ryhel + +properties: + compatible: + const: infineon,xmm6260 + + interrupts: + maxItems: 1 + + enable-gpios: + description: GPIO connected to the ON1 pin + maxItems: 1 + + reset-gpios: + description: GPIO connected to the RESET_PWRDWN_N pin + maxItems: 1 + + ap-wake-gpios: + description: GPIO connected to the EINT3 pin + maxItems: 1 + + cp-wake-gpios: + description: GPIO connected to the EINT2 pin + maxItems: 1 + + vbat-supply: + description: Supply connected to the VBAT lines. + + infineon,modem-pwrseq: + description: + Contains phandle pointing to the modem's power sequence. + $ref: /schemas/types.yaml#/definitions/phandle + +required: + - compatible + - interrupts + +additionalProperties: false + +examples: + - | + #include + #include + + modem { + compatible = "infineon,xmm6260"; + + interrupt-parent = <&gpio>; + interrupts = <168 IRQ_TYPE_EDGE_BOTH>; + + enable-gpios = <&gpio 112 GPIO_ACTIVE_HIGH>; + reset-gpios = <&gpio 169 GPIO_ACTIVE_LOW>; + + cp-wake-gpios = <&gpio 151 GPIO_ACTIVE_HIGH>; + ap-wake-gpios = <&gpio 168 GPIO_ACTIVE_HIGH>; + + infineon,modem-pwrseq = <&xmm6260_modem_pwrseq>; + vbat-supply = <&vdd_3v3_vbat>; + }; -- 2.51.0