From: Quanyang Wang <quanyang.w...@windriver.com>

Enable gmac0 device and set it to be a fixed link.

Signed-off-by: Quanyang Wang <quanyang.w...@windriver.com>
---
Hi Bruce,
Would you please help merge this patch to the branches:
        v5.15/standard/preempt-rt/nxp-sdk-5.15/nxp-s32g
        v5.15/standard/nxp-sdk-5.15/nxp-s32g
Thanks,
Quanyang
---
 arch/arm64/boot/dts/freescale/s32gxxxa-cvc-fl.dtsi | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/freescale/s32gxxxa-cvc-fl.dtsi 
b/arch/arm64/boot/dts/freescale/s32gxxxa-cvc-fl.dtsi
index f3569655f83d4..537eda907e80d 100644
--- a/arch/arm64/boot/dts/freescale/s32gxxxa-cvc-fl.dtsi
+++ b/arch/arm64/boot/dts/freescale/s32gxxxa-cvc-fl.dtsi
@@ -37,11 +37,15 @@ &qspi {
 
 &gmac0 {
        /* Before enabling SJA1110, set it to be "disabled" */
-       status = "disabled";
+       status = "okay";
        phy-mode = "rgmii";
        phy-handle = <&gmac0_mdio_c_phy19>;
        pinctrl-names = "default";
        pinctrl-0 = <&gmac0rgmiic_pins>, <&gmac0mdioc_pins>;
+       fixed-link {
+               speed = <1000>;
+               full-duplex;
+       };
 };
 
 &gmac0_mdio {
-- 
2.36.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13423): 
https://lists.yoctoproject.org/g/linux-yocto/message/13423
Mute This Topic: https://lists.yoctoproject.org/mt/103143893/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to