diff options
author | John Crispin <john@openwrt.org> | 2014-11-14 16:53:07 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-11-14 16:53:07 +0000 |
commit | 66463a5b5d821352ac0fdcb1ee6a12c3336c51a1 (patch) | |
tree | 55581a710ef93092f440eea4ea30db4bf30882c0 /target/linux/ramips/dts/mt7628an.dtsi | |
parent | 7963782b8626e87906e4db6338b5508a080c29a1 (diff) | |
download | mtk-20170518-66463a5b5d821352ac0fdcb1ee6a12c3336c51a1.zip mtk-20170518-66463a5b5d821352ac0fdcb1ee6a12c3336c51a1.tar.gz mtk-20170518-66463a5b5d821352ac0fdcb1ee6a12c3336c51a1.tar.bz2 |
ralink: update pcie driver to load ranges from dts
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43249
Diffstat (limited to 'target/linux/ramips/dts/mt7628an.dtsi')
-rw-r--r-- | target/linux/ramips/dts/mt7628an.dtsi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi index f0cb7b5..3223e16 100644 --- a/target/linux/ramips/dts/mt7628an.dtsi +++ b/target/linux/ramips/dts/mt7628an.dtsi @@ -213,6 +213,14 @@ status = "disabled"; + device_type = "pci"; + + bus-range = <0 255>; + ranges = < + 0x02000000 0 0x00000000 0x20000000 0 0x10000000 /* pci memory */ + 0x01000000 0 0x00000000 0x10160000 0 0x00010000 /* io space */ + >; + pcie-bridge { reg = <0x0000 0 0 0 0>; |