File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
arch/arm64/boot/dts/rockchip Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 6161 rockchip,baudrate = <1500000>; /* Only 115200 and 1500000 */
6262 status = "okay";
6363 };
64+
65+ gmac_clkin: external-gmac-clock {
66+ compatible = "fixed-clock";
67+ clock-frequency = <125000000>;
68+ clock-output-names = "gmac_clkin";
69+ #clock-cells = <0>;
70+ };
71+
72+ vcc_phy: vcc-phy-regulator {
73+ compatible = "regulator-fixed";
74+ regulator-name = "vcc_phy";
75+ regulator-always-on;
76+ regulator-boot-on;
77+ };
6478};
6579
6680&emmc {
7589 status = "okay";
7690};
7791
92+ &gmac2io {
93+ phy-supply = <&vcc_phy>;
94+ phy-mode = "rgmii";
95+ clock_in_out = "input";
96+ snps,reset-gpio = <&gpio1 18 GPIO_ACTIVE_LOW>;
97+ snps,reset-active-low;
98+ snps,reset-delays-us = <0 10000 50000>;
99+ assigned-clocks = <&cru SCLK_MAC2IO>, <&cru SCLK_MAC2IO_EXT>;
100+ assigned-clock-parents = <&gmac_clkin>, <&gmac_clkin>;
101+ pinctrl-names = "default";
102+ pinctrl-0 = <&rgmiim1_pins>;
103+ tx_delay = <0x26>;
104+ rx_delay = <0x11>;
105+ status = "okay";
106+ };
107+
78108&io_domains {
79109 status = "okay";
80110
You can’t perform that action at this time.
0 commit comments