@@ -8,6 +8,18 @@
soc {
u-boot,dm-pre-reloc;
};
+
+ aliases {
+ serial0 = &uart_AO;
+ ethernet0 = ðmac;
+ mmc0 = &sd_emmc_a;
+ mmc1 = &sd_emmc_b;
+ mmc2 = &sd_emmc_c;
+ };
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
};
&canvas {
@@ -28,11 +28,6 @@
};
};
- aliases {
- serial0 = &uart_AO;
- ethernet0 = ðmac;
- };
-
mono_dac: audio-codec-0 {
compatible = "maxim,max98357a";
#sound-dai-cells = <0>;
@@ -49,10 +44,6 @@
sound-name-prefix = "MIC";
};
- chosen {
- stdout-path = "serial0:115200n8";
- };
-
cvbs-connector {
compatible = "composite-video-connector";
@@ -13,15 +13,6 @@
compatible = "amlogic,u200", "amlogic,g12a";
model = "Amlogic Meson G12A U200 Development Board";
- aliases {
- serial0 = &uart_AO;
- ethernet0 = ðmac;
- };
-
- chosen {
- stdout-path = "serial0:115200n8";
- };
-
cvbs-connector {
compatible = "composite-video-connector";
@@ -15,15 +15,6 @@
compatible = "hardkernel,odroid-n2", "amlogic,g12b";
model = "Hardkernel ODROID-N2";
- aliases {
- serial0 = &uart_AO;
- ethernet0 = ðmac;
- };
-
- chosen {
- stdout-path = "serial0:115200n8";
- };
-
memory at 0 {
device_type = "memory";
reg = <0x0 0x0 0x0 0x40000000>;
@@ -11,15 +11,6 @@
/ {
model = "Khadas VIM3";
- aliases {
- serial0 = &uart_AO;
- ethernet0 = ðmac;
- };
-
- chosen {
- stdout-path = "serial0:115200n8";
- };
-
memory at 0 {
device_type = "memory";
reg = <0x0 0x0 0x0 0x80000000>;
@@ -14,15 +14,6 @@
compatible = "seirobotics,sei610", "amlogic,sm1";
model = "SEI Robotics SEI610";
- aliases {
- serial0 = &uart_AO;
- ethernet0 = ðmac;
- };
-
- chosen {
- stdout-path = "serial0:115200n8";
- };
-
emmc_pwrseq: emmc-pwrseq {
compatible = "mmc-pwrseq-emmc";
reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>;
Move u-boot specific common nodes in the dts files to meson-g12-common-u-boot.dtsi. This allows us to keep the basic dts[i] files up-to-date with the ones in kernel, but at the same time allowing the u-boot to add its own properties to the existing nodes. Also add missing mmc alias to dts nodes to avoid below debug warning. mmc_bind: alias ret=-2, devnum=-1 mmc_bind: alias ret=-2, devnum=-1 Signed-off-by: Anand Moon <linux.amoon at gmail.com> --- New patch in this series --- arch/arm/dts/meson-g12-common-u-boot.dtsi | 12 ++++++++++++ arch/arm/dts/meson-g12a-sei510.dts | 9 --------- arch/arm/dts/meson-g12a-u200.dts | 9 --------- arch/arm/dts/meson-g12b-odroid-n2.dts | 9 --------- arch/arm/dts/meson-khadas-vim3.dtsi | 9 --------- arch/arm/dts/meson-sm1-sei610.dts | 9 --------- 6 files changed, 12 insertions(+), 45 deletions(-)