summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/dts/ARV752DPW.dts
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-07-14 18:15:48 +0200
committerMathias Kresin <dev@kresin.me>2016-11-09 20:02:18 +0100
commit7fd5171a3445b1f0b3aaa45f6c43550758547f2c (patch)
treeede211812ef412757afb524d51008f1994194088 /target/linux/lantiq/dts/ARV752DPW.dts
parent13208e89d033b7f9f6f09b76106def4cad890813 (diff)
downloadmtk-20170518-7fd5171a3445b1f0b3aaa45f6c43550758547f2c.zip
mtk-20170518-7fd5171a3445b1f0b3aaa45f6c43550758547f2c.tar.gz
mtk-20170518-7fd5171a3445b1f0b3aaa45f6c43550758547f2c.tar.bz2
lantiq: use the device tree bindings from rt2x00 driver
Set a device specific wireless mac address for ARV7506PW11, VGV7519 and VGV7510KW22. The one from the EEPROM is a generic one and the same on all boards. Use the wifi@0,0 label and the pci0,0 compatible string for the ARV7519PW and ARV7525PW since the pci vendor and device id is unknown. It should work anyway since the compatible string isn't evaluated (yet). Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq/dts/ARV752DPW.dts')
-rw-r--r--target/linux/lantiq/dts/ARV752DPW.dts28
1 files changed, 15 insertions, 13 deletions
diff --git a/target/linux/lantiq/dts/ARV752DPW.dts b/target/linux/lantiq/dts/ARV752DPW.dts
index d6de881..d51a70a 100644
--- a/target/linux/lantiq/dts/ARV752DPW.dts
+++ b/target/linux/lantiq/dts/ARV752DPW.dts
@@ -135,19 +135,6 @@
phy-mode = "rmii";
mtd-mac-address = <&boardconfig 0x16>;
};
-
- pci@E105400 {
- status = "okay";
- lantiq,external-clock;
- gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
- interrupt-map = <0x7000 0 0 1 &icu0 135>;
- req-mask = <0x3>;
- };
- };
-
- ralink_eep {
- compatible = "ralink,eeprom";
- ralink,eeprom = "RT2860.eeprom";
};
gpio-keys-polled {
@@ -231,3 +218,18 @@
};
};
};
+
+&pci0 {
+ status = "okay";
+ lantiq,external-clock;
+ gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
+ interrupt-map = <0x7000 0 0 1 &icu0 135>;
+ req-mask = <0x3>;
+
+ wifi@1814,0601 {
+ compatible = "pci1814,0601";
+ reg = <0x7000 0 0 0 0>;
+ ralink,mtd-eeprom = <&boardconfig 0x410>;
+ ralink,mtd-eeprom-swap;
+ };
+};