From: "Álvaro Fernández Rojas" <noltari@gmail.com>
To: f.fainelli@gmail.com, robh+dt@kernel.org,
tsbogend@alpha.franken.de, jonas.gorski@gmail.com,
bcm-kernel-feedback-list@broadcom.com,
linux-mips@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: "Álvaro Fernández Rojas" <noltari@gmail.com>
Subject: [PATCH 14/14] mips: bmips: bcm63268: include and use dt-bindings
Date: Wed, 12 Aug 2020 08:31:29 +0200 [thread overview]
Message-ID: <20200812063129.361862-15-noltari@gmail.com> (raw)
In-Reply-To: <20200812063129.361862-1-noltari@gmail.com>
Now that there are proper device tree bindings we can start using them.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
---
arch/mips/boot/dts/brcm/bcm63268.dtsi | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/arch/mips/boot/dts/brcm/bcm63268.dtsi b/arch/mips/boot/dts/brcm/bcm63268.dtsi
index beec24145af7..17d744db8211 100644
--- a/arch/mips/boot/dts/brcm/bcm63268.dtsi
+++ b/arch/mips/boot/dts/brcm/bcm63268.dtsi
@@ -1,4 +1,8 @@
// SPDX-License-Identifier: GPL-2.0
+
+#include "dt-bindings/clock/bcm63268-clock.h"
+#include "dt-bindings/interrupt-controller/bcm63268-interrupt-controller.h"
+
/ {
#address-cells = <1>;
#size-cells = <1>;
@@ -87,7 +91,7 @@ uart0: serial@10000180 {
reg = <0x10000180 0x18>;
interrupt-parent = <&periph_intc>;
- interrupts = <5>;
+ interrupts = <BCM63268_IRQ_UART0>;
clocks = <&periph_clk>;
clock-names = "refclk";
@@ -100,7 +104,7 @@ uart1: serial@100001a0 {
reg = <0x100001a0 0x18>;
interrupt-parent = <&periph_intc>;
- interrupts = <34>;
+ interrupts = <BCM63268_IRQ_UART1>;
clocks = <&periph_clk>;
clock-names = "refclk";
@@ -123,7 +127,7 @@ ehci: usb@10002500 {
big-endian;
interrupt-parent = <&periph_intc>;
- interrupts = <10>;
+ interrupts = <BCM63268_IRQ_EHCI>;
status = "disabled";
};
@@ -135,7 +139,7 @@ ohci: usb@10002600 {
no-big-frame-no;
interrupt-parent = <&periph_intc>;
- interrupts = <9>;
+ interrupts = <BCM63268_IRQ_OHCI>;
status = "disabled";
};
--
2.28.0
next prev parent reply other threads:[~2020-08-12 6:31 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-12 6:31 [PATCH 00/14] mips: bmips: include dt-bindings headers Álvaro Fernández Rojas
2020-08-12 6:31 ` [PATCH 01/14] mips: dts: brcm: allow including header files Álvaro Fernández Rojas
2020-08-13 16:55 ` Florian Fainelli
2020-08-12 6:31 ` [PATCH 02/14] mips: bmips: add BCM3368 irq definitions Álvaro Fernández Rojas
2020-08-13 16:55 ` Florian Fainelli
2020-08-12 6:31 ` [PATCH 03/14] mips: bmips: add BCM6318 " Álvaro Fernández Rojas
2020-08-13 16:57 ` Florian Fainelli
2020-08-12 6:31 ` [PATCH 04/14] mips: bmips: add BCM6328 " Álvaro Fernández Rojas
2020-08-13 17:01 ` Florian Fainelli
2020-08-12 6:31 ` [PATCH 05/14] mips: bmips: add BCM6358 " Álvaro Fernández Rojas
2020-08-13 17:02 ` Florian Fainelli
2020-08-12 6:31 ` [PATCH 06/14] mips: bmips: add BCM6362 " Álvaro Fernández Rojas
2020-08-13 17:02 ` Florian Fainelli
2020-08-12 6:31 ` [PATCH 07/14] mips: bmips: add BCM6368 " Álvaro Fernández Rojas
2020-08-13 17:02 ` Florian Fainelli
2020-08-12 6:31 ` [PATCH 08/14] mips: bmips: add BCM63268 " Álvaro Fernández Rojas
2020-08-13 17:02 ` Florian Fainelli
2020-08-12 6:31 ` [PATCH 09/14] mips: bmips: bcm3368: include and use dt-bindings Álvaro Fernández Rojas
2020-08-13 16:58 ` Florian Fainelli
2020-08-12 6:31 ` [PATCH 10/14] mips: bmips: bcm6328: " Álvaro Fernández Rojas
2020-08-13 16:59 ` Florian Fainelli
2020-08-12 6:31 ` [PATCH 11/14] mips: bmips: bcm6358: " Álvaro Fernández Rojas
2020-08-13 16:59 ` Florian Fainelli
2020-08-12 6:31 ` [PATCH 12/14] mips: bmips: bcm6362: " Álvaro Fernández Rojas
2020-08-13 16:59 ` Florian Fainelli
2020-08-12 6:31 ` [PATCH 13/14] mips: bmips: bcm6368: " Álvaro Fernández Rojas
2020-08-13 17:00 ` Florian Fainelli
2020-08-12 6:31 ` Álvaro Fernández Rojas [this message]
2020-08-13 17:00 ` [PATCH 14/14] mips: bmips: bcm63268: " Florian Fainelli
2020-08-24 23:15 ` [PATCH 00/14] mips: bmips: include dt-bindings headers Rob Herring
2021-02-24 9:38 ` [PATCH 0/7] " Álvaro Fernández Rojas
2021-02-24 9:38 ` [PATCH 1/7] mips: dts: brcm: allow including header files Álvaro Fernández Rojas
2021-02-24 9:38 ` [PATCH 2/7] mips: bmips: bcm3368: include dt-bindings Álvaro Fernández Rojas
2021-02-24 9:38 ` [PATCH 3/7] mips: bmips: bcm6328: " Álvaro Fernández Rojas
2021-02-24 9:38 ` [PATCH 4/7] mips: bmips: bcm6358: " Álvaro Fernández Rojas
2021-02-24 9:38 ` [PATCH 5/7] mips: bmips: bcm6362: " Álvaro Fernández Rojas
2021-02-24 9:38 ` [PATCH 6/7] mips: bmips: bcm6368: " Álvaro Fernández Rojas
2021-02-24 9:38 ` [PATCH 7/7] mips: bmips: bcm63268: " Álvaro Fernández Rojas
2021-03-12 10:29 ` [PATCH 0/7] mips: bmips: include dt-bindings headers Thomas Bogendoerfer
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=20200812063129.361862-15-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=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).