summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts
diff options
context:
space:
mode:
authorTobias Wolf <github-NTEO@vplace.de>2016-11-15 22:31:16 +0100
committerMathias Kresin <dev@kresin.me>2016-12-04 07:03:17 +0100
commit13c0d208b23ef82f870b55d965326f313bdbc27b (patch)
tree58ab9ee57da01e3b5544651fa7c358fa6dab23bb /target/linux/ramips/dts
parentc2ed721e89156d3b37d2bcbc9155f31bb1aa97b2 (diff)
downloadmtk-20170518-13c0d208b23ef82f870b55d965326f313bdbc27b.zip
mtk-20170518-13c0d208b23ef82f870b55d965326f313bdbc27b.tar.gz
mtk-20170518-13c0d208b23ef82f870b55d965326f313bdbc27b.tar.bz2
ramips: introduce CONFIG_PCI and CONFIG_OF_*PCI for rt288x
This is a prerequisite for F5D8235 V1 to use PCI based OHCI/EHCI. Signed-off-by: Tobias Wolf <github-NTEO@vplace.de>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r--target/linux/ramips/dts/F5D8235_V1.dts4
-rw-r--r--target/linux/ramips/dts/WZR-AGL300NH.dts4
-rw-r--r--target/linux/ramips/dts/rt2880.dtsi8
3 files changed, 12 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/F5D8235_V1.dts b/target/linux/ramips/dts/F5D8235_V1.dts
index 4d95860..8fcf1f0 100644
--- a/target/linux/ramips/dts/F5D8235_V1.dts
+++ b/target/linux/ramips/dts/F5D8235_V1.dts
@@ -11,6 +11,10 @@
compatible = "F5D8235_V1", "ralink,rt2880-soc";
model = "Belkin F5D8235 v1";
+ pci@440000 {
+ status = "ok";
+ };
+
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0xbc400000 0x800000>;
diff --git a/target/linux/ramips/dts/WZR-AGL300NH.dts b/target/linux/ramips/dts/WZR-AGL300NH.dts
index 0f2a73a..c644df4 100644
--- a/target/linux/ramips/dts/WZR-AGL300NH.dts
+++ b/target/linux/ramips/dts/WZR-AGL300NH.dts
@@ -11,10 +11,6 @@
model = "Buffalo WZR-AGL300NH";
pci@440000 {
- compatible = "ralink,rt288x-pci";
- reg = <0x00440000 0x20000>;
- #address-cells = <1>;
- #size-cells = <1>;
status = "ok";
};
diff --git a/target/linux/ramips/dts/rt2880.dtsi b/target/linux/ramips/dts/rt2880.dtsi
index c2ead2c..2d6230c 100644
--- a/target/linux/ramips/dts/rt2880.dtsi
+++ b/target/linux/ramips/dts/rt2880.dtsi
@@ -186,6 +186,14 @@
#clock-cells = <1>;
};
+ pci: pci@440000 {
+ compatible = "ralink,rt288x-pci";
+ reg = <0x00440000 0x20000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ status = "disabled";
+ };
+
ethernet: ethernet@400000 {
compatible = "ralink,rt2880-eth";
reg = <0x00400000 0x10000>;