Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp393181ybt; Wed, 17 Jun 2020 03:53:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEroGvYTOzx5woz5rfZBnECGZE7Ih5tB2d+U7npWXzd1xJM8u8m+PAulmmtiORg/DyzL0b X-Received: by 2002:a17:906:f115:: with SMTP id gv21mr6683175ejb.340.1592391214961; Wed, 17 Jun 2020 03:53:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592391214; cv=none; d=google.com; s=arc-20160816; b=hl2pZ4tbSmrNBgtEirVIemiomPeUCxgRczlFSUEVkXMywayK6iC+QSjD/U8G1lLT58 AUeOsf2Jty0DNTyv4m8XmZkLizNDxnqAqWojOffIzXEZoa0A9yzyxi0ojIHsH83eFEGQ Pmr4p1LltAtpMZhadXQqICewlWt2yul/2MCD27CCeCufPVui5w1A+RxCc+LSWc3BqeAf 2hqp3C3EyzgtFDwxBFnMTs5rvrx7eUopojgI0/Hcx1/+g44Q6jS6ShvjOYdTvBTxke5h 7tH8oHtOxMgFnKLjSPFVa5dlb2hCFGvV3q2B7O25iSdf0NO2s03tdbvL8pXFbipYp+Py O3Gg== 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=q32jAFtYDGTd7ehWi2GSlZRUAUiNhVpvNu8v0nFr12M=; b=bHCaD4w61nmiIE7SoI9thRdWHq16mQuMx9wGYX5kdWBBaqVyjCMgx58IiwAa0r1Yx8 DgAW/XPqztL9RWgO37A1QUHv2btaoZBGu7NROORNd4SZ54n3QRCzl1KQbmOmTGq2/Ktz DV+HnvnuUGMcUT6b4cUp/u+Zs72IU1BDbR1ac9FHQHWwmlWecKZLnToVQZ510nIwO3e0 z0qGgwTuUPPAM7uUlF0Y2TLtqYvO9S61kVa5GJo3h0kUmMK6FIo8wsWt75Eq9s7bbu7Q WDgA1S9vfle/aAXW524vxMk9hYspG0o//zI/bD93OHxjggy9833u8hmdSK35swdWKxMl y/eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mkBUbRo4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v10si13940481ejb.343.2020.06.17.03.53.12; Wed, 17 Jun 2020 03:53:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mkBUbRo4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726857AbgFQKvC (ORCPT + 99 others); Wed, 17 Jun 2020 06:51:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726773AbgFQKuz (ORCPT ); Wed, 17 Jun 2020 06:50:55 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A97DDC061755; Wed, 17 Jun 2020 03:50:54 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id l11so1851337wru.0; Wed, 17 Jun 2020 03:50:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=q32jAFtYDGTd7ehWi2GSlZRUAUiNhVpvNu8v0nFr12M=; b=mkBUbRo4unyaF1QFGNtUiXARCSxOZ7YVOI8T6RO5PyY0F0M8fuaTnhOuf86mnWdMVH 3Zkdh5odX0zsx24/FFK7pH3rimS/J0e7MIgWMPpcsQJgMXyJSXlfj+3vr9kcIkxjjmvA EHcvdt94qRwnFhXFNLLKcb06Ejyzyvy67xB/Z351JE9Y+qE+o9vgnWlAmSFHN+L7VhLB Zq/RvPYcdxLAZGPDSQ/LY6XwzQpbZVmtzmzSbNggYEdnwP1lfdk9zWdouEUs8dhbhFdT D30ljuOZNx9ZmElSTm+op3xiAGkWeNqiE0U1RPJCXdgcYoHbaPLYTjL4ACv1JKpR1ebE +1eA== 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=q32jAFtYDGTd7ehWi2GSlZRUAUiNhVpvNu8v0nFr12M=; b=QEzl0utFUpcLcPcyt2OnqMKoU6G7FR+VvhVR7Bpzkyc0QL8E5u77ULj468nGnl/KiG 8WmDGefpApVmUq4yOriPqec23a3cc9EE4lto7RtKxnxSr8sVbNl6xA+nEmi+SjgRZafu 87WuqqHR8ZT3l89XNAxiT9L/Ns50JHaxaOd42EFtjptxdNibP/r2wx9sO7qJ97cHoQV0 TFuWeUwvILyQ+QaKXZ/23YFSzP1Cv5qnQJeLLGODq7yy3ql5AGbqQFSyPAwCk976NGZm aytUX2xOua9oaGy81boHJsE3zTKlrqAM6bSEMph+Ad1J5QsyVhIIjONhCFj11ejUUDRA O15g== X-Gm-Message-State: AOAM533vdt5SLNJFciawodXbrznn340HW0X8eORrqMPKeZy/xaSv7ERD FlEUS50v9xO0O8dGR+E69HY3S+3sG7og+g== X-Received: by 2002:adf:f5d0:: with SMTP id k16mr8280025wrp.288.1592391052614; Wed, 17 Jun 2020 03:50:52 -0700 (PDT) Received: from skynet.lan (90.red-88-20-62.staticip.rima-tde.net. [88.20.62.90]) by smtp.gmail.com with ESMTPSA id u12sm33331927wrq.90.2020.06.17.03.50.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jun 2020 03:50:52 -0700 (PDT) From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= To: p.zabel@pengutronix.de, robh+dt@kernel.org, tsbogend@alpha.franken.de, f.fainelli@gmail.com, jonas.gorski@gmail.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com Cc: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= , Florian Fainelli Subject: [PATCH v7 9/9] mips: bmips: add BCM6318 reset controller definitions Date: Wed, 17 Jun 2020 12:50:41 +0200 Message-Id: <20200617105042.3824116-10-noltari@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200617105042.3824116-1-noltari@gmail.com> References: <20200617105042.3824116-1-noltari@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org BCM6318 SoCs have a reset controller for certain components. Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli --- v7: no changes. v6: fix BCM6318_RST_HOSTMIPS value (12 vs 11). v5: no changes. v4: no changes. v3: add new path with BCM6318 reset controller definitions. include/dt-bindings/reset/bcm6318-reset.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 include/dt-bindings/reset/bcm6318-reset.h diff --git a/include/dt-bindings/reset/bcm6318-reset.h b/include/dt-bindings/reset/bcm6318-reset.h new file mode 100644 index 000000000000..f882662505ea --- /dev/null +++ b/include/dt-bindings/reset/bcm6318-reset.h @@ -0,0 +1,20 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ + +#ifndef __DT_BINDINGS_RESET_BCM6318_H +#define __DT_BINDINGS_RESET_BCM6318_H + +#define BCM6318_RST_SPI 0 +#define BCM6318_RST_EPHY 1 +#define BCM6318_RST_SAR 2 +#define BCM6318_RST_ENETSW 3 +#define BCM6318_RST_USBD 4 +#define BCM6318_RST_USBH 5 +#define BCM6318_RST_PCIE_CORE 6 +#define BCM6318_RST_PCIE 7 +#define BCM6318_RST_PCIE_EXT 8 +#define BCM6318_RST_PCIE_HARD 9 +#define BCM6318_RST_ADSL 10 +#define BCM6318_RST_PHYMIPS 11 +#define BCM6318_RST_HOSTMIPS 12 + +#endif /* __DT_BINDINGS_RESET_BCM6318_H */ -- 2.27.0