Skip to contentSkip to conversation

arm: dts: s400: Fix status for eMMC and SDIO ports

PATCH In review Neil Armstrong 2 participants 3 messages Dec 17, 2018 – Dec 19, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: dts: s400: Fix status for eMMC and SDIO ports

Under U-boot, the WiFi SDIO Module should be disabled and the eMMC modules should be enabled, so this patch adds an s400-u-boot.dtsi include file specific for U-Boot that will be included by the build system.

---
 arch/arm/dts/meson-axg-s400-u-boot.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 arch/arm/dts/meson-axg-s400-u-boot.dtsi
arch/arm/dts/meson-axg-s400-u-boot.dtsi new file +14 -0
new file mode 100644
index 0000000000..c46eb3f38d
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2017 Amlogic, Inc. All rights reserved.
+ */
+
+/* wifi module */
+&sd_emmc_b {
+	status = "disabled";
+};
+
+/* emmc storage */
+&sd_emmc_c {
+	status = "okay";
+};
Signature · 1 line
2.19.2
reviewer Tested-by on v1 1/1
#1 lore raw
Quoted 5 lines · Neil Armstrong

Under U-boot, the WiFi SDIO Module should be disabled and the eMMC modules should be enabled, so this patch adds an s400-u-boot.dtsi include file specific for U-Boot that will be included by the build system.

Quoted 26 lines
---
 arch/arm/dts/meson-axg-s400-u-boot.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 arch/arm/dts/meson-axg-s400-u-boot.dtsi
arch/arm/dts/meson- renamed from arch/arm/dts/meson-axg-s400-u-boot.dtsi +0 -0

axg-s400-u-boot.dtsi
new file mode 100644
index 0000000000..c46eb3f38d

arch/arm/dts/meson-axg-s400-u-boot.dtsi new file +14 -0
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2017 Amlogic, Inc. All rights reserved.
+ */
+
+/* wifi module */
+&sd_emmc_b {
+	status = "disabled";
+};
+
+/* emmc storage */
+&sd_emmc_c {
+	status = "okay";
+};
#2 lore raw
Quoted 27 lines · Jerome Brunet
Quoted 5 lines · Neil Armstrong

Under U-boot, the WiFi SDIO Module should be disabled and the eMMC modules should be enabled, so this patch adds an s400-u-boot.dtsi include file specific for U-Boot that will be included by the build system.

Quoted 18 lines
---
 arch/arm/dts/meson-axg-s400-u-boot.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 arch/arm/dts/meson-axg-s400-u-boot.dtsi
arch/arm/dts/meson- renamed from arch/arm/dts/meson-axg-s400-u-boot.dtsi +0 -0

axg-s400-u-boot.dtsi
new file mode 100644
index 0000000000..c46eb3f38d

arch/arm/dts/meson-axg-s400-u-boot.dtsi new file +6 -0
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2017 Amlogic, Inc. All rights reserved.
+ */
+
+/* wifi module */
Quoted 10 lines

arch/arm/dts/meson-axg-s400-u-boot.dtsi line 14

Quoted 8 lines
arch/arm/dts/meson-axg-s400-u-boot.dtsi new file +8 -0
+&sd_emmc_b {
+	status = "disabled";
+};
+
+/* emmc storage */
+&sd_emmc_c {
+	status = "okay";
+};

Applied !

Neil