diff options
author | Luka Perkov <luka@openwrt.org> | 2013-10-02 00:33:47 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2013-10-02 00:33:47 +0000 |
commit | 417ec27a08b7019cd0380d9fdbea4680bf7a2fbc (patch) | |
tree | 46a17cfdfe54d9f96fdfb53263ba377c738d1bff /target/linux/kirkwood/patches-3.10/0013-arm-kirkwood-convert-MPL-CEC4-to-use-DT-for-the-PCIe.patch | |
parent | 882530853b300ddd8abe5917c0b8356280f8356b (diff) | |
download | upstream-417ec27a08b7019cd0380d9fdbea4680bf7a2fbc.tar.gz upstream-417ec27a08b7019cd0380d9fdbea4680bf7a2fbc.tar.bz2 upstream-417ec27a08b7019cd0380d9fdbea4680bf7a2fbc.zip |
kirkwood: add linux 3.10 support
Backport appropriate patches to allow using device tree only board
defintions.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38280 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/kirkwood/patches-3.10/0013-arm-kirkwood-convert-MPL-CEC4-to-use-DT-for-the-PCIe.patch')
-rw-r--r-- | target/linux/kirkwood/patches-3.10/0013-arm-kirkwood-convert-MPL-CEC4-to-use-DT-for-the-PCIe.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/target/linux/kirkwood/patches-3.10/0013-arm-kirkwood-convert-MPL-CEC4-to-use-DT-for-the-PCIe.patch b/target/linux/kirkwood/patches-3.10/0013-arm-kirkwood-convert-MPL-CEC4-to-use-DT-for-the-PCIe.patch new file mode 100644 index 0000000000..b3c704cf8e --- /dev/null +++ b/target/linux/kirkwood/patches-3.10/0013-arm-kirkwood-convert-MPL-CEC4-to-use-DT-for-the-PCIe.patch @@ -0,0 +1,50 @@ +From b3e3851d461779cd94a2efe4484f01175fcb460e Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> +Date: Wed, 10 Apr 2013 23:05:32 +0200 +Subject: [PATCH 13/29] arm: kirkwood: convert MPL CEC4 to use DT for the PCIe + interface + +Now that the PCIe mvebu driver is usable on Kirkwood, use it instead +of the legacy PCIe code, since it allows to describe the PCIe +interfaces in the Device Tree. + +Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> +--- + arch/arm/boot/dts/kirkwood-mplcec4.dts | 8 ++++++++ + arch/arm/mach-kirkwood/board-mplcec4.c | 1 - + 2 files changed, 8 insertions(+), 1 deletion(-) + +diff --git a/arch/arm/boot/dts/kirkwood-mplcec4.dts b/arch/arm/boot/dts/kirkwood-mplcec4.dts +index 7588241..90501cf 100644 +--- a/arch/arm/boot/dts/kirkwood-mplcec4.dts ++++ b/arch/arm/boot/dts/kirkwood-mplcec4.dts +@@ -139,6 +139,14 @@ + cd-gpios = <&gpio1 15 0>; + /* No WP GPIO */ + }; ++ ++ pcie-controller { ++ status = "okay"; ++ ++ pcie@1,0 { ++ status = "okay"; ++ }; ++ }; + }; + + gpio-leds { +diff --git a/arch/arm/mach-kirkwood/board-mplcec4.c b/arch/arm/mach-kirkwood/board-mplcec4.c +index 7d6dc66..938712e 100644 +--- a/arch/arm/mach-kirkwood/board-mplcec4.c ++++ b/arch/arm/mach-kirkwood/board-mplcec4.c +@@ -29,7 +29,6 @@ void __init mplcec4_init(void) + */ + kirkwood_ge00_init(&mplcec4_ge00_data); + kirkwood_ge01_init(&mplcec4_ge01_data); +- kirkwood_pcie_init(KW_PCIE0); + } + + +-- +1.8.4.rc1 + |