All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Álvaro Fernández Rojas" <noltari@gmail.com>
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: "Álvaro Fernández Rojas" <noltari@gmail.com>
Subject: [PATCH v7 8/9] mips: bmips: dts: add BCM63268 reset controller support
Date: Wed, 17 Jun 2020 12:50:40 +0200	[thread overview]
Message-ID: <20200617105042.3824116-9-noltari@gmail.com> (raw)
In-Reply-To: <20200617105042.3824116-1-noltari@gmail.com>

BCM63268 SoCs have a reset controller for certain components.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
---
 v7: no changes.
 v6: no changes.
 v5: no changes.
 v4: no changes.
 v3: add new path with BCM63268 reset controller support.

 arch/mips/boot/dts/brcm/bcm63268.dtsi      |  6 +++++
 include/dt-bindings/reset/bcm63268-reset.h | 26 ++++++++++++++++++++++
 2 files changed, 32 insertions(+)
 create mode 100644 include/dt-bindings/reset/bcm63268-reset.h

diff --git a/arch/mips/boot/dts/brcm/bcm63268.dtsi b/arch/mips/boot/dts/brcm/bcm63268.dtsi
index beec24145af7..0150da7e3905 100644
--- a/arch/mips/boot/dts/brcm/bcm63268.dtsi
+++ b/arch/mips/boot/dts/brcm/bcm63268.dtsi
@@ -70,6 +70,12 @@ reboot: syscon-reboot@10000008 {
 			mask = <0x1>;
 		};
 
+		periph_rst: reset-controller@10000010 {
+			compatible = "brcm,bcm6345-reset";
+			reg = <0x10000010 0x4>;
+			#reset-cells = <1>;
+		};
+
 		periph_intc: interrupt-controller@10000020 {
 			compatible = "brcm,bcm6345-l1-intc";
 			reg = <0x10000020 0x20>,
diff --git a/include/dt-bindings/reset/bcm63268-reset.h b/include/dt-bindings/reset/bcm63268-reset.h
new file mode 100644
index 000000000000..6a6403a4c2d5
--- /dev/null
+++ b/include/dt-bindings/reset/bcm63268-reset.h
@@ -0,0 +1,26 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+
+#ifndef __DT_BINDINGS_RESET_BCM63268_H
+#define __DT_BINDINGS_RESET_BCM63268_H
+
+#define BCM63268_RST_SPI	0
+#define BCM63268_RST_IPSEC	1
+#define BCM63268_RST_EPHY	2
+#define BCM63268_RST_SAR	3
+#define BCM63268_RST_ENETSW	4
+#define BCM63268_RST_USBS	5
+#define BCM63268_RST_USBH	6
+#define BCM63268_RST_PCM	7
+#define BCM63268_RST_PCIE_CORE	8
+#define BCM63268_RST_PCIE	9
+#define BCM63268_RST_PCIE_EXT	10
+#define BCM63268_RST_WLAN_SHIM	11
+#define BCM63268_RST_DDR_PHY	12
+#define BCM63268_RST_FAP0	13
+#define BCM63268_RST_WLAN_UBUS	14
+#define BCM63268_RST_DECT	15
+#define BCM63268_RST_FAP1	16
+#define BCM63268_RST_PCIE_HARD	17
+#define BCM63268_RST_GPHY	18
+
+#endif /* __DT_BINDINGS_RESET_BCM63268_H */
-- 
2.27.0


  parent reply	other threads:[~2020-06-17 10:51 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-17 10:50 [PATCH v7 0/9] bmips: add bcm6345 reset controller support Álvaro Fernández Rojas
2020-06-17 10:50 ` [PATCH v7 1/9] mips: bmips: select ARCH_HAS_RESET_CONTROLLER Álvaro Fernández Rojas
2020-06-17 10:50 ` [PATCH v7 2/9] dt-bindings: reset: add BCM6345 reset controller bindings Álvaro Fernández Rojas
2020-07-09 20:26   ` Rob Herring
2020-06-17 10:50 ` [PATCH v7 3/9] reset: add BCM6345 reset controller driver Álvaro Fernández Rojas
2020-06-17 10:50 ` [PATCH v7 4/9] mips: bmips: dts: add BCM6328 reset controller support Álvaro Fernández Rojas
2020-07-09 20:26   ` Rob Herring
2020-06-17 10:50 ` [PATCH v7 5/9] mips: bmips: dts: add BCM6358 " Álvaro Fernández Rojas
2020-07-09 20:27   ` Rob Herring
2020-06-17 10:50 ` [PATCH v7 6/9] mips: bmips: dts: add BCM6362 " Álvaro Fernández Rojas
2020-07-09 20:27   ` Rob Herring
2020-06-17 10:50 ` [PATCH v7 7/9] mips: bmips: dts: add BCM6368 " Álvaro Fernández Rojas
2020-07-09 20:27   ` Rob Herring
2020-06-17 10:50 ` Álvaro Fernández Rojas [this message]
2020-07-09 20:28   ` [PATCH v7 8/9] mips: bmips: dts: add BCM63268 " Rob Herring
2020-06-17 10:50 ` [PATCH v7 9/9] mips: bmips: add BCM6318 reset controller definitions Álvaro Fernández Rojas
2020-07-09 20:28   ` Rob Herring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200617105042.3824116-9-noltari@gmail.com \
    --to=noltari@gmail.com \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=devicetree@vger.kernel.org \
    --cc=f.fainelli@gmail.com \
    --cc=jonas.gorski@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=p.zabel@pengutronix.de \
    --cc=robh+dt@kernel.org \
    --cc=tsbogend@alpha.franken.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.