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/ARV7510PW22.dts | |
parent | 13208e89d033b7f9f6f09b76106def4cad890813 (diff) | |
download | upstream-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/ARV7510PW22.dts')
-rw-r--r-- | target/linux/lantiq/dts/ARV7510PW22.dts | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/target/linux/lantiq/dts/ARV7510PW22.dts b/target/linux/lantiq/dts/ARV7510PW22.dts index f288511c7c..079c856308 100644 --- a/target/linux/lantiq/dts/ARV7510PW22.dts +++ b/target/linux/lantiq/dts/ARV7510PW22.dts @@ -121,24 +121,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 { @@ -189,3 +171,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; + }; +}; |