diff options
author | Mathias Kresin <dev@kresin.me> | 2016-07-14 18:15:48 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2016-11-09 20:02:18 +0100 |
commit | 7fd5171a3445b1f0b3aaa45f6c43550758547f2c (patch) | |
tree | ede211812ef412757afb524d51008f1994194088 /target/linux/lantiq/dts/ARV7519PW.dts | |
parent | 13208e89d033b7f9f6f09b76106def4cad890813 (diff) | |
download | mtk-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/ARV7519PW.dts')
-rw-r--r-- | target/linux/lantiq/dts/ARV7519PW.dts | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/target/linux/lantiq/dts/ARV7519PW.dts b/target/linux/lantiq/dts/ARV7519PW.dts index 9c29c8c..1fa52c3 100644 --- a/target/linux/lantiq/dts/ARV7519PW.dts +++ b/target/linux/lantiq/dts/ARV7519PW.dts @@ -113,18 +113,6 @@ ifxhcd@E101000 { status = "okay"; }; - - pci@E105400 { - status = "okay"; - lantiq,external-clock; - gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>; - req-mask = <0xf>; - }; - }; - - ralink_eep { - compatible = "ralink,eeprom"; - ralink,eeprom = "RT2860.eeprom"; }; gpio-keys-polled { @@ -222,3 +210,17 @@ }; }; }; + +&pci0 { + status = "okay"; + lantiq,external-clock; + gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>; + req-mask = <0xf>; + + wifi@0,0 { + compatible = "pci0,0"; + reg = <0x7000 0 0 0 0>; + ralink,mtd-eeprom = <&boardconfig 0x410>; + ralink,mtd-eeprom-swap; + }; +}; |