diff --git a/boards/sensry/ganymed_bob/ganymed_bob_sy120-pinctrl.dtsi b/boards/sensry/ganymed_bob/ganymed_bob_sy120-pinctrl.dtsi index 5e105da6d420..06edebcc7768 100644 --- a/boards/sensry/ganymed_bob/ganymed_bob_sy120-pinctrl.dtsi +++ b/boards/sensry/ganymed_bob/ganymed_bob_sy120-pinctrl.dtsi @@ -55,6 +55,15 @@ bias-pull-up; }; + /* MDIO */ + /omit-if-no-ref/ mdio_io: mdio_io { + pinmux = ; + input-enable; + }; + + /omit-if-no-ref/ mdio_clk: mdio_clk { + pinmux = ; + }; }; diff --git a/boards/sensry/ganymed_bob/ganymed_bob_sy120_gbm.dts b/boards/sensry/ganymed_bob/ganymed_bob_sy120_gbm.dts index 4deba1e0e4fd..5a00bdbbba24 100644 --- a/boards/sensry/ganymed_bob/ganymed_bob_sy120_gbm.dts +++ b/boards/sensry/ganymed_bob/ganymed_bob_sy120_gbm.dts @@ -3,6 +3,8 @@ /dts-v1/; +#include + #include #include "ganymed_bob_sy120-pinctrl.dtsi" @@ -16,3 +18,20 @@ }; }; + +&mdio0 { + status = "okay"; + + pinctrl-0 = <&mdio_clk &mdio_io>; + pinctrl-names = "default"; + + pyh0: phy@0 { + compatible = "microchip,vsc8541"; + reg = <0x0>; + status = "okay"; + + reset-gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>; + + microchip,interface-type = "rgmii"; + }; +}; diff --git a/boards/sensry/ganymed_bob/ganymed_bob_sy120_gen1.dts b/boards/sensry/ganymed_bob/ganymed_bob_sy120_gen1.dts index 4deba1e0e4fd..5a00bdbbba24 100644 --- a/boards/sensry/ganymed_bob/ganymed_bob_sy120_gen1.dts +++ b/boards/sensry/ganymed_bob/ganymed_bob_sy120_gen1.dts @@ -3,6 +3,8 @@ /dts-v1/; +#include + #include #include "ganymed_bob_sy120-pinctrl.dtsi" @@ -16,3 +18,20 @@ }; }; + +&mdio0 { + status = "okay"; + + pinctrl-0 = <&mdio_clk &mdio_io>; + pinctrl-names = "default"; + + pyh0: phy@0 { + compatible = "microchip,vsc8541"; + reg = <0x0>; + status = "okay"; + + reset-gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>; + + microchip,interface-type = "rgmii"; + }; +};