@@ -1,4 +1,8 @@
// SPDX-License-Identifier: GPL-2.0
+
+#include "dt-bindings/clock/bcm6358-clock.h"
+#include "dt-bindings/interrupt-controller/bcm6358-interrupt-controller.h"
+
/ {
#address-cells = <1>;
#size-cells = <1>;
@@ -96,7 +100,7 @@ uart0: serial@fffe0100 {
reg = <0xfffe0100 0x18>;
interrupt-parent = <&periph_intc>;
- interrupts = <2>;
+ interrupts = <BCM6358_IRQ_UART0>;
clocks = <&periph_clk>;
clock-names = "refclk";
@@ -109,7 +113,7 @@ uart1: serial@fffe0120 {
reg = <0xfffe0120 0x18>;
interrupt-parent = <&periph_intc>;
- interrupts = <3>;
+ interrupts = <BCM6358_IRQ_UART1>;
clocks = <&periph_clk>;
clock-names = "refclk";
@@ -122,7 +126,7 @@ ehci: usb@fffe1300 {
reg = <0xfffe1300 0x100>;
big-endian;
interrupt-parent = <&periph_intc>;
- interrupts = <10>;
+ interrupts = <BCM6358_IRQ_EHCI>;
status = "disabled";
};
@@ -132,7 +136,7 @@ ohci: usb@fffe1400 {
big-endian;
no-big-frame-no;
interrupt-parent = <&periph_intc>;
- interrupts = <5>;
+ interrupts = <BCM6358_IRQ_OHCI>;
status = "disabled";
};
};
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/bcm6358.dtsi | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)