]> git.ipfire.org Git - people/ms/linux.git/commitdiff
rockchip: dt: nanopi-r4s: add realtek pci devicenode
authorArne Fitzenreiter <arne_f@ipfire.org>
Fri, 28 Jan 2022 16:20:56 +0000 (17:20 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 28 Sep 2022 09:40:02 +0000 (09:40 +0000)
this is needed to set the mac address via u-boot

arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dts

index 9125f013438dd1dc175f4792523273b492f16074..5a60460bd974ef66d343a2360c0f37626b0e177d 100644 (file)
        model = "FriendlyElec NanoPi R4S";
        compatible = "friendlyarm,nanopi-r4s", "rockchip,rk3399";
 
+       aliases {
+               ethernet1 = &r8169;
+       };
+
        /delete-node/ display-subsystem;
 
        gpio-leds {
        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 ];
+               };
+       };
 };
 
 &pinctrl {