Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipq806x: add dsa support #4036

Merged
merged 7 commits into from Sep 30, 2023
Merged

ipq806x: add dsa support #4036

merged 7 commits into from Sep 30, 2023

Commits on Sep 30, 2023

  1. ipq806x: convert each device to DSA implementation

    Convert each ipq806x device to DSA implementation using the qca8k
    driver. Rework 02_network to follow the new naming scheme.
    Update 01_leds to use netdev trigger with correct DSA port and drop
    now unused switch trigger.
    
    Currently secondary CPU is disabled and will be reneabled later.
    
    Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
    Ansuel committed Sep 30, 2023
    Configuration menu
    Copy the full SHA
    337e36e View commit details
    Browse the repository at this point in the history
  2. ipq806x: move ASRock G10 fix mac preinit script to generic board.d sc…

    …ript
    
    Drop and move ASRock G10 preinit script to fix mac address to generic
    board.d script and rework for consistency with other devices following a
    similar implementation.
    
    Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
    Ansuel committed Sep 30, 2023
    Configuration menu
    Copy the full SHA
    f166c9e View commit details
    Browse the repository at this point in the history
  3. generic: 6.1: backport various qca8k fixes patch

    Backport various QCA8K fixes patch merged upstream. Refresh any changed
    patches due to backports.
    
    Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
    Ansuel committed Sep 30, 2023
    Configuration menu
    Copy the full SHA
    a62b154 View commit details
    Browse the repository at this point in the history
  4. generic: 6.1: backport patch for multi CPU port support on QCA8K

    Backport pending patch for multi CPU port support on QCA8K. 6.1 already
    supports all the requiredt code to change a DSA master port so only this
    patch fixing the driver is required.
    
    Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
    Ansuel committed Sep 30, 2023
    Configuration menu
    Copy the full SHA
    500dbae View commit details
    Browse the repository at this point in the history
  5. ipq806x: enable and setup multi-CPU port for qca8k switch

    Enable and setup multi-cpu for qca8k switch for ipq806x based devices.
    
    Rework each DTS to enable the secondary CPU port on QCA8K switch and
    apply the required values originally set by the OEM in the old swconfig
    node.
    
    In original firmware the first CPU port was always assigned to the WAN
    port and the secondary CPU port was assigned to the rest of the LAN
    port. Follow this original implementation using an init.d script.
    
    To setup the CPU port ip tools is required. Add additional default
    package ip-tiny to correctly setup the CPU port.
    
    Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
    Ansuel committed Sep 30, 2023
    Configuration menu
    Copy the full SHA
    8eab5b2 View commit details
    Browse the repository at this point in the history
  6. ipq806x: add LEDs definition for non-standard qca8k LEDs

    Add LEDs definition for devices that use a non-standard qca8k LEDs
    configuration.
    
    This is to restore original setup of the LED and be on par with swconfig
    old configuration.
    
    Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
    Ansuel committed Sep 30, 2023
    Configuration menu
    Copy the full SHA
    c707cff View commit details
    Browse the repository at this point in the history
  7. ipq40xx: refresh qca8k patches

    Refresh qca8k patches to sync with the generic backports changes.
    
    Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
    Ansuel committed Sep 30, 2023
    Configuration menu
    Copy the full SHA
    33908b2 View commit details
    Browse the repository at this point in the history