Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1959201pxm; Sun, 27 Feb 2022 07:31:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJzqjzYmeRi3ltcGmzz+X6gDAFYDZ7hdX/BrDtV/N/3bP97rWOPJoEYSuzLkOllJA1mSnyMf X-Received: by 2002:a17:907:9956:b0:6cf:cd25:c5a7 with SMTP id kl22-20020a170907995600b006cfcd25c5a7mr12019184ejc.635.1645975885775; Sun, 27 Feb 2022 07:31:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645975885; cv=none; d=google.com; s=arc-20160816; b=dcxBTqygPQqvOkq3YAvfoo6rrfXzdOwpW3h24aMIt0blvEERrd7XnsD5s4QSHNpEAr lqys6f8ZFcK3wG4mr5RE2u29HG6aQXCyfQatVbynXcApHSevIhv3/Jm9AA85fPZNVJrS DA2XMms/mXuxf99RvC75vijXh+/ZtK8IeVSgj17QmlkTcksyPrtWhE60bgR4+bfUGnZ4 XTIQLAH8S0VL/GY3UhcpQsxEr+DapwKXNLyRdDEYkqLRuWyUJ1ul5xNQduvsac2DE2Lu zjfG2VIU/79wdb/G+Zb2P0GthzeaSWngEs6tbAQ4ulVzOTrJwa5cR32NbSuMuW4V0Meg eJAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:in-reply-to:message-id:date :subject:cc:from:dkim-signature; bh=+o8a4+sMFmJIptftdwbAGTNrygKBIVBJrDmKwhFceYY=; b=IIs7WP97Av7cQ+EGSG9P0BcYo+AUC7x49uCKZbVwMYABnNvfsz8y2T7AsHtoL5Q49Z MyoGrmiAH4H6AsnMsa7GWNenuXereo4sLe6QM8USj1SXoGQGTbsf4ekiLPqNgXIT791M 8JEIp8yAKW4A0kNCDaz2hXWzFgQLC1iLbTHLyWuWahDZN6wDVVOeE2rv8KAIV3wNLBr3 6t0LvNBKS30DiQ58r+Nvb6qE0JmbGEavAUerABdz8Z8+ULviEW3NJsd6qbuC7UaK6Mf1 vWJVFNGdTpwro5so+QStIyVWKCpqVOyVsB6vbnwXWtnbIVteiLInbCwmiyaOgsS7HkyN 8ffQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20210112 header.b=Edh57K8U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l1-20020a17090612c100b006cfcd25c5a2si4416701ejb.897.2022.02.27.07.30.23; Sun, 27 Feb 2022 07:31:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20210112 header.b=Edh57K8U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230356AbiB0L7s (ORCPT + 99 others); Sun, 27 Feb 2022 06:59:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230315AbiB0L7k (ORCPT ); Sun, 27 Feb 2022 06:59:40 -0500 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AC453DDF1; Sun, 27 Feb 2022 03:59:04 -0800 (PST) Received: by mail-ed1-x534.google.com with SMTP id s14so13747273edw.0; Sun, 27 Feb 2022 03:59:04 -0800 (PST) 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=+o8a4+sMFmJIptftdwbAGTNrygKBIVBJrDmKwhFceYY=; b=Edh57K8USvUrYtNnVvM9jioHrXrN/0nDElwH2Iq2SZBW0icqf0pXsKmaFnAFuqTBF9 FutLkCioszFXPwbdkw9er37qeeVHPqnzZ3ebYqrB/Nkd7PMAvdSyRJvyJNZGC+lSsJuH wzvzOtS6U/FEGguPsZ1r2K9hAhRxWuOn/jEJReZCLRAYya0YrRB99RR8H/WFPCGEuoBJ Bb2KGtA/BJ3fTT9zbEZDPFr1QHKcmKUY3/KN2yLktfaVUPfzR+p4cd/Ma2KqvElPX1Mc Z0mJ2MYXL8ijbbPE82e3rGUuBHRcAuKWciTc8kDDH6Yh36TTeXET5WDM6Not83KzkCct hFNA== 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=+o8a4+sMFmJIptftdwbAGTNrygKBIVBJrDmKwhFceYY=; b=AnFSZAfPwqdw7mOQN+uaywvk9GmXegebo7Xk7sK7UlpQC9BP/ERMZs7vEI75oe0u3j Rrmu/qb8pam+3auAoBRD2Zko6J4G6GcSJ/K7J3ZtLK8+b7w7pgGWfnx9omhiqAdBkfE7 PqbEIGhn1VNjQWS09Qe4NOsASuycal4YH4YHtVLMihQoyOP06HuFawE6yvcisdBpJq6R VUFrEsm2jPipGqLuhWo/iXnSqTYuHMkKQxYnUAd/Ygf5/Uc321iNGBLhJ8TWGTtc+xm/ AgVzPXcYhoPaBYZCerQX38/eAplSe23Bmmnqcp6dltHvlwnTAk/avpZT+mCb/Z4RnNaJ xMMA== X-Gm-Message-State: AOAM532urIz+q0oLcLHYhAywZNkT5TmagDgYEJeHxK00EI7AfAcBFRpV L9WYqDl/MmPI4HvVjmJyBK0= X-Received: by 2002:a05:6402:4409:b0:412:aac5:4e48 with SMTP id y9-20020a056402440900b00412aac54e48mr14866759eda.75.1645963142763; Sun, 27 Feb 2022 03:59:02 -0800 (PST) Received: from localhost.localdomain ([155.133.219.250]) by smtp.gmail.com with ESMTPSA id dn14-20020a05640222ee00b00410b88abd6fsm4474577edb.45.2022.02.27.03.59.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Feb 2022 03:59:02 -0800 (PST) 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 v2 2/3] dt-bindings: remoteproc: Add AVM WASP Date: Sun, 27 Feb 2022 12:58:31 +0100 Message-Id: <20220227115832.13490-3-kestrelseventyfour@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220227115832.13490-1-kestrelseventyfour@gmail.com> References: <20220227115832.13490-1-kestrelseventyfour@gmail.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 | 56 +++++++++++++++++++ 1 file changed, 56 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..8b39fafc60aa --- /dev/null +++ b/Documentation/devicetree/bindings/remoteproc/avm,wasp-rproc.yaml @@ -0,0 +1,56 @@ +# 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 Assistent Support Processor (WASP) SoC + that is attached to some AVM Fritzbox devices (3390, 3490, 5490, 5491, 7490). + +properties: + compatible: + enum: + - avm,fritzbox3390-wasp + - avm,fritzboxx490-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. + + avm,startup-gpios: + description: Startup gpio of the WASP SoC. + +required: + - compatible + - avm,wasp-mdio + - avm,wasp-port + - avm,reset-gpios + - avm,startup-gpios + +additionalProperties: false + +examples: + - | + #include + + remoteproc { + compatible = "avm,fritzboxx490-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>; + }; -- 2.17.1