diff mbox series

[12/14] mips: bmips: bcm6362: include and use dt-bindings

Message ID 20200812063129.361862-13-noltari@gmail.com (mailing list archive)
State Rejected
Headers show
Series mips: bmips: include dt-bindings headers | expand

Commit Message

Álvaro Fernández Rojas Aug. 12, 2020, 6:31 a.m. UTC
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/bcm6362.dtsi | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Comments

Florian Fainelli Aug. 13, 2020, 4:59 p.m. UTC | #1
On 8/11/2020 11:31 PM, Álvaro Fernández Rojas wrote:
> Now that there are proper device tree bindings we can start using them.
> 
> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

Acked-by: Florian Fainelli <f.fainelli@gmail.com>
diff mbox series

Patch

diff --git a/arch/mips/boot/dts/brcm/bcm6362.dtsi b/arch/mips/boot/dts/brcm/bcm6362.dtsi
index 8ae6981735b8..e6ec366818a9 100644
--- a/arch/mips/boot/dts/brcm/bcm6362.dtsi
+++ b/arch/mips/boot/dts/brcm/bcm6362.dtsi
@@ -1,4 +1,8 @@ 
 // SPDX-License-Identifier: GPL-2.0
+
+#include "dt-bindings/clock/bcm6362-clock.h"
+#include "dt-bindings/interrupt-controller/bcm6362-interrupt-controller.h"
+
 / {
 	#address-cells = <1>;
 	#size-cells = <1>;
@@ -87,7 +91,7 @@  uart0: serial@10000100 {
 			reg = <0x10000100 0x18>;
 
 			interrupt-parent = <&periph_intc>;
-			interrupts = <3>;
+			interrupts = <BCM6362_IRQ_UART0>;
 
 			clocks = <&periph_clk>;
 			clock-names = "refclk";
@@ -100,7 +104,7 @@  uart1: serial@10000120 {
 			reg = <0x10000120 0x18>;
 
 			interrupt-parent = <&periph_intc>;
-			interrupts = <4>;
+			interrupts = <BCM6362_IRQ_UART1>;
 
 			clocks = <&periph_clk>;
 			clock-names = "refclk";
@@ -123,7 +127,7 @@  ehci: usb@10002500 {
 			big-endian;
 
 			interrupt-parent = <&periph_intc>;
-			interrupts = <10>;
+			interrupts = <BCM6362_IRQ_EHCI>;
 
 			status = "disabled";
 		};
@@ -135,7 +139,7 @@  ohci: usb@10002600 {
 			no-big-frame-no;
 
 			interrupt-parent = <&periph_intc>;
-			interrupts = <9>;
+			interrupts = <BCM6362_IRQ_OHCI>;
 
 			status = "disabled";
 		};