]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ARM: dts: socfgpa: remove ethernet aliases from dtsi
authorDinh Nguyen <dinguyen@kernel.org>
Tue, 9 Oct 2018 18:14:48 +0000 (13:14 -0500)
committerDinh Nguyen <dinguyen@kernel.org>
Tue, 9 Oct 2018 18:40:28 +0000 (13:40 -0500)
Not all boards use two ethernet devices and/or use them in different
order. As almost all in-tree boards already define their own ethernet
aliases, remove them from the dtsi and add the aliases to the two boards,
that are missing their own definition.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
[dinguyen@kernel.org: rebased to latest dts changes]
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm/boot/dts/socfpga.dtsi
arch/arm/boot/dts/socfpga_cyclone5_socrates.dts

index b3ff5a86efdbec20934b9a489395c312feb1aca5..2d300396f0edd49d16ae46b8949801071438d699 100644 (file)
@@ -22,8 +22,6 @@
        #size-cells = <1>;
 
        aliases {
-               ethernet0 = &gmac0;
-               ethernet1 = &gmac1;
                serial0 = &uart0;
                serial1 = &uart1;
                timer0 = &timer0;
index 6f5255a7d1925e02f96e6a680c1742e697740a2a..031c721441fffcf97d4c1a3e2803aa1b3d19e124 100644 (file)
        model = "EBV SOCrates";
        compatible = "ebv,socrates", "altr,socfpga-cyclone5", "altr,socfpga";
 
+       aliases {
+               ethernet0 = &gmac1;
+       };
+
        chosen {
                bootargs = "earlyprintk";
                stdout-path = "serial0:115200n8";