ralink: update pcie driver to load ranges from dts
[openwrt.git] / target / linux / ramips / dts / mt7628an.dtsi
index f0cb7b5..3223e16 100644 (file)
 
                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>;