aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/dts/ARV752DPW22.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/ARV752DPW22.dts
parent13208e89d033b7f9f6f09b76106def4cad890813 (diff)
downloadupstream-7fd5171a3445b1f0b3aaa45f6c43550758547f2c.tar.gz
upstream-7fd5171a3445b1f0b3aaa45f6c43550758547f2c.tar.bz2
upstream-7fd5171a3445b1f0b3aaa45f6c43550758547f2c.zip
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/ARV752DPW22.dts')
-rw-r--r--target/linux/lantiq/dts/ARV752DPW22.dts38
1 files changed, 20 insertions, 18 deletions
diff --git a/target/linux/lantiq/dts/ARV752DPW22.dts b/target/linux/lantiq/dts/ARV752DPW22.dts
index 0b0fddbd82..7343a5d2ff 100644
--- a/target/linux/lantiq/dts/ARV752DPW22.dts
+++ b/target/linux/lantiq/dts/ARV752DPW22.dts
@@ -134,24 +134,6 @@
phy-mode = "mii";
mtd-mac-address = <&boardconfig 0x16>;
};
-
- pci@E105400 {
- status = "okay";
- lantiq,external-clock;
- interrupt-map = <
- 0x7000 0 0 1 &icu0 30
- 0x7800 0 0 1 &icu0 135
- 0x7800 0 0 2 &icu0 135
- 0x7800 0 0 3 &icu0 135
- >;
- gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
- req-mask = <0x3>;
- };
- };
-
- ralink_eep {
- compatible = "ralink,eeprom";
- ralink,eeprom = "RT2860.eeprom";
};
gpio-keys-polled {
@@ -251,3 +233,23 @@
};
};
};
+
+&pci0 {
+ status = "okay";
+ lantiq,external-clock;
+ interrupt-map = <
+ 0x7000 0 0 1 &icu0 30
+ 0x7800 0 0 1 &icu0 135
+ 0x7800 0 0 2 &icu0 135
+ 0x7800 0 0 3 &icu0 135
+ >;
+ gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
+ req-mask = <0x3>;
+
+ wifi@1814,3592 {
+ compatible = "pci1814,3592";
+ reg = <0x7000 0 0 0 0>;
+ ralink,mtd-eeprom = <&boardconfig 0x410>;
+ ralink,mtd-eeprom-swap;
+ };
+};