File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
arch/arm64/boot/dts/rockchip Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 2424 stdout-path = "serial2:1500000n8";
2525 };
2626
27+ clkin_gmac: external-gmac-clock {
28+ compatible = "fixed-clock";
29+ clock-frequency = <125000000>;
30+ clock-output-names = "clkin_gmac";
31+ #clock-cells = <0>;
32+ };
33+
34+ vcc_lan: vcc3v3-phy-regulator {
35+ compatible = "regulator-fixed";
36+ regulator-name = "vcc_lan";
37+ regulator-always-on;
38+ regulator-boot-on;
39+ regulator-min-microvolt = <3300000>;
40+ regulator-max-microvolt = <3300000>;
41+
42+ regulator-state-mem {
43+ regulator-off-in-suspend;
44+ };
45+ };
46+
2747 vcc5v0_sys: vcc-sys {
2848 compatible = "regulator-fixed";
2949 regulator-name = "vcc5v0_sys";
101121 cpu-supply = <&vdd_cpu_b>;
102122};
103123
124+ &gmac {
125+ assigned-clocks = <&cru SCLK_RMII_SRC>;
126+ assigned-clock-parents = <&clkin_gmac>;
127+ clock_in_out = "input";
128+ phy-supply = <&vcc_lan>;
129+ phy-mode = "rgmii";
130+ pinctrl-names = "default";
131+ pinctrl-0 = <&rgmii_pins>;
132+ snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
133+ snps,reset-active-low;
134+ snps,reset-delays-us = <0 10000 50000>;
135+ tx_delay = <0x28>;
136+ rx_delay = <0x11>;
137+ status = "okay";
138+ };
139+
104140&i2c0 {
105141 status = "okay";
106142 i2c-scl-falling-time-ns = <30>;
You can’t perform that action at this time.
0 commit comments