File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed
arch/arm64/boot/dts/rockchip Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change 83
83
84
84
/* On-module TI DP83825I PHY but no connector, enable in carrierboard */
85
85
&gmac {
86
- snps,reset-gpio = <&gpio3 RK_PB0 GPIO_ACTIVE_LOW>;
87
- snps,reset-active-low;
88
- snps,reset-delays-us = <0 50000 50000>;
86
+ phy-handle = <&dp83825>;
89
87
phy-supply = <&vcc_3v3>;
90
88
clock_in_out = "output";
91
89
};
344
342
status = "okay";
345
343
};
346
344
345
+ &mdio {
346
+ dp83825: ethernet-phy@0 {
347
+ compatible = "ethernet-phy-ieee802.3-c22";
348
+ reg = <0x0>;
349
+ pinctrl-names = "default";
350
+ pinctrl-0 = <&phy_rst>;
351
+ reset-assert-us = <50000>;
352
+ reset-deassert-us = <50000>;
353
+ reset-gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_LOW>;
354
+ };
355
+ };
356
+
347
357
&pinctrl {
348
358
emmc {
349
359
emmc_reset: emmc-reset {
350
360
rockchip,pins = <1 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
351
361
};
352
362
};
353
363
364
+ ethernet {
365
+ phy_rst: phy-rst {
366
+ rockchip,pins = <3 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
367
+ };
368
+ };
369
+
354
370
leds {
355
371
module_led_pin: module-led-pin {
356
372
rockchip,pins = <1 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
You can’t perform that action at this time.
0 commit comments