]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: rk3399: r4s: Remove undesirable MAC address fetching methods for ethernet
authorXiaobo Tian <peterwillcn@gmail.com>
Tue, 6 Jul 2021 14:43:59 +0000 (22:43 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 11 Aug 2021 10:10:39 +0000 (18:10 +0800)
Remove the recommended MAC address from the network card.
NanoPi R4S has a EEPROM attached to the 2nd I2C bus (U92), which stores the MAC address.

Signed-off-by: Xiaobo Tian <peterwillcn@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3399-nanopi-r4s.dts

index f663bc87a5bf6859ab71dfc5f80296d85f12c521..042c73ca17eaac2554f7da9ae45fefbea263bfd8 100644 (file)
        model = "FriendlyElec NanoPi R4S";
        compatible = "friendlyarm,nanopi-r4s", "rockchip,rk3399";
 
-       aliases {
-               ethernet1 = &r8169;
-       };
-
        vdd_5v: vdd-5v {
                compatible = "regulator-fixed";
                regulator-name = "vdd_5v";
        max-link-speed = <1>;
        num-lanes = <1>;
        vpcie3v3-supply = <&vcc3v3_sys>;
-
-       pcie@0 {
-               reg = <0x00000000 0 0 0 0>;
-               #address-cells = <3>;
-               #size-cells = <2>;
-
-               r8169: pcie@0,0 {
-                       reg = <0x000000 0 0 0 0>;
-                       local-mac-address = [ 00 00 00 00 00 00 ];
-               };
-       };
 };
 
 &sdhci {