openwrt/target/linux/realtek/dts-5.10
Daniel Groth 8c04a5c456 realtek: d-link: add support for dgs-1210-10mp
General hardware info:
-------------------------------------------------------------------------------

D-Link DGS-1210-10MP is a switch with 8 ethernet ports and 2 SFP ports, all
ports Gbit capable. It is based on a RTL8380 SoC @ 500MHz, DRAM 128MB and
32MB flash. All ethernet ports are 802.3af/at PoE capable
with a total PoE power budget of 130W.

File info:
-------------------------------------------------------------------------------
The dgs-1210-10mp is very similar to dgs-1210-10p so I used that as a start.

rtl838x.mk:
 - Removed lua-rs232 package since it was a leftover from the old rtl83xx-poe
   package.
 - Updated the soc to 8380.
 - Specified device variant: F.
 - Installed the new realtek-poe package.

rtl8380_d-link_dgs-1210-10mp.dts:
 - Moved dgs-1210 family common parts and non PoE related ports on rtl8231
   to the new device tree dtsi files.

Serial connection:
-------------------------------------------------------------------------------
The UART for the SoC (115200 8N1) is available close to the front panel next
to the LED/key card connector via unpopulated standard 0.1" pin header
marked j4. Pin1 is marked with arrow and square.

Pin 1: Vcc 3,3V
Pin 2: Tx
Pin 3: Rx
Pin 4: Gnd

Installation with TFTP from u-boot
-------------------------------------------------------------------------------
I originally used the install procedure:
'OpenWrt installation using the TFTP method and serial console access' found
in the device wiki for the dgs-1210-16.
< https://openwrt.org/toh/d-link/dgs-1210-16_g1#openwrt_installation_using
_the_tftp_method_and_serial_console_access >

About the realtek-poe package
-------------------------------------------------------------------------------
The realtek-poe package is installed but there isn't any automatic PoE config
setting at this time so for now the PoE config must be edited manually.

Original OEM hardware/firmware data at first installation
-------------------------------------------------------------------------------
It has been installed, developed, and tested on a device with these OEM
hardware and firmware versions.

- U-boot: 2011.12.(2.1.5.67086)-Candidate1 (Jun 22 2020 - 15:03:58)
- Boot version: 1.01.001
- Firmware version: 6.20.007
- Hardware version: F1

Things to be done when support are developed
-------------------------------------------------------------------------------
 - realtek-poe has been included in OpenWrt but the automatic config handling
   has not been solved yet so in the future there will probably be some minor
   updates for this device to handle the poe config.
 - LED link_act and poe are per function supposed to be connected to the PoE
   system.
   But some software development is also needed to make this LED work and
   shift the LED array between act and poe indication and to shift the mode
   lights with mode key.
 - LED poe_max should probably be used as straight forward error output from
   the realtek-poe package error handling. But no code has been written for
   this.
 - SFP is currently not hot pluggable. Development is under progress to get
   working I2C communication with SFP and have them hot pluggable.
   When any device in the dgs-1210 family gets this working, I expect it
   should be possible to implement the same solution in this device.

Signed-off-by: Daniel Groth <flygarn12@gmail.com>
[Capitalisation of abbreviations, DEVICE_VARIANT and update filenames,
device compatibles on single line]
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2022-08-20 09:02:44 +02:00
..
rtl83xx_d-link_dgs-1210_gpio.dtsi realtek: d-link: dgs-1210 remake of the device tree 2022-08-20 09:02:44 +02:00
rtl83xx_panasonic_mxxeg-pn28xx0k.dtsi realtek: add support for Panasonic Switch-M16eG PN28160K 2022-08-06 14:39:57 +02:00
rtl838x_d-link_dgs-1210_common.dtsi realtek: d-link: dgs-1210 remake of the device tree 2022-08-20 09:02:44 +02:00
rtl838x_hpe_1920.dtsi Revert "realtek: remove support for HPE 1920 series" 2022-07-28 16:45:19 +02:00
rtl838x.dtsi Revert "realtek: remove support for HPE 1920 series" 2022-07-28 16:45:19 +02:00
rtl839x.dtsi realtek: fix node addresses for RTL839x 2022-02-20 16:23:55 +00:00
rtl930x.dtsi realtek: add sys-led disable pinctrl for rtl930x 2022-07-10 09:54:35 +02:00
rtl931x.dtsi realtek: add mux pinctrl for rtl931x 2022-07-10 09:54:35 +02:00
rtl8380_d-link_dgs-1210-10mp-f.dts realtek: d-link: add support for dgs-1210-10mp 2022-08-20 09:02:44 +02:00
rtl8380_engenius_ews2910p.dts realtek: EnGenius EWS2910P: use the mtd3 partition for root overlay 2022-08-13 19:19:38 +02:00
rtl8380_hpe_1920-8g.dts Revert "realtek: remove support for HPE 1920 series" 2022-07-28 16:45:19 +02:00
rtl8380_netgear_gigabit_1xx.dtsi realtek: make Netgear GS1xx u-boot env partition writable 2022-06-22 17:51:02 +02:00
rtl8380_netgear_gigabit_3xx.dtsi realtek: make "u-boot-env" partition writable for Netgear 3xx series 2022-06-22 17:52:30 +02:00
rtl8380_netgear_gigabit.dtsi realtek: add missing gpio0 pinctrl properties 2022-07-10 09:54:35 +02:00
rtl8380_netgear_gs108t-v3.dts realtek: add support for power LED on Netgear GS108Tv3 2022-06-19 10:58:40 +02:00
rtl8380_netgear_gs110tpp-v1.dts realtek: Netgear GS110TPP v1: add lan9 and lan10 2022-08-13 19:15:46 +02:00
rtl8380_netgear_gs308t-v1.dts realtek: add support for power LED on Netgear GS308Tv1 2022-06-18 09:21:50 +02:00
rtl8380_netgear_gs310tp-v1.dts realtek: enable uart1 on the devices with PoE support in 5.10 2021-09-26 00:32:18 +02:00
rtl8380_panasonic_m8eg-pn28080k.dts realtek: add support for Panasonic Switch-M8eG PN28080K 2022-03-13 19:54:57 +01:00
rtl8380_tplink_sg2008p-v1.dts realtek: add support for TP-Link SG2008P 2022-08-13 19:59:47 +02:00
rtl8380_zyxel_gs1900-8.dts realtek: copy dts directory for Kernel 5.10 2021-09-26 00:32:17 +02:00
rtl8380_zyxel_gs1900-8hp-v1.dts realtek: enable uart1 on the devices with PoE support in 5.10 2021-09-26 00:32:18 +02:00
rtl8380_zyxel_gs1900-8hp-v2.dts realtek: enable uart1 on the devices with PoE support in 5.10 2021-09-26 00:32:18 +02:00
rtl8380_zyxel_gs1900-10hp.dts realtek: enable uart1 on the devices with PoE support in 5.10 2021-09-26 00:32:18 +02:00
rtl8380_zyxel_gs1900.dtsi realtek: move RTL8231 definitions to board files 2022-02-20 16:23:55 +00:00
rtl8382_allnet_all-sg8208m.dts realtek: Consolidate bootargs 2021-11-24 21:42:44 +02:00
rtl8382_d-link_dgs-1210-10p.dts realtek: d-link: dgs-1210 remake of the device tree 2022-08-20 09:02:44 +02:00
rtl8382_d-link_dgs-1210-16.dts realtek: d-link: dgs-1210 remake of the device tree 2022-08-20 09:02:44 +02:00
rtl8382_d-link_dgs-1210-20.dts realtek: d-link: dgs-1210 remake of the device tree 2022-08-20 09:02:44 +02:00
rtl8382_d-link_dgs-1210-28.dts realtek: d-link: dgs-1210 remake of the device tree 2022-08-20 09:02:44 +02:00
rtl8382_hpe_1920-16g.dts Revert "realtek: remove support for HPE 1920 series" 2022-07-28 16:45:19 +02:00
rtl8382_hpe_1920-24g.dts Revert "realtek: remove support for HPE 1920 series" 2022-07-28 16:45:19 +02:00
rtl8382_hpe_1920.dtsi Revert "realtek: remove support for HPE 1920 series" 2022-07-28 16:45:19 +02:00
rtl8382_inaba_aml2-17gp.dts realtek: add missing gpio0 pinctrl properties 2022-07-10 09:54:35 +02:00
rtl8382_iodata_bsh-g24mb.dts realtek: add support for I-O DATA BSH-G24MB 2022-03-07 21:44:53 +01:00
rtl8382_panasonic_m16eg-pn28160k.dts realtek: add support for Panasonic Switch-M16eG PN28160K 2022-08-06 14:39:57 +02:00
rtl8382_panasonic_m24eg-pn28240k.dts realtek: add support for Panasonic Switch-M24eG PN28240K 2022-08-06 14:39:57 +02:00
rtl8382_zyxel_gs1900-16.dts realtek: add support for ZyXEL GS1900-16 2022-05-07 17:23:45 +02:00
rtl8382_zyxel_gs1900-24-v1.dts realtek: add ZyXEL GS1900-24 v1 support 2022-03-13 19:24:13 +01:00
rtl8382_zyxel_gs1900-24e.dts realtek: add support for ZyXEL GS1900-24E 2022-06-06 10:30:50 +02:00
rtl8382_zyxel_gs1900-24hp-v1.dts realtek: add ZyXEL GS1900-24HP v1 support 2022-04-16 17:26:56 +02:00
rtl8382_zyxel_gs1900-24hp-v2.dts realtek: enable uart1 on the devices with PoE support in 5.10 2021-09-26 00:32:18 +02:00
rtl8393_panasonic_m48eg-pn28480k.dts realtek: add support for Panasonic Switch-M48eG PN28480K 2022-08-06 14:39:57 +02:00
rtl8393_zyxel_gs1900-48.dts realtek: ZyXEL GS1900-48: fix system LED polarity 2022-02-20 16:23:55 +00:00
rtl9302_zyxel_xgs1250-12.dts realtek: add system LED for ZyXEL XGS1250-12 2022-07-10 09:54:35 +02:00