From patchwork Thu Jul 21 19:34:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Kestrel X-Patchwork-Id: 12925727 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 58F79CCA487 for ; Thu, 21 Jul 2022 19:35:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233278AbiGUTfr (ORCPT ); Thu, 21 Jul 2022 15:35:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230429AbiGUTfq (ORCPT ); Thu, 21 Jul 2022 15:35:46 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D5D641D37; Thu, 21 Jul 2022 12:35:33 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id fy29so4807088ejc.12; Thu, 21 Jul 2022 12:35:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=s79koBJKcUEHGr/LZx74gqZK4XdBpcqdo9YSWhBmsrI=; b=WTo+GhvWZ2KpXZg1ebEE9eP08FCf8HSzh+sndlzGb1VNmi1SjV2xXorXTioHI4iibT V6hjPWZFcm1UPVvXYSpI8HzO/zX6NHXmWCxCyKYu6lbg/4WF4e7tvO8FX/HZbtqihxmU YJHqWKQKjYsmKKzyp393lx09exdRE1BSodwXTUAw0f8VViViL8TFNp/6JqLaGrVIiXI4 6GIYOaG+eHxrXq6aJIiEZWSbQsRg70mOfK8iRiF6YApGRFQGoeII0iq1XawDYifhHpen lgBWDn9H4DFWJrWRWvmMm0UCo7hVrg485esZctkE116jlJyeEa/AVk67HVZXrAwatbzn wR6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=s79koBJKcUEHGr/LZx74gqZK4XdBpcqdo9YSWhBmsrI=; b=o5/WaARLeDskYtm3eIHWfwE99LJJAm2YetQlMfvOC9SWmNBupPFIiHmmqUiHOD/a39 TZCM0LOmcSG0V89g+ttUxXmTbj8LnJxYnqfcJVohYoXEYBomSL3CTDwby0UWgvfjq8sI pOIY4N6rJHBdiP5VkKiJYVETNQVBMgVnfiFqso/e2tp64AVbIt7uCxkiCKNyD6t20ikI vbRO0v9x4Brn1WZogS4/crGuAAbnX1kByvb7nHoIbVJwrcZETeTLI7RKgR7nXxiNvvvA fK9GtHvTqLf68UFzZfWTmVpsHabP2f8g3kVb9tVLsHM1uI8IlITH0xPXHAekEhIpSSl7 I0Jw== X-Gm-Message-State: AJIora+v6TuhbGhIo1SuicQNhdRskIQOfM7l/xVDPZraWQs8SfpdCOsJ BUMr8tJdCMpVo4wD3xTcpJM= X-Google-Smtp-Source: AGRyM1v9GckEBIRe083XENtdxH6KPvli0SFKeCahz7f88NgopBVeh1KS77NWxtW7uHOP9KdyG9E08Q== X-Received: by 2002:a17:906:fd56:b0:72b:47b0:6bfa with SMTP id wi22-20020a170906fd5600b0072b47b06bfamr129163ejb.62.1658432131191; Thu, 21 Jul 2022 12:35:31 -0700 (PDT) Received: from localhost.localdomain ([155.133.219.250]) by smtp.gmail.com with ESMTPSA id q6-20020a056402032600b0043574d27ddasm1430430edw.16.2022.07.21.12.35.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jul 2022 12:35:30 -0700 (PDT) From: Daniel Kestrel Cc: Bjorn Andersson , Mathieu Poirier , Rob Herring , Daniel Kestrel , linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 2/3] dt-bindings: remoteproc: Add AVM WASP Date: Thu, 21 Jul 2022 21:34:54 +0200 Message-Id: <20220721193455.2717-3-kestrelseventyfour@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220721193455.2717-1-kestrelseventyfour@gmail.com> References: <20220721193455.2717-1-kestrelseventyfour@gmail.com> To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org AVM Fritzbox router boards may contain an additional ATH79 based SoC that has the wifi cards connected. This patch adds bindings for this remote processor. Signed-off-by: Daniel Kestrel --- .../bindings/remoteproc/avm,wasp-rproc.yaml | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings/remoteproc/avm,wasp-rproc.yaml diff --git a/Documentation/devicetree/bindings/remoteproc/avm,wasp-rproc.yaml b/Documentation/devicetree/bindings/remoteproc/avm,wasp-rproc.yaml new file mode 100644 index 000000000000..e8618706a34f --- /dev/null +++ b/Documentation/devicetree/bindings/remoteproc/avm,wasp-rproc.yaml @@ -0,0 +1,61 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/remoteproc/avm,wasp-rproc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: AVM WASP processor controller bindings + +maintainers: + - Daniel Kestrel + +description: | + This document defines the bindings for the remoteproc component that loads and + boots firmwares on the AVM Wireless Assistant Support Processor (WASP) SoC + that is attached to some AVM Fritzbox devices (3390, 3490, 5490, 5491, 7490). + +properties: + compatible: + enum: + - avm,fritzbox3390-wasp + - avm,fritzbox3490-wasp + - avm,fritzbox5490-wasp + - avm,fritzbox5491-wasp + - avm,fritzbox7490-wasp + + avm,wasp-mdio: + $ref: /schemas/types.yaml#/definitions/phandle + description: Lantiq GSWIP switch mdio. + + avm,wasp-port: + $ref: /schemas/types.yaml#/definitions/phandle + description: Network port, where the WASP SoC is connected to. + + avm,reset-gpios: + description: Reset gpio of the WASP SoC. + maxItems: 1 + + avm,startup-gpios: + description: Startup gpio of the WASP SoC. + maxItems: 1 + +required: + - compatible + - avm,wasp-mdio + - avm,wasp-port + - avm,reset-gpios + - avm,startup-gpios + +additionalProperties: false + +examples: + - | + #include + + remoteproc { + compatible = "avm,fritzbox7490-wasp"; + avm,wasp-mdio = <&gswip_mdio>; + avm,wasp-port = <&port5>; + avm,reset-gpios = <&gpio 34 GPIO_ACTIVE_HIGH>; + avm,startup-gpios = <&gpio 5 GPIO_ACTIVE_HIGH>; + };