[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1459685585-11747-2-git-send-email-noltari@gmail.com>
Date: Sun, 3 Apr 2016 14:13:04 +0200
From: Álvaro Fernández Rojas
<noltari@...il.com>
To: linux-mips@...ux-mips.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, f.fainelli@...il.com,
jogo@...nwrt.org, cernekee@...il.com, simon@...e.lp0.eu
Cc: Álvaro Fernández Rojas
<noltari@...il.com>
Subject: [PATCH 2/3] MIPS: BMIPS: improve BCM6358 device tree
- 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@...il.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@...e0000 {
compatible = "syscon";
reg = <0xfffe0000 0xc>;
- little-endian;
+ native-endian;
};
reboot: syscon-reboot@...e0008 {
@@ -64,15 +64,15 @@
};
periph_intc: interrupt-controller@...e000c {
- 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@...e00d0 {
@@ -107,5 +107,24 @@
status = "disabled";
};
+
+ ehci0: usb@...e1300 {
+ compatible = "brcm,bcm6358-ehci", "generic-ehci";
+ reg = <0xfffe1300 0x100>;
+ big-endian;
+ interrupt-parent = <&periph_intc>;
+ interrupts = <10>;
+ status = "disabled";
+ };
+
+ ohci0: usb@...e1400 {
+ 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
Powered by blists - more mailing lists