Mmmh, the only OpenWrt devices with PoE injector ports I know of are some realrek-based switches. These are decent switches, but due to having weak CPUs do not make good routers.
I would consider a PoE switch or a stand-alone single port injector...
EDIT: It seems at least the Mikrotik RB5009UPr+S+IN offers PoE injector ports under OpenWrt in addition to the realtek switches.
When you are comfortable building an image yourself from source then Mikrotik RB5009UPr+S+IN is a possible candidate (code is ready but not yet merged https://github.com/openwrt/openwrt/pull/15989)
Is your goal to replace the ISP router with a different device entirely? Thus not needing the ISP router at that location (ever)?
I'm a bit confused by your topology... it appears that the SLZB-06M is connected via wifi to your network, and that the Pi is being used as the AP?? Is that correct? How is the SLZB-06M currently being powered?
Is this a hard requirement? Is a PoE injector not an option for some reason?
Currently. It is like this ( I don't have a diagram created otherwise It could be easier to explain).
ISP 5G router(1Lan interface) ---ethernet-- RPI4.
Same ISP router----Wifi 2.4Ghz--- SLZB-06M - - - Zigbee Network
Currently SLZB-06 is powered by USB cable.
What I want do is don't use wifi for connecting to SLZB-06m instead use ethernet for both power and connection as recommended for a stable zigbee network.
Since ISP Router is mobile(movable) and it is used as a travel router as well, so at those times there will be no WiFi router and SLZB-06m can't communicate with Rpi 4 which is running HAOS and Zigbee2mqtt addon.
So I want to create a separate segment (is that a correct networking jargon? ) so even if ISP router is not present, RPI4 and SLZB-06m continue to work without any issue.
That is I am looking for router + POE solution in a single device.
As @ed8 pointed out, RB5009UPr+S+IN does PoE as well and the base model (RB5009UG+S+IN which I own myself) is well supported by OpenWrt. The PoE flavour does not add that much overhead but does require you to build yourself.
@KOA Keep your RPi as an SBC and don't use it as a networking device, you are overly complicating your setup.
Yes if this is the cheapest solution.
I do get speed upto 150 down over this 5G modem/ISP router.
So I think I would need to buy two T56 routers for both locations.
Or just replace the (not yet bought) "new router" with a PoE switch and configure fixed IP addresses into RPi4 and the SLZ-06M and the zigbee devices (assuming that is necessary and possible). It really depends on whether you get a second hand PoE switch cheaper than a PoE injector and router...
ZigBee isn't a Ip based network. That would be handled by SlZB-06M.
WiFi does give me advantage of adding matter over WiFi and WiFi based sensors such as esphome and shelly devices in future.
This has PoE out but is not very common and the specs may not be good enough depending on what ISP network speed you have.
I currently have a Watchguard T70 as my main router which has 2 PoE ports but they are part of a dumb switch and require desoldering of a resistor on the board.