diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2014-10-15 07:12:46 +0000 |
---|---|---|
committer | Rafał Miłecki <zajec5@gmail.com> | 2014-10-15 07:12:46 +0000 |
commit | c0af997c995685ffa428be7b2cde39d79a01c2e0 (patch) | |
tree | 06b4e1061acc2888e991ec4f689be05848f1f2a3 | |
parent | 19246191d3d1e001e40b8a23d70e6d3e5f0dd2b1 (diff) | |
download | upstream-c0af997c995685ffa428be7b2cde39d79a01c2e0.tar.gz upstream-c0af997c995685ffa428be7b2cde39d79a01c2e0.tar.bz2 upstream-c0af997c995685ffa428be7b2cde39d79a01c2e0.zip |
bcm53xx: fix Asus RT-N18U support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42924 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/bcm53xx/patches-3.14/304-ARM-BCM5301X-Add-DT-for-Asus-RT-N18U.patch | 33 |
1 files changed, 24 insertions, 9 deletions
diff --git a/target/linux/bcm53xx/patches-3.14/304-ARM-BCM5301X-Add-DT-for-Asus-RT-N18U.patch b/target/linux/bcm53xx/patches-3.14/304-ARM-BCM5301X-Add-DT-for-Asus-RT-N18U.patch index 474dcbab7d..68db912f86 100644 --- a/target/linux/bcm53xx/patches-3.14/304-ARM-BCM5301X-Add-DT-for-Asus-RT-N18U.patch +++ b/target/linux/bcm53xx/patches-3.14/304-ARM-BCM5301X-Add-DT-for-Asus-RT-N18U.patch @@ -1,4 +1,4 @@ -From 14126edd3b5cd6e08e46857283724f783db92c99 Mon Sep 17 00:00:00 2001 +From 3f3217b834f59c584f1a213c039349b4a3bb44d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com> Date: Thu, 9 Oct 2014 18:16:26 +0200 Subject: [PATCH] ARM: BCM5301X: Add DT for Asus RT-N18U @@ -8,25 +8,28 @@ Content-Transfer-Encoding: 8bit Signed-off-by: Rafał Miłecki <zajec5@gmail.com> --- - arch/arm/boot/dts/Makefile | 1 + + arch/arm/boot/dts/Makefile | 3 ++- arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts | 35 +++++++++++++++++++++++++++++ arch/arm/boot/dts/bcm47081.dtsi | 26 +++++++++++++++++++++ - 3 files changed, 62 insertions(+) + arch/arm/mach-bcm/bcm_5301x.c | 1 + + 4 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts create mode 100644 arch/arm/boot/dts/bcm47081.dtsi diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile -index 17c717b..77f932d 100644 +index 17c717b..330e0e0 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile -@@ -51,6 +51,7 @@ dtb-$(CONFIG_ARCH_BCM_MOBILE) += bcm11351-brt.dtb \ - bcm28155-ap.dtb - dtb-$(CONFIG_ARCH_BCM2835) += bcm2835-rpi-b.dtb +@@ -53,7 +53,8 @@ dtb-$(CONFIG_ARCH_BCM2835) += bcm2835-rpi-b.dtb dtb-$(CONFIG_ARCH_BCM_5301X) += \ -+ bcm47081-asus-rt-n18u.dtb \ bcm4708-buffalo-wzr-1750dhp.dtb \ bcm4708-netgear-r6250.dtb \ - bcm4708-netgear-r6300-v2.dtb +- bcm4708-netgear-r6300-v2.dtb ++ bcm4708-netgear-r6300-v2.dtb \ ++ bcm47081-asus-rt-n18u.dtb + dtb-$(CONFIG_ARCH_BERLIN) += \ + berlin2-sony-nsz-gs7.dtb \ + berlin2cd-google-chromecast.dtb diff --git a/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts b/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts new file mode 100644 index 0000000..e6347a9 @@ -100,6 +103,18 @@ index 0000000..f720012 + }; + }; +}; +diff --git a/arch/arm/mach-bcm/bcm_5301x.c b/arch/arm/mach-bcm/bcm_5301x.c +index b0a6da9..de29646 100644 +--- a/arch/arm/mach-bcm/bcm_5301x.c ++++ b/arch/arm/mach-bcm/bcm_5301x.c +@@ -81,6 +81,7 @@ static void bcm5301x_restart(enum reboot_mode mode, const char *cmd) + + static const char __initconst *bcm5301x_dt_compat[] = { + "brcm,bcm4708", ++ "brcm,bcm47081", + NULL, + }; + -- 1.8.4.5 |