mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
38936426f7
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38295
65 lines
1.7 KiB
Diff
65 lines
1.7 KiB
Diff
From c184303509ea2ee9d519db5dbfb2063efca098f7 Mon Sep 17 00:00:00 2001
|
|
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
Date: Wed, 15 May 2013 15:37:00 +0200
|
|
Subject: [PATCH 15/29] arm: kirkwood: convert QNAP TS219 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>
|
|
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
|
|
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
|
|
---
|
|
arch/arm/boot/dts/kirkwood-ts219-6281.dts | 3 ++-
|
|
arch/arm/boot/dts/kirkwood-ts219-6282.dts | 3 ++-
|
|
arch/arm/boot/dts/kirkwood-ts219.dtsi | 9 +++++++--
|
|
3 files changed, 11 insertions(+), 4 deletions(-)
|
|
|
|
--- a/arch/arm/boot/dts/kirkwood-ts219-6281.dts
|
|
+++ b/arch/arm/boot/dts/kirkwood-ts219-6281.dts
|
|
@@ -1,7 +1,8 @@
|
|
/dts-v1/;
|
|
|
|
-/include/ "kirkwood-ts219.dtsi"
|
|
+/include/ "kirkwood.dtsi"
|
|
/include/ "kirkwood-6281.dtsi"
|
|
+/include/ "kirkwood-ts219.dtsi"
|
|
|
|
/ {
|
|
ocp@f1000000 {
|
|
--- a/arch/arm/boot/dts/kirkwood-ts219-6282.dts
|
|
+++ b/arch/arm/boot/dts/kirkwood-ts219-6282.dts
|
|
@@ -1,7 +1,8 @@
|
|
/dts-v1/;
|
|
|
|
-/include/ "kirkwood-ts219.dtsi"
|
|
+/include/ "kirkwood.dtsi"
|
|
/include/ "kirkwood-6282.dtsi"
|
|
+/include/ "kirkwood-ts219.dtsi"
|
|
|
|
/ {
|
|
ocp@f1000000 {
|
|
--- a/arch/arm/boot/dts/kirkwood-ts219.dtsi
|
|
+++ b/arch/arm/boot/dts/kirkwood-ts219.dtsi
|
|
@@ -1,5 +1,3 @@
|
|
-/include/ "kirkwood.dtsi"
|
|
-
|
|
/ {
|
|
model = "QNAP TS219 family";
|
|
compatible = "qnap,ts219", "marvell,kirkwood";
|
|
@@ -74,5 +72,12 @@
|
|
status = "okay";
|
|
nr-ports = <2>;
|
|
};
|
|
+ pcie-controller {
|
|
+ status = "okay";
|
|
+
|
|
+ pcie@1,0 {
|
|
+ status = "okay";
|
|
+ };
|
|
+ };
|
|
};
|
|
};
|