Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1370206

[PATCH 2/3] MIPS: BMIPS: improve BCM6358 device tree

From Álvaro Fernández Rojas <noltari@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 2/3] MIPS: BMIPS: improve BCM6358 device tree
Date 2016-04-03 14:20 +0200
Message-ID <rjPay-3aR-5@gated-at.bofh.it> (permalink)
References <rjPay-3aR-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


- Switch to bcm6345-l1-intc interrupt controller.
- Add ehci0 and ohci0 nodes.
- Use proper native-endian syscon property.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
---
 arch/mips/boot/dts/brcm/bcm6358.dtsi | 29 ++++++++++++++++++++++++-----
 1 file changed, 24 insertions(+), 5 deletions(-)

diff --git a/arch/mips/boot/dts/brcm/bcm6358.dtsi b/arch/mips/boot/dts/brcm/bcm6358.dtsi
index 5ac1ef0..5dc8432 100644
--- a/arch/mips/boot/dts/brcm/bcm6358.dtsi
+++ b/arch/mips/boot/dts/brcm/bcm6358.dtsi
@@ -53,7 +53,7 @@
 		periph_cntl: syscon@fffe0000 {
 			compatible = "syscon";
 			reg = <0xfffe0000 0xc>;
-			little-endian;
+			native-endian;
 		};
 
 		reboot: syscon-reboot@fffe0008 {
@@ -64,15 +64,15 @@
 		};
 
 		periph_intc: interrupt-controller@fffe000c {
-			compatible = "brcm,bcm3380-l2-intc";
-			reg = <0xfffe0010 0x4 0xfffe000c 0x4>,
-			      <0xfffe003c 0x4 0xfffe0038 0x4>;
+			compatible = "brcm,bcm6345-l1-intc";
+			reg = <0xfffe000c 0x8>,
+			      <0xfffe0038 0x8>;
 
 			interrupt-controller;
 			#interrupt-cells = <1>;
 
 			interrupt-parent = <&cpu_intc>;
-			interrupts = <2>;
+			interrupts = <2>, <3>;
 		};
 
 		leds0: led-controller@fffe00d0 {
@@ -107,5 +107,24 @@
 
 			status = "disabled";
 		};
+
+		ehci0: usb@fffe1300 {
+			compatible = "brcm,bcm6358-ehci", "generic-ehci";
+			reg = <0xfffe1300 0x100>;
+			big-endian;
+			interrupt-parent = <&periph_intc>;
+			interrupts = <10>;
+			status = "disabled";
+		};
+
+		ohci0: usb@fffe1400 {
+			compatible = "brcm,bcm6358-ohci", "generic-ohci";
+			reg = <0xfffe1400 0x100>;
+			big-endian;
+			no-big-frame-no;
+			interrupt-parent = <&periph_intc>;
+			interrupts = <5>;
+			status = "disabled";
+		};
 	};
 };
-- 
2.1.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 2/3] MIPS: BMIPS: improve BCM6358 device tree Álvaro Fernández Rojas   <noltari@gmail.com> - 2016-04-03 14:20 +0200
  Re: [PATCH 2/3] MIPS: BMIPS: improve BCM6358 device tree Ralf Baechle <ralf@linux-mips.org> - 2016-04-04 01:20 +0200
    Re: [PATCH 2/3] MIPS: BMIPS: improve BCM6358 device tree Álvaro Fernández Rojas <noltari@gmail.com> - 2016-04-04 10:20 +0200

csiph-web