Jump to content

Recommended Posts

Posted
On 10/20/2025 at 5:10 PM, emor acid said:

hi, Compilation error, I also decompiled the dts available for Android for reference 

update armbian dts  ,Give to those in need

use sudo  armbian-add-overlay ***.dts

this dts can avaible  rtl8211f on h618 

 

 

 

 

/dts-v1/;
/plugin/;

/ {
    compatible = "allwinner,sun50i-h618";


    fragment@0 {
        target = <&mmc1>;
        __overlay__ {
            status = "disabled";
        };
    };

    fragment@1 {
        target = <&emac1>;
        __overlay__ {
            status = "disabled";
        };
    };


    fragment@2 {
        target = <&pio>;
        __overlay__ {
            x98h_rgmii_pins: x98h-rgmii-pins {
                pins = "PI0", "PI1", "PI2", "PI3", "PI4", "PI5", "PI6", "PI7", "PI8", "PI9", "PI10", "PI11", "PI12", "PI13", "PI14", "PI15";
                function = "emac0";
                drive-strength = <40>;
            };
        };
    };

    /* 3. 配置千兆网卡 */
    fragment@3 {
        target = <&emac0>;
        __overlay__ {
            pinctrl-names = "default";
            pinctrl-0 = <&x98h_rgmii_pins>;
            phy-mode = "rgmii"; 
            phy-handle = <&rgmii_phy>;
            phy-io-supply = <&reg_aldo1>;
            
           
            allwinner,tx-delay-ps = <700>;
            allwinner,rx-delay-ps = <3100>;
            
            status = "okay";

            mdio {
 

                rgmii_phy: ethernet-phy@1 {
                    compatible = "ethernet-phy-ieee802.3-c22";
                    reg = <1>;

                    reset-gpios = <&pio 8 16 1>; 
                    reset-assert-us = <30000>;
                    reset-deassert-us = <150000>;
                };
            };
        };
    };
};

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines