File tree Expand file tree Collapse file tree 3 files changed +47
-0
lines changed
boards/sensry/ganymed_bob Expand file tree Collapse file tree 3 files changed +47
-0
lines changed Original file line number Diff line number Diff line change 55
55
bias-pull-up;
56
56
};
57
57
58
+ /* MDIO */
59
+ /omit-if-no-ref/ mdio_io: mdio_io {
60
+ pinmux = <SY1XX_RGMII0_PAD_CFG3 SY1XX_PAD(0)>;
61
+ input-enable;
62
+ };
63
+
64
+ /omit-if-no-ref/ mdio_clk: mdio_clk {
65
+ pinmux = <SY1XX_RGMII0_PAD_CFG3 SY1XX_PAD(1)>;
66
+ };
58
67
};
59
68
60
69
Original file line number Diff line number Diff line change 3
3
4
4
/dts-v1/;
5
5
6
+ #include <zephyr/dt-bindings/gpio/gpio.h>
7
+
6
8
#include <sensry/ganymed-sy1xx.dtsi>
7
9
#include "ganymed_bob_sy120-pinctrl.dtsi"
8
10
16
18
};
17
19
18
20
};
21
+
22
+ &mdio0 {
23
+ status = "okay";
24
+
25
+ pinctrl-0 = <&mdio_clk &mdio_io>;
26
+ pinctrl-names = "default";
27
+
28
+ pyh0: phy@0 {
29
+ compatible = "microchip,vsc8541";
30
+ reg = <0x0>;
31
+ status = "okay";
32
+
33
+ reset-gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
34
+
35
+ microchip,interface-type = "rgmii";
36
+ };
37
+ };
Original file line number Diff line number Diff line change 3
3
4
4
/dts-v1/;
5
5
6
+ #include <zephyr/dt-bindings/gpio/gpio.h>
7
+
6
8
#include <sensry/ganymed-sy1xx.dtsi>
7
9
#include "ganymed_bob_sy120-pinctrl.dtsi"
8
10
16
18
};
17
19
18
20
};
21
+
22
+ &mdio0 {
23
+ status = "okay";
24
+
25
+ pinctrl-0 = <&mdio_clk &mdio_io>;
26
+ pinctrl-names = "default";
27
+
28
+ pyh0: phy@0 {
29
+ compatible = "microchip,vsc8541";
30
+ reg = <0x0>;
31
+ status = "okay";
32
+
33
+ reset-gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
34
+
35
+ microchip,interface-type = "rgmii";
36
+ };
37
+ };
You can’t perform that action at this time.
0 commit comments