From patchwork Thu Feb 21 15:44:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 158917 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp635725jaa; Thu, 21 Feb 2019 07:46:16 -0800 (PST) X-Google-Smtp-Source: AHgI3Ia6TF98+LgjDZSwF+dwFDOYrDIel+0M3a/qjjCbCRy3SR0I2ArtTOBmuFxNtMQAyExYYjLN X-Received: by 2002:a63:89c7:: with SMTP id v190mr33191858pgd.370.1550763976476; Thu, 21 Feb 2019 07:46:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550763976; cv=none; d=google.com; s=arc-20160816; b=GkTsaxV+acUuWSaW9lAogNwbKO1GfhpoYNMi0wbc2jx5X/0w7qiZgsmE9EpdmaxrRl 5DRd5M1D2cfrIuqaj+Ddq4bQCovSGyMVpd9/RFkyoW3zDv4jTCdG5vl5Td8Ji1ixD73i +uTwqt89mf/KcSPPleVBYRm93Kb2P4Q8yzErpPfO2URRliTnlMub/hVf5NIoDNExFwNb UXyOThFtlZCFiukPJR9BSCP/vJoaR6UeWCcXbMHCgppdPOKuI4w+B7So1MVI4ade0rbY Ori3YwzZydlCFV/FNIDe0eIOi96WFTe2naW+nXfOLb0eFVWS4c6/kioBh29xDPo4UG8r PgBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9AKPZy57Xp9MQSyeUW4oZ24ugkhPxGm7E69P5yoWAno=; b=vwQ2UhrJ/0ZCr1O8jGEfZMQZ/dNOrs0oS3GeyzibbtCvBCMJSyxVKHpQT8SdPtkSYZ 7mqWY556ogyVic06yXv6M1Zm4UuxYfU2ckQsfZMAN8RAfKQsE/di3BpNM3wlXRx+lKZC l646bE9qP6gHu6UJUE8+3TGOP24Tv3E4wQPy5bf4aWqVQNh3PUQi8xqYu95OWGclT/RG L7UqVJZQQhtzHn5/UIrE3foTp31oL/pw869PYbKro+elPzQZ8/rRkv7zLCLRimPumFPf bCzUjNNUyBFw3q65driQ3vXVOumjYlQ6lKSGPyydL4QiOTVkoyUsf0T2Xk+MjZPQ5Dnf jKJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VgT5Q5gZ; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l186si20037615pge.482.2019.02.21.07.46.16; Thu, 21 Feb 2019 07:46:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VgT5Q5gZ; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726390AbfBUPqP (ORCPT + 7 others); Thu, 21 Feb 2019 10:46:15 -0500 Received: from mail-lf1-f66.google.com ([209.85.167.66]:42880 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726109AbfBUPqP (ORCPT ); Thu, 21 Feb 2019 10:46:15 -0500 Received: by mail-lf1-f66.google.com with SMTP id p1so2017335lfk.9 for ; Thu, 21 Feb 2019 07:46:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9AKPZy57Xp9MQSyeUW4oZ24ugkhPxGm7E69P5yoWAno=; b=VgT5Q5gZ6OYWE6AeqseGL6S8SaOvXfHHkv8k5YlbUuE+MZRsuySHbszh1H5PFb2Frs K7WZi46mSmnhmLL7ZrJLdYSTZ+Ue7/ZH6wY4M8UbS2nfQjDuxgF0rhWooP8rA03OXVD+ 9DHvMg8B7hWaAGgTyR3gjzXvAD3I1Kp19sEND5DrcWx9lzGNeVVjEC6LxoDI/slLWOtD 1YzSqmRYaxyfJjubNCH24KM5IqnFAd/DKnG68t88FuVOM+RvUf0CDX2egNMwBl4vzbqZ ChOSA+vRoL09Re/TyudmNNBaGXqqyNNEwzgUo+SuiIFRJob/09W0wfcaOF6QkLLIX+3v VSEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9AKPZy57Xp9MQSyeUW4oZ24ugkhPxGm7E69P5yoWAno=; b=ghyjs5MVg8tvHBtlR9Li1ZbUJJ9wYRz1YC0YCoh7finB0PdHcPNQFO/HkZTOP7mrmf 7tj4ukoQeLkS77NvzL3ug6Y0t7SiY68lVGIRt/prJ8C9g6clMPlvkiKsJSftPlT956mO pZoD2jBZloL0M14PzvkOML2y6ce5F2ssa/RERwv7Bm5p7PwaGBoqD+51rXtRn8jW84lx O044HLKaJokItuq9+72d6ylhuvksL754sUiSONLar/Yt1MSz+eB82sZs9aKP942lJ3nT lVOG1Jsiy6ZHYbwXNGf2pucfULT0Fuf4qoGygoPppbWRWO/+MZ0za9NEOIjgfR64L1UM TA/g== X-Gm-Message-State: AHQUAuZXxn58uzfRbRZzITK159CYxpxz5igImPOdvCyLTNZnfqsb2ElN nto6Y3YUog9MvAKMleOXPdD8Yw== X-Received: by 2002:ac2:5183:: with SMTP id u3mr24292418lfi.153.1550763973564; Thu, 21 Feb 2019 07:46:13 -0800 (PST) Received: from linux-2.local (c-ae7b71d5.014-348-6c756e10.bbcust.telenor.se. [213.113.123.174]) by smtp.gmail.com with ESMTPSA id m73sm1316965lfa.65.2019.02.21.07.46.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Feb 2019 07:46:12 -0800 (PST) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org, Imre Kaloz , Krzysztof Halasa Cc: Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH 26/30 v2] soc: ixp4xx: Add DT bindings for IXP4xx NPE Date: Thu, 21 Feb 2019 16:44:54 +0100 Message-Id: <20190221154458.23763-27-linus.walleij@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190221154458.23763-1-linus.walleij@linaro.org> References: <20190221154458.23763-1-linus.walleij@linaro.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This adds DT bindings for the Intel IXP4xx Network Processing Engine (NPE). These are three firmware-executing units found in the IXP4xx SoC. These bindings use YAML. Cc: devicetree@vger.kernel.org Signed-off-by: Linus Walleij --- ...ntel,ixp4xx-network-processing-engine.yaml | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/firmware/intel,ixp4xx-network-processing-engine.yaml -- 2.20.1 diff --git a/Documentation/devicetree/bindings/firmware/intel,ixp4xx-network-processing-engine.yaml b/Documentation/devicetree/bindings/firmware/intel,ixp4xx-network-processing-engine.yaml new file mode 100644 index 000000000000..8cb136c376fb --- /dev/null +++ b/Documentation/devicetree/bindings/firmware/intel,ixp4xx-network-processing-engine.yaml @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2019 Linaro Ltd. +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/firmware/intel-ixp4xx-network-processing-engine.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Intel IXP4xx Network Processing Engine + +maintainers: + - Linus Walleij + +description: | + On the IXP4xx SoCs, the Network Processing Engine (NPE) is a small + processor that can load a firmware to perform offloading of networking + and crypto tasks. It also manages the MDIO bus to the ethernet PHYs + on the IXP4xx platform. All IXP4xx platforms have three NPEs at + consecutive memory locations. They are all included in the same + device node since they are not independent of each other. + +properties: + compatible: + oneOf: + - items: + - const: intel,ixp4xx-network-processing-engine + + reg: + minItems: 3 + maxItems: 3 + items: + - description: NPE0 register range + - description: NPE1 register range + - description: NPE2 register range + +required: + - compatible + - reg + +examples: + - | + npe@c8006000 { + compatible = "intel,ixp4xx-network-processing-engine"; + reg = <0xc8006000 0x1000>, <0xc8007000 0x1000>, <0xc8008000 0x1000>; + };