OpenWrt – Rev 1

Subversion Repositories:
Rev:
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

#include "qca9563_ubnt_unifiac.dtsi"

&mdio0 {
        status = "okay";
        phy-mask = <0>;

        phy0: ethernet-phy@0 {
                reg = <0>;
                phy-mode = "sgmii";
                qca,ar8327-initvals = <
                        0x04 0x00080080 /* PORT0 PAD MODE CTRL */
                        0x7c 0x0000007e /* PORT0_STATUS */
                >;
        };
};

&eth0 {
        status = "okay";

        mtd-mac-address = <&eeprom 0x0>;
        phy-handle = <&phy0>;
};