From: Anand Moon <linux.amoon@gmail.com>
To: Neil Armstrong <narmstrong@baylibre.com>,
Jerome Brunet <jbrunet@baylibre.com>, Peng Fan <peng.fan@nxp.com>,
Jaehoon Chung <jh80.chung@samsung.com>,
u-boot-amlogic@groups.io, u-boot@lists.denx.de
Subject: [PATCHv6 4/5] arm: dts: g12: Move common nodes to the -u-boot.dtsi
Date: Sun, 9 Feb 2020 11:05:56 +0000 [thread overview]
Message-ID: <20200209110557.1996-5-linux.amoon@gmail.com> (raw)
In-Reply-To: <20200209110557.1996-1-linux.amoon@gmail.com>
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@gmail.com>
---
No changes from previous patch
---
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(-)
diff --git a/arch/arm/dts/meson-g12-common-u-boot.dtsi b/arch/arm/dts/meson-g12-common-u-boot.dtsi
index 38fd3d3feb..347b8ded22 100644
--- a/arch/arm/dts/meson-g12-common-u-boot.dtsi
+++ b/arch/arm/dts/meson-g12-common-u-boot.dtsi
@@ -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 {
diff --git a/arch/arm/dts/meson-g12a-sei510.dts b/arch/arm/dts/meson-g12a-sei510.dts
index c7a8736885..c6a48ebbe5 100644
--- a/arch/arm/dts/meson-g12a-sei510.dts
+++ b/arch/arm/dts/meson-g12a-sei510.dts
@@ -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";
diff --git a/arch/arm/dts/meson-g12a-u200.dts b/arch/arm/dts/meson-g12a-u200.dts
index 8551fbd4a4..8be7b6985b 100644
--- a/arch/arm/dts/meson-g12a-u200.dts
+++ b/arch/arm/dts/meson-g12a-u200.dts
@@ -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";
diff --git a/arch/arm/dts/meson-g12b-odroid-n2.dts b/arch/arm/dts/meson-g12b-odroid-n2.dts
index 42f1540575..a37f66a5e0 100644
--- a/arch/arm/dts/meson-g12b-odroid-n2.dts
+++ b/arch/arm/dts/meson-g12b-odroid-n2.dts
@@ -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@0 {
device_type = "memory";
reg = <0x0 0x0 0x0 0x40000000>;
diff --git a/arch/arm/dts/meson-khadas-vim3.dtsi b/arch/arm/dts/meson-khadas-vim3.dtsi
index 8647da7d66..c6b0ce9a88 100644
--- a/arch/arm/dts/meson-khadas-vim3.dtsi
+++ b/arch/arm/dts/meson-khadas-vim3.dtsi
@@ -11,15 +11,6 @@
/ {
model = "Khadas VIM3";
- aliases {
- serial0 = &uart_AO;
- ethernet0 = ðmac;
- };
-
- chosen {
- stdout-path = "serial0:115200n8";
- };
-
memory@0 {
device_type = "memory";
reg = <0x0 0x0 0x0 0x80000000>;
diff --git a/arch/arm/dts/meson-sm1-sei610.dts b/arch/arm/dts/meson-sm1-sei610.dts
index 3435aaa4e8..4372708811 100644
--- a/arch/arm/dts/meson-sm1-sei610.dts
+++ b/arch/arm/dts/meson-sm1-sei610.dts
@@ -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>;
--
2.25.0
WARNING: multiple messages have this Message-ID (diff)
From: Anand Moon <linux.amoon@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCHv6 4/5] arm: dts: g12: Move common nodes to the -u-boot.dtsi
Date: Sun, 9 Feb 2020 11:05:56 +0000 [thread overview]
Message-ID: <20200209110557.1996-5-linux.amoon@gmail.com> (raw)
In-Reply-To: <20200209110557.1996-1-linux.amoon@gmail.com>
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@gmail.com>
---
No changes from previous patch
---
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(-)
diff --git a/arch/arm/dts/meson-g12-common-u-boot.dtsi b/arch/arm/dts/meson-g12-common-u-boot.dtsi
index 38fd3d3feb..347b8ded22 100644
--- a/arch/arm/dts/meson-g12-common-u-boot.dtsi
+++ b/arch/arm/dts/meson-g12-common-u-boot.dtsi
@@ -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 {
diff --git a/arch/arm/dts/meson-g12a-sei510.dts b/arch/arm/dts/meson-g12a-sei510.dts
index c7a8736885..c6a48ebbe5 100644
--- a/arch/arm/dts/meson-g12a-sei510.dts
+++ b/arch/arm/dts/meson-g12a-sei510.dts
@@ -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";
diff --git a/arch/arm/dts/meson-g12a-u200.dts b/arch/arm/dts/meson-g12a-u200.dts
index 8551fbd4a4..8be7b6985b 100644
--- a/arch/arm/dts/meson-g12a-u200.dts
+++ b/arch/arm/dts/meson-g12a-u200.dts
@@ -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";
diff --git a/arch/arm/dts/meson-g12b-odroid-n2.dts b/arch/arm/dts/meson-g12b-odroid-n2.dts
index 42f1540575..a37f66a5e0 100644
--- a/arch/arm/dts/meson-g12b-odroid-n2.dts
+++ b/arch/arm/dts/meson-g12b-odroid-n2.dts
@@ -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>;
diff --git a/arch/arm/dts/meson-khadas-vim3.dtsi b/arch/arm/dts/meson-khadas-vim3.dtsi
index 8647da7d66..c6b0ce9a88 100644
--- a/arch/arm/dts/meson-khadas-vim3.dtsi
+++ b/arch/arm/dts/meson-khadas-vim3.dtsi
@@ -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>;
diff --git a/arch/arm/dts/meson-sm1-sei610.dts b/arch/arm/dts/meson-sm1-sei610.dts
index 3435aaa4e8..4372708811 100644
--- a/arch/arm/dts/meson-sm1-sei610.dts
+++ b/arch/arm/dts/meson-sm1-sei610.dts
@@ -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>;
--
2.25.0
next prev parent reply other threads:[~2020-02-09 11:06 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-09 11:05 [PATCHv6 0/5] Odroid n2 using eMMC would fail to boot up Anand Moon
2020-02-09 11:05 ` Anand Moon
2020-02-09 11:05 ` [PATCHv6 1/5] mmc: meson-gx: Fix clk phase tuning for MMC Anand Moon
2020-02-09 11:05 ` Anand Moon
2020-02-09 13:08 ` Neil Armstrong
2020-02-09 13:08 ` Neil Armstrong
2020-02-09 17:22 ` Anand Moon
2020-02-09 17:22 ` Anand Moon
2020-02-10 9:03 ` Neil Armstrong
2020-02-10 9:03 ` Neil Armstrong
2020-02-13 11:58 ` Anand Moon
2020-02-13 11:58 ` Anand Moon
2020-02-13 15:39 ` Neil Armstrong
2020-02-13 15:39 ` Neil Armstrong
2020-02-13 16:41 ` Anand Moon
2020-02-13 16:41 ` Anand Moon
2020-02-10 9:35 ` Jerome Brunet
2020-02-10 9:35 ` Jerome Brunet
2020-02-13 12:04 ` Anand Moon
2020-02-13 12:04 ` Anand Moon
2020-02-09 11:05 ` [PATCHv6 2/5] mmc: meson-gx: Use proper compatible string as per the dts Anand Moon
2020-02-09 11:05 ` Anand Moon
2020-02-09 13:01 ` Neil Armstrong
2020-02-09 13:01 ` Neil Armstrong
2020-02-09 17:23 ` Anand Moon
2020-02-09 17:23 ` Anand Moon
2020-02-10 8:26 ` Neil Armstrong
2020-02-10 8:26 ` Neil Armstrong
2020-02-09 11:05 ` [PATCHv6 3/5] arm: dts: gx: Move common nodes to the -u-boot.dtsi Anand Moon
2020-02-09 11:05 ` Anand Moon
2020-02-09 12:58 ` Neil Armstrong
2020-02-09 12:58 ` Neil Armstrong
2020-02-09 17:25 ` Anand Moon
2020-02-09 17:25 ` Anand Moon
2020-02-10 8:24 ` Neil Armstrong
2020-02-10 8:24 ` Neil Armstrong
2020-02-09 11:05 ` Anand Moon [this message]
2020-02-09 11:05 ` [PATCHv6 4/5] arm: dts: g12: " Anand Moon
2020-02-09 12:58 ` Neil Armstrong
2020-02-09 12:58 ` Neil Armstrong
2020-02-09 17:25 ` Anand Moon
2020-02-09 17:25 ` Anand Moon
2020-02-09 11:05 ` [PATCHv6 5/5] arm: dts: s400: " Anand Moon
2020-02-09 11:05 ` Anand Moon
2020-02-09 12:58 ` Neil Armstrong
2020-02-09 12:58 ` Neil Armstrong
2020-02-09 17:24 ` Anand Moon
2020-02-09 17:24 ` Anand Moon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200209110557.1996-5-linux.amoon@gmail.com \
--to=linux.amoon@gmail.com \
--cc=jbrunet@baylibre.com \
--cc=jh80.chung@samsung.com \
--cc=narmstrong@baylibre.com \
--cc=peng.fan@nxp.com \
--cc=u-boot-amlogic@groups.io \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.