aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/boot/dts/realtek
AgeCommit message (Collapse)AuthorFilesLines
2024-07-12mips: dts: realtek: Add RTL9302C boardChris Packham3-0/+153
Add support for the RTL9302 SoC and the RTL9302C_2xRTL8224_2XGE reference board. The RTL930x family of SoCs are Realtek switches with an embedded MIPS core (800MHz 34Kc). Most of the peripherals are similar to the RTL838x SoC and can make use of many existing drivers. Add in full DSA switch support is still a work in progress. Signed-off-by: Chris Packham <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
2024-07-12mips: dts: realtek: add device_type property to cpu nodeChris Packham1-0/+1
Add device_type = "cpu" to the cpu node for the rtl838x SoC. This resolves the following dtbs_check complaint: cpus: cpu@0: 'cache-level' is a required property Signed-off-by: Chris Packham <[email protected]> Reviewed-by: Marek BehĂșn <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
2024-07-12mips: dts: realtek: use "serial" instead of "uart" in node nameChris Packham1-2/+2
Update the node name for the UARTs to resolve the following dtbs_check complaints: uart@2000: $nodename:0: 'uart@2000' does not match '^serial(@.*)?$' uart@2100: $nodename:0: 'uart@2100' does not match '^serial(@.*)?$' Signed-off-by: Chris Packham <[email protected]> Reviewed-by: Marek BehĂșn <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
2021-02-04mips: dts: Add support for Cisco SG220-26 switchBert Vermeulen2-0/+27
Signed-off-by: Bert Vermeulen <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
2021-02-04Add support for Realtek RTL838x/RTL839x switch SoCsBert Vermeulen2-0/+80
The RTL838x/839x family of SoCs are Realtek switches with an embedded MIPS core. * RTL838x - 500MHz 4kce single core - 1Gbit ports and L2 features * RTL839x - 700MHz 34Kc single core - 1Gbit ports and L2 features These switches, depending on the exact part number, will have anywhere between 8 and 52 ports. The MIPS core is wired to a switch cpu port which has a tagging feature allowing us to make use of the DSA subsystem. The SoCs are somewhat basic in certain areas, getting better with more advanced features on newer series. The switch functionality is MMIO-mapped via a large MFD region. The SoCs have the following peripherals * ethernet * switch * uart - ns16550a * spi-flash interface * gpio * wdt * led The code was derived from various vendor SDKs based on Linux v2.6 kernels. This patchset allows us to boot RTL838x/RTL839x units with basic support. Most of the other drivers are already written and functional, and work to get them upstream is already in progress. Signed-off-by: Birger Koblitz <[email protected]> Signed-off-by: Bert Vermeulen <[email protected]> Signed-off-by: John Crispin <[email protected]> Signed-off-by: Sander Vanheule <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>