socfpga_arria10_socdk.dtsi declares aliases which will most likely be used by other arria10 boards in the exact same way. move these aliases to the parent file. Signed-off-by: Paweł Anikiel <pan@xxxxxxxxxxxx> --- arch/arm/boot/dts/socfpga_arria10.dtsi | 13 +++++++++++++ arch/arm/boot/dts/socfpga_arria10_socdk.dtsi | 7 +------ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/socfpga_arria10.dtsi b/arch/arm/boot/dts/socfpga_arria10.dtsi index a574ea91d9d3..26b1662cc00f 100644 --- a/arch/arm/boot/dts/socfpga_arria10.dtsi +++ b/arch/arm/boot/dts/socfpga_arria10.dtsi @@ -10,6 +10,19 @@ / { #address-cells = <1>; #size-cells = <1>; + aliases { + ethernet0 = &gmac0; + ethernet1 = &gmac1; + ethernet2 = &gmac2; + serial0 = &uart0; + serial1 = &uart1; + i2c0 = &i2c0; + i2c1 = &i2c1; + i2c2 = &i2c2; + i2c3 = &i2c3; + i2c4 = &i2c4; + }; + cpus { #address-cells = <1>; #size-cells = <0>; diff --git a/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi b/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi index 7edebe20e859..e9bb56ec15f1 100644 --- a/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi +++ b/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi @@ -8,14 +8,9 @@ / { model = "Altera SOCFPGA Arria 10"; compatible = "altr,socfpga-arria10", "altr,socfpga"; - aliases { - ethernet0 = &gmac0; - serial0 = &uart1; - }; - chosen { bootargs = "earlyprintk"; - stdout-path = "serial0:115200n8"; + stdout-path = "serial1:115200n8"; }; memory@0 { -- 2.25.1