Disabling Ethernet subsystem on OpenWRT VoCore2

ofir
 
Posts: 2
Joined: Sat Nov 20, 2021 10:30 am

Disabling Ethernet subsystem on OpenWRT VoCore2

Sat Nov 20, 2021 10:43 am

Hi,
I would like to be able to disable Ethernet at the hardware level.

I think it might be possible to turn off the clock for the Ethernet but I'm not sure how.
Chin Wei was kind enough to point out that rt3050-esw is the ethernet driver but grepping didn't yield anything useful.

Any idea how to disable the Ethernet subsystem through either "mem" utility or sysfs or at the driver level?

Code: Select all
ofir@localhost:~/openwrt$ grep -Eir "clock|clk" --include='*3050*'
target/linux/ramips/dts/rt3050.dtsi:    clkctrl: clkctrl {
target/linux/ramips/dts/rt3050.dtsi:            compatible = "ralink,rt2880-clock";
target/linux/ramips/dts/rt3050.dtsi:            #clock-cells = <1>;
target/linux/ramips/dts/rt3050.dtsi:            clocks = <&clkctrl 18>;
target/linux/ramips/dts/rt3050.dtsi:            clock-names = "host";
target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/soc_rt3050.c:           FE_FLAG_CALIBRATE_CLK | FE_FLAG_HAS_SWITCH;
target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/soc_rt3050.c:           ret = fe_set_clock_cycle(priv);
target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/esw_rt3050.c:   /* ext phy base addr 31, enable port 5 polling, rx/tx clock skew 1,
ofir@localhost:~/openwrt$


Thanks,
Ofir

Return to VoCore2/Lite/Ultimate

Who is online

Users browsing this forum: No registered users and 3 guests