Skip to content
Snippets Groups Projects
  • Mathias Kresin's avatar
    a7c6cf51
    ramips: TEW-692GR: fix switch and wireless · a7c6cf51
    Mathias Kresin authored
    
    The AR8327 initvals were not copied to the DTS during the switch from
    mach file to device tree and broke the switch on the device.
    
    The former used PORT6 related initvals were wrong and have been
    corrected.
    
    The phy mode setting for the switch was missing in the DTS as well.
    
    The wireless requires an eeprom to work. The dual band wireless chips
    have both bands enabled by default but only one band per chip is
    working.
    
    The stock firmware uses the following mac addresses:
    
    LAN:    AA:BB:CC:DD:EE:E4
    WAN:    AA:BB:CC:DD:EE:E4
    2.4GHz: AA:BB:CC:DD:EE:E4
    5 GHz:  AA:BB:CC:DD:EE:E8
    
    Assuming the mac address range :E4 to :E8 is reserved for this device,
    the MAC addresses were reorder to have a unique MAC address for each
    interface:
    
    LAN:    AA:BB:CC:DD:EE:E4
    2.4GHz: AA:BB:CC:DD:EE:E4
    WAN:    AA:BB:CC:DD:EE:E5
    5 GHz:  AA:BB:CC:DD:EE:E8
    
    Signed-off-by: default avatarMathias Kresin <dev@kresin.me>
    a7c6cf51
    History
    ramips: TEW-692GR: fix switch and wireless
    Mathias Kresin authored
    
    The AR8327 initvals were not copied to the DTS during the switch from
    mach file to device tree and broke the switch on the device.
    
    The former used PORT6 related initvals were wrong and have been
    corrected.
    
    The phy mode setting for the switch was missing in the DTS as well.
    
    The wireless requires an eeprom to work. The dual band wireless chips
    have both bands enabled by default but only one band per chip is
    working.
    
    The stock firmware uses the following mac addresses:
    
    LAN:    AA:BB:CC:DD:EE:E4
    WAN:    AA:BB:CC:DD:EE:E4
    2.4GHz: AA:BB:CC:DD:EE:E4
    5 GHz:  AA:BB:CC:DD:EE:E8
    
    Assuming the mac address range :E4 to :E8 is reserved for this device,
    the MAC addresses were reorder to have a unique MAC address for each
    interface:
    
    LAN:    AA:BB:CC:DD:EE:E4
    2.4GHz: AA:BB:CC:DD:EE:E4
    WAN:    AA:BB:CC:DD:EE:E5
    5 GHz:  AA:BB:CC:DD:EE:E8
    
    Signed-off-by: default avatarMathias Kresin <dev@kresin.me>