1
1
openwrt/target/linux/realtek/dts
Markus Stockhausen 82ddc472d7 realtek: dts: convert to upstream switch notation
There is currently a difference how upstream and downstream define
the switch in the dts. Downstream holds the switch as a member
node below a root switchcore parent. Upstream uses the switch as
the parent.

Upstream:

  ethernet-switch@1b000000 {
    mdio-controller@ca00 { };
    ethernet { };
    ethernet-ports { };
  }

Downstream:

  switchcore@1b000000 {
    ethernet-switch {
      ethernet-ports { };
    };
    mdio-controller@ca00 { };
    ethernet { };
  }

Align downstream to upstream and merge the ethernet-switch into
the parent node. For this to work adapt the port lookup in the MDIO
and PCS driver.

Remark! With this commit the boot process will give the spurious
error message "rtl838x_eth 1b000000.ethernet-switch:ethernet eth0:
Failed to create a device link to DSA switch 1b000000.ethernet-switch"
This comes from the fact that the switch is the parent of the ethernet
device. Thus a link back from ethernet device to the switch is no
longer possible. Testing shows that the error is just cosmetic.

Link: https://github.com/openwrt/openwrt/pull/23599
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
2026-06-01 19:15:51 +02:00
..
macros.dtsi realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl83xx_d-link_dgs-1210_common.dtsi realtek: Drop unused property on DGS-1210 gpio0 2025-01-28 07:30:32 +01:00
rtl83xx_d-link_dgs-1210_gpio_sfp.dtsi realtek: add full SFP support to D-Link DGS-1210-28 series 2024-09-15 16:40:40 +02:00
rtl83xx_d-link_dgs-1210_gpio.dtsi realtek: switch RTL8231 driver for D-Link DGS-1210 2025-01-28 07:30:33 +01:00
rtl83xx_hpe_1920.dtsi realtek: switch HPE 1920 series to NVMEM 2026-02-13 12:06:20 +01:00
rtl83xx_panasonic_mxxeg-pn28xx0k.dtsi realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl93xx_linksys_lgs3xxc_nand_common.dtsi realtek: dts: convert LGS3xxC to NVMEM 2026-03-14 10:50:47 +01:00
rtl838x.dtsi realtek: dts: convert to upstream switch notation 2026-06-01 19:15:51 +02:00
rtl839x_zyxel_gs1920-24hp-common.dtsi realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl839x.dtsi realtek: dts: convert to upstream switch notation 2026-06-01 19:15:51 +02:00
rtl930x.dtsi realtek: dts: convert to upstream switch notation 2026-06-01 19:15:51 +02:00
rtl931x.dtsi realtek: dts: convert to upstream switch notation 2026-06-01 19:15:51 +02:00
rtl8380_d-link_dgs-1210-10mp-f.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8380_datto_l8.dts realtek: drop INTERNAL_PHY() macro 2026-04-13 18:42:33 +02:00
rtl8380_engenius_ews2910p-v1.dts realtek: engenius_ews2910p: support multiple hardware versions 2025-05-31 23:19:01 +02:00
rtl8380_engenius_ews2910p-v3.dts realtek: support EnGenius EWS2910P v3 2025-05-31 23:19:01 +02:00
rtl8380_engenius_ews2910p.dtsi realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8380_hpe_1920-8g-poe-65w.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8380_hpe_1920-8g-poe-180w.dts realtek: HPE 1920 8G PoE+ 180W move fans to hwmon 2025-01-15 08:21:08 +01:00
rtl8380_hpe_1920-8g.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8380_hpe_1920-8g.dtsi realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8380_linksys_lgs310c.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8380_netgear_gigabit.dtsi realtek: drop INTERNAL_PHY() macro 2026-04-13 18:42:33 +02:00
rtl8380_netgear_gs108t-v3.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8380_netgear_gs110tpp-v1.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8380_netgear_gs110tup-v1.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8380_netgear_gs308t-v1.dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
rtl8380_netgear_gs310tp-v1.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8380_panasonic_m8eg-pn28080k.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8380_tplink_sg2xxx.dtsi realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8380_tplink_sg2008p-v1.dts realtek: rtl838x: drop SFP pseudo-PHYs and phy-handle 2025-12-09 00:28:41 +01:00
rtl8380_tplink_sg2210p-v3.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8380_zyxel_gs1900_gpio_emulated.dtsi realtek: rtl838x: drop GS1900 MDIO reset GPIO 2026-02-24 21:29:26 +01:00
rtl8380_zyxel_gs1900_gpio.dtsi realtek: rtl838x: drop GS1900 MDIO reset GPIO 2026-02-24 21:29:26 +01:00
rtl8380_zyxel_gs1900-8-a1.dts realtek: rtl838x: rename GS1900 series v1/v2 to A1/B1 2025-09-24 13:41:04 +02:00
rtl8380_zyxel_gs1900-8-b1.dts realtek: rtl838x: rename GS1900 series v1/v2 to A1/B1 2025-09-24 13:41:04 +02:00
rtl8380_zyxel_gs1900-8hp-a1.dts realtek: rtl838x: rename GS1900 series v1/v2 to A1/B1 2025-09-24 13:41:04 +02:00
rtl8380_zyxel_gs1900-8hp-b1.dts realtek: rtl838x: rename GS1900 series v1/v2 to A1/B1 2025-09-24 13:41:04 +02:00
rtl8380_zyxel_gs1900-10hp-a1.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8380_zyxel_gs1900.dtsi realtek: drop INTERNAL_PHY() macro 2026-04-13 18:42:33 +02:00
rtl8382_allnet_all-sg8208m.dts realtek: drop INTERNAL_PHY() macro 2026-04-13 18:42:33 +02:00
rtl8382_apresia_aplgs120gtss.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8382_d-link_dgs-1210-10p.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8382_d-link_dgs-1210-16.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8382_d-link_dgs-1210-20.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8382_d-link_dgs-1210-26.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8382_d-link_dgs-1210-28_common.dtsi realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8382_d-link_dgs-1210-28.dts realtek: add full SFP support to D-Link DGS-1210-28 series 2024-09-15 16:40:40 +02:00
rtl8382_d-link_dgs-1210-28mp-f.dts realtek: d-link: add support for dgs-1210-28p-f 2024-09-24 20:59:50 +02:00
rtl8382_d-link_dgs-1210-28p_common.dtsi realtek: d-link: add support for dgs-1210-28p-f 2024-09-24 20:59:50 +02:00
rtl8382_d-link_dgs-1210-28p-f.dts realtek: d-link: add support for dgs-1210-28p-f 2024-09-24 20:59:50 +02:00
rtl8382_hpe_1920-16g.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8382_hpe_1920-24g-poe-180w.dts realtek: HPE 1920 24G PoE+ 180W/370W move fans to hwmon 2025-01-16 07:32:16 +01:00
rtl8382_hpe_1920-24g-poe-370w.dts realtek: HPE 1920 24G PoE+ 180W/370W move fans to hwmon 2025-01-16 07:32:16 +01:00
rtl8382_hpe_1920-24g.dts realtek: rtl838x: refactor hpe_1920-24g dts 2024-12-31 08:29:56 +01:00
rtl8382_hpe_1920-24g.dtsi realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8382_hpe_1920.dtsi realtek: dts: convert EXTERNAL_SFP_PHY_FULL to PHY_C22_SFP 2026-04-22 16:58:04 +02:00
rtl8382_inaba_aml2-17gp.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8382_iodata_bsh-g24mb.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8382_panasonic_m16eg-pn28160k.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8382_panasonic_m24eg-pn28240k.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8382_tplink_t1600g-28ts-v3.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8382_zyxel_gs1900-16-a1.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8382_zyxel_gs1900-24-a1.dts realtek: use common dtsi for Zyxel GS1900-24 2026-01-27 01:34:21 +01:00
rtl8382_zyxel_gs1900-24-b1.dts realtek: add Zyxel GS1900-24 B1 device definition 2026-01-27 01:34:21 +01:00
rtl8382_zyxel_gs1900-24.dtsi realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8382_zyxel_gs1900-24e-a1.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8382_zyxel_gs1900-24ep-a1.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8382_zyxel_gs1900-24hp-a1.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8382_zyxel_gs1900-24hp-b1.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8391_zyxel_gs1920-24hp-v2.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8392_zyxel_gs1920-24hp-v1.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8393_d-link_dgs-1210-52.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8393_edgecore_ecs4100-12ph.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8393_hpe_1920-48g-poe.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8393_hpe_1920-48g.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8393_hpe_1920.dtsi realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8393_netgear_gs750e.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8393_panasonic_m48eg-pn28480k.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8393_tplink_sg2452p-v4.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8393_zyxel_gs1900-48-a1.dts realtek: extract shared GS1900-48 dtsi 2026-04-11 19:32:57 +02:00
rtl8393_zyxel_gs1900-48.dtsi realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl8393_zyxel_gs1900-48hp-a1.dts realtek: add Zyxel GS1900-48HP A1 support 2026-04-11 19:35:53 +02:00
rtl9301_d-link_dgs-1250-28x.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl9301_linksys_lgs328c.dts realtek: dts,build: create common Linksys LGS328x DTSI and image-recipe 2026-05-26 16:10:06 +02:00
rtl9301_linksys_lgs328mpc-v2.dts realtek: add support for Linksys LGS328MPCv2 2026-05-26 16:10:07 +02:00
rtl9301_linksys_lgs328x_nand_common.dtsi realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl9301_zyxel_xgs1930-28hp.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl9302_plasmacloud_common.dtsi realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl9302_plasmacloud_mcx3.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl9302_plasmacloud_psx8.dts realtek: rtl930x: Add support for Plasma Cloud PSX8 Switch 2025-08-28 21:07:57 +02:00
rtl9302_plasmacloud_psx10.dts realtek: dts: rtl93xx: use SWITCH_PORT_SFP for ports 2026-05-01 12:41:49 +02:00
rtl9302_xikestor_sks8300-12e2t2x.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl9302_zyxel_xgs1x10-12-common.dtsi realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl9302_zyxel_xgs1010-12-a1.dts realtek: dts: rtl93xx: use PHY_* macros for Zyxel XGS1X10/1250 2026-05-01 12:41:49 +02:00
rtl9302_zyxel_xgs1210-12-a1.dts realtek: dts: rtl93xx: use PHY_* macros for Zyxel XGS1X10/1250 2026-05-01 12:41:49 +02:00
rtl9302_zyxel_xgs1210-12-b1.dts realtek: dts: rtl93xx: use PHY_* macros for Zyxel XGS1X10/1250 2026-05-01 12:41:49 +02:00
rtl9302_zyxel_xgs1210-12-common.dtsi realtek: switch Zyxel XGS1210 to NVMEM 2026-02-15 12:02:38 +01:00
rtl9302_zyxel_xgs1250-12-a1.dts realtek: force in-band autoneg on XGS1250-12 A1 10G PHYs 2026-03-31 12:54:57 +02:00
rtl9302_zyxel_xgs1250-12-b1.dts realtek: mdio: drop realtek,smi-address property 2026-03-21 22:26:02 +01:00
rtl9302_zyxel_xgs1250-12-common.dtsi realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl9302_zyxel_xmg1915-10e.dts realtek: make Zyxel XMG1915-10E generic for whole family 2026-05-11 10:34:53 +02:00
rtl9302_zyxel_xmg1915-10ep.dts realtek: add support for Zyxel XMG1915-10EP 2026-05-11 10:34:53 +02:00
rtl9302_zyxel_xmg1915.dtsi realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl9303_hasivo_f1100w-4sx-4xgt-512mb.dts realtek: rtl930x: add support for Hasivo F1100W-4SX-4XGT and variants 2026-05-28 22:10:00 +02:00
rtl9303_hasivo_f1100w-4sx-4xgt-common.dtsi realtek: fix macro usage in F1100W-4SX-4XGT DTSI 2026-05-31 12:51:56 +00:00
rtl9303_hasivo_f1100w-4sx-4xgt.dts realtek: rtl930x: add support for Hasivo F1100W-4SX-4XGT and variants 2026-05-28 22:10:00 +02:00
rtl9303_hasivo_s600wp-5gt-2sx-se.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl9303_hasivo_s1100w-8xgt-se.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl9303_hasivo_s1100wp-8gt-se.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl9303_tplink_tl-st1008f-v2.dts realtek: dts: rtl93xx: replace LED magic values with macros 2026-05-01 12:41:49 +02:00
rtl9303_ubnt_usw-aggregation.dts realtek: add support for Ubiquiti UniFi USW Aggregation 2026-05-24 19:32:31 +02:00
rtl9303_vimin_vm-s100-0800ms.dts realtek: dts: rtl93xx: replace LED magic values with macros 2026-05-01 12:41:49 +02:00
rtl9303_xikestor_sks7300-4x4t.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl9303_xikestor_sks8300-8t.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl9303_xikestor_sks8300-8x.dts realtek: dts: rtl93xx: replace LED magic values with macros 2026-05-01 12:41:49 +02:00
rtl9303_xikestor_sks8310-8x.dts realtek: dts: rtl93xx: replace LED magic values with macros 2026-05-01 12:41:49 +02:00
rtl9311_linksys_lgs352c.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl9312_plasmacloud_common.dtsi realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl9312_plasmacloud_esx28.dts realtek: rtl931x: Add support for Plasma Cloud ESX28 Switch 2025-10-04 16:16:22 +02:00
rtl9312_plasmacloud_psx28.dts realtek: rtl931x: psx28: specify POE MCU reset GPIO 2026-04-14 10:38:28 +02:00
rtl9313_xikestor_sks8300-12x-v1.dts realtek: dts: rtl93xx: use SWITCH_PORT_SFP for ports 2026-05-01 12:41:49 +02:00
rtl9313_zyxel_xs1930-10.dts realtek: reorganize DTS for Zyxel XS1930 2026-05-21 12:08:41 +02:00
rtl9313_zyxel_xs1930-12f.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl9313_zyxel_xs1930-12hp.dts realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl9313_zyxel_xs1930-aqr813.dtsi realtek: dts: add link index cell to pcs-handle phandles 2026-05-31 12:52:40 +02:00
rtl9313_zyxel_xs1930.dtsi realtek: make LED set config for XS1930 more generic 2026-05-21 12:08:42 +02:00