Skip to content

Commit

Permalink
update r3s dts
Browse files Browse the repository at this point in the history
  • Loading branch information
Code committed Oct 8, 2022
1 parent dde3646 commit 0f3d256
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions boot/dts/rockchip/mainline/rk3399-lx-r3s.dts
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,36 @@
status = "okay";
};

&gmac {
assigned-clocks = <&cru SCLK_RMII_SRC>;
assigned-clock-parents = <&clkin_gmac>;
clock_in_out = "input";
phy-supply = <&vcc3v3_s3>;
phy-mode = "rgmii";
phy-handle = <&rtl8211e>;
pinctrl-names = "default";
pinctrl-0 = <&rgmii_pins>, <&phy_intb>, <&phy_rstb>;
tx_delay = <0x28>;
rx_delay = <0x11>;
status = "okay";

mdio {
compatible = "snps,dwmac-mdio";
#address-cells = <1>;
#size-cells = <0>;

rtl8211e: ethernet-phy@1 {
reg = <1>;
interrupt-parent = <&gpio3>;
interrupts = <RK_PB2 IRQ_TYPE_LEVEL_LOW>;
reset-assert-us = <10000>;
reset-deassert-us = <30000>;
reset-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
};
};
};

/*
&gmac {
assigned-clocks = <&cru SCLK_RMII_SRC>;
assigned-clock-parents = <&clkin_gmac>;
Expand All @@ -322,6 +352,7 @@
rx_delay = <0x11>;
status = "okay";
};
*/

&hdmi {
ddc-i2c-bus = <&i2c3>;
Expand Down Expand Up @@ -720,6 +751,16 @@
};
};

gmac {
phy_intb: phy-intb {
rockchip,pins = <3 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>; // verify
};

phy_rstb: phy-rstb {
rockchip,pins = <3 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>; // verify
};
};

usb2 {
vcc5v0_host_en: vcc5v0-host-en {
rockchip,pins =
Expand Down

0 comments on commit 0f3d256

Please sign in to comment.