aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/patches-3.10/052-bcm53xx-register-bcma-bus.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2014-02-04 23:00:55 +0000
committerHauke Mehrtens <hauke@openwrt.org>2014-02-04 23:00:55 +0000
commitaa71585668fcbf2c98ed29c5360ed8196b14518e (patch)
tree70a7a284d1c07dc913b5df6027b4248c2e6962f4 /target/linux/bcm53xx/patches-3.10/052-bcm53xx-register-bcma-bus.patch
parent346da3bd4e67f9c8ceac0895a6d5a637f182b93d (diff)
downloadmaster-187ad058-aa71585668fcbf2c98ed29c5360ed8196b14518e.tar.gz
master-187ad058-aa71585668fcbf2c98ed29c5360ed8196b14518e.tar.bz2
master-187ad058-aa71585668fcbf2c98ed29c5360ed8196b14518e.zip
bcm53xx: update the bcm53xx patches
This does not add any new features, just some changes to the patches and a first try to use dt to set the irqs. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39466 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/bcm53xx/patches-3.10/052-bcm53xx-register-bcma-bus.patch')
-rw-r--r--target/linux/bcm53xx/patches-3.10/052-bcm53xx-register-bcma-bus.patch60
1 files changed, 49 insertions, 11 deletions
diff --git a/target/linux/bcm53xx/patches-3.10/052-bcm53xx-register-bcma-bus.patch b/target/linux/bcm53xx/patches-3.10/052-bcm53xx-register-bcma-bus.patch
index 249717ffb2..aa2414df84 100644
--- a/target/linux/bcm53xx/patches-3.10/052-bcm53xx-register-bcma-bus.patch
+++ b/target/linux/bcm53xx/patches-3.10/052-bcm53xx-register-bcma-bus.patch
@@ -1,21 +1,59 @@
-bcm53xx: register bcma bus
+From 22b90bcf616578abe09845c72317ce53312f7faf Mon Sep 17 00:00:00 2001
+From: Hauke Mehrtens <hauke@hauke-m.de>
+Date: Sat, 25 Jan 2014 17:03:07 +0100
+Subject: [PATCH 8/8] ARM: BCM5301X: register bcma bus
-Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
- arch/arm/boot/dts/bcm4708.dtsi | 5 +++++
- 1 file changed, 5 insertions(+)
+ arch/arm/boot/dts/bcm4708.dtsi | 43 ++++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 43 insertions(+)
--- a/arch/arm/boot/dts/bcm4708.dtsi
+++ b/arch/arm/boot/dts/bcm4708.dtsi
-@@ -72,6 +72,11 @@
- <0x19020100 0x100>;
+@@ -31,4 +31,47 @@
+ };
};
-+ bus@18000000 {
++ aix@18000000 {
+ compatible = "brcm,bus-aix";
+ reg = <0x18000000 0x1000>;
-+ };
++ ranges = <0x00000000 0x18000000 0x00100000>;
++ #address-cells = <1>;
++ #size-cells = <1>;
++
++ usb2@0 {
++ compatible = "brcm,northstar-usb2";
++ reg = <0x18021000 0x1000>;
++ interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
++ };
++
++ usb3@0 {
++ compatible = "brcm,northstar-usb3";
++ reg = <0x18023000 0x1000>;
++ interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
++ };
++
++ gmac@0 {
++ compatible = "brcm,northstar-gmac";
++ reg = <0x18024000 0x1000>;
++ interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
++ };
+
- timer@19020200 {
- compatible = "arm,cortex-a9-global-timer";
- reg = <0x19020200 0x100>;
++ gmac@1 {
++ compatible = "brcm,northstar-gmac";
++ reg = <0x18025000 0x1000>;
++ interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
++ };
++
++ gmac@2 {
++ compatible = "brcm,northstar-gmac";
++ reg = <0x18026000 0x1000>;
++ interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
++ };
++
++ gmac@3 {
++ compatible = "brcm,northstar-gmac";
++ reg = <0x18027000 0x1000>;
++ interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
++ };
++ };
+ };