lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 12 Aug 2020 08:31:24 +0200
From:   Álvaro Fernández Rojas 
        <noltari@...il.com>
To:     f.fainelli@...il.com, robh+dt@...nel.org,
        tsbogend@...ha.franken.de, jonas.gorski@...il.com,
        bcm-kernel-feedback-list@...adcom.com, linux-mips@...r.kernel.org,
        devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Cc:     Álvaro Fernández Rojas 
        <noltari@...il.com>
Subject: [PATCH 09/14] mips: bmips: bcm3368: include and use dt-bindings

Now that there are proper device tree bindings we can start using them.

Signed-off-by: Álvaro Fernández Rojas <noltari@...il.com>
---
 arch/mips/boot/dts/brcm/bcm3368.dtsi | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/arch/mips/boot/dts/brcm/bcm3368.dtsi b/arch/mips/boot/dts/brcm/bcm3368.dtsi
index 69cbef472377..63d844601718 100644
--- a/arch/mips/boot/dts/brcm/bcm3368.dtsi
+++ b/arch/mips/boot/dts/brcm/bcm3368.dtsi
@@ -1,4 +1,8 @@
 // SPDX-License-Identifier: GPL-2.0
+
+#include "dt-bindings/clock/bcm3368-clock.h"
+#include "dt-bindings/interrupt-controller/bcm3368-interrupt-controller.h"
+
 / {
 	#address-cells = <1>;
 	#size-cells = <1>;
@@ -86,7 +90,7 @@ uart0: serial@...8c100 {
 			reg = <0xfff8c100 0x18>;
 
 			interrupt-parent = <&periph_intc>;
-			interrupts = <2>;
+			interrupts = <BCM3368_IRQ_UART0>;
 
 			clocks = <&periph_clk>;
 			clock-names = "refclk";
@@ -99,7 +103,7 @@ uart1: serial@...8c120 {
 			reg = <0xfff8c120 0x18>;
 
 			interrupt-parent = <&periph_intc>;
-			interrupts = <3>;
+			interrupts = <BCM3368_IRQ_UART1>;
 
 			clocks = <&periph_clk>;
 			clock-names = "refclk";
-- 
2.28.0

Powered by blists - more mailing lists