aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rtl838x/dts
Commit message (Collapse)AuthorAgeFilesLines
* rtl838x: dts: use macros for phy and switch definitionsPetr Štetiar2020-11-095-719/+170
| | | | | | | It's quite more readable, saves some tedious copy&pasting, not so error prone etc. Signed-off-by: Petr Štetiar <ynezz@true.cz>
* rtl838x: rtl838x.dtsi: fix missing interrupt-parent for uart0Petr Štetiar2020-11-091-0/+2
| | | | | | | | Fixes following dtc warning: Warning (interrupts_property): /uart@b8002000: Missing interrupt-parent Signed-off-by: Petr Štetiar <ynezz@true.cz>
* rtl838x: rtl838x.dtsi: remove reg property from root nodePetr Štetiar2020-11-091-1/+0
| | | | | | | | Fixes following dtc warning: ../dts/rtl838x.dtsi:38.3-145.3: Warning (reg_format): /: Root node has a "reg" property Signed-off-by: Petr Štetiar <ynezz@true.cz>
* rtl838x: add support for D-Link DGS-1210-28Petr Štetiar2020-11-091-0/+339
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hardware specification ---------------------- * RTL8382M SoC, 1 MIPS 4KEc core @ 500MHz * 128MB DRAM * 32MB NOR Flash (MX25L25635E) * 24 x 10/100/1000BASE-T ports - Internal PHY with 8 ports (RTL8218B) - Two external PHYs with 8 ports each (RTL8218B) * 4 x Gigabit RJ45/SFP Combo ports - External PHY with 4 SFP ports (RTL8214FC) * Power LED * Reset button on front panel * UART (115200 8N1) via unpopulated standard 0.1" pin header marked J6 UART pinout ----------- [oooo]J3 [o]ooo|J6 | ^ ||`------ GND | | |`------- RX | | `-------- TX | `---------- Vcc (3V3) | `------------------ J3 is power input connector nearby J6 UART Boot initramfs image from U-Boot -------------------------------- 1. Press Escape key during `Hit Esc key to stop autoboot` prompt 2. Press CTRL+C keys to get into real U-Boot prompt 3. Init network with `rtk network on` command 4. Load image with `tftpboot 0x8f000000 openwrt-rtl838x-generic-d-link_dgs-1210-28-initramfs-kernel.bin` command 5. Boot the image with `bootm` command To install, upload the sysupgrade image to the OEM webpage or sysupgrade from the system running from initramfs image. It has been developed and tested on device with F1 revision. Signed-off-by: Petr Štetiar <ynezz@true.cz>
* rtl838x: d-link_dgs-1210: refactor common family bitsPetr Štetiar2020-11-093-79/+88
| | | | | | | | So the common bits can be easily shared with other boards in the family and while at it add missing SPDX license identifiers into the DTS files and fixed alphabetic sorting of the devices in the images. Signed-off-by: Petr Štetiar <ynezz@true.cz>
* rtl838x: clean whitespace issues in rtl8382_d-link_dgs-1210-16.dtsPetr Štetiar2020-11-091-4/+3
| | | | | | So it's tidy. Signed-off-by: Petr Štetiar <ynezz@true.cz>
* rtl838x: various fixesJohn Crispin2020-10-191-0/+231
| | | | | | | | | * add d-link_dgs-1210-10p support * make sure mips16 is disabled * add a generic sub target * add proper cflags Signed-off-by: John Crispin <john@phrozen.org>
* rtl838x: remove model name from LED labelsAdrian Schmutzler2020-10-152-2/+2
| | | | | | | | | | | Like in the previous patches for various targets, this removes the "devicename" from LED labels in rtl838x, as it's useless and only creates complexity. Since the target is fresh and so far only system LEDs were added, this does not add a migration script. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* rtl838x: move dts-v1 to DTSIAdrian Schmutzler2020-10-153-3/+2
| | | | | | | The syntax of the shared SoC DTSI file determines the DTS version, so no need to repeat the "/dts-v1/;" identifier in every file. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* rtl838x: add DLink DGS-1210-16 supportJohn Crispin2020-10-151-0/+337
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* rtl838x: add new architectureBirger Koblitz2020-09-142-0/+331
This adds support for the RTL838x Architecture. SoCs of this type are used in managed and un-managed Switches and Routers with 8-28 ports. Drivers are provided for SoC initialization, GPIOs, Flash, Ethernet including a DSA switch driver and internal and external PHYs used with these switches. Supported SoCs: RTL8380M RTL8381M RTL8382M The kernel will also boot on the following RTL839x SoCs, however driver support apart from spi-nor is missing: RTL8390 RTL8391 RTL8393 The following PHYs are supported: RTL8214FC (Quad QSGMII multiplexing GMAC and SFP port) RTL8218B internal: internal PHY of the RTL838x chips RTL8318b external (QSGMII 8-port GMAC phy) RTL8382M SerDes for 2 SFP ports Initialization sequences for the PHYs are provided in the form of firmware files. Flash driver supports 3 / 4 byte access DSA switch driver supports VLANs, port isolation, STP and port mirroring. The ALLNET ALL-SG8208M is supported as Proof of Concept: RTL8382M SoC 1 MIPS 4KEc core @ 500MHz 8 Internal PHYs (RTL8218B) 128MB DRAM (Nanya NT5TU128MB) 16MB NOR Flash (MXIC 25L128) 8 GBEthernet ports with one green status LED each (SoC controlled) 1 Power LED (not configurable) 1 SYS LED (configurable) 1 On-Off switch (not configurable) 1 Reset button at the right behind right air-vent (not configurable) 1 Reset button on front panel (configurable) 12V 1A barrel connector 1 serial header with populated standard pin connector and with markings GND TX RX Vcc(3.3V), connection properties: 115200 8N1 To install, upload the sysupgrade image to the OEM webpage. Signed-off-by: Birger Koblitz <git@birger-koblitz.de>