]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: s400: Fix status for eMMC and SDIO ports
authorNeil Armstrong <narmstrong@baylibre.com>
Mon, 17 Dec 2018 09:26:16 +0000 (10:26 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Wed, 19 Dec 2018 15:20:50 +0000 (16:20 +0100)
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.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Tested-by: Jerome Brunet <jbrunet@baylibre.com>
arch/arm/dts/meson-axg-s400-u-boot.dtsi [new file with mode: 0644]

diff --git a/arch/arm/dts/meson-axg-s400-u-boot.dtsi b/arch/arm/dts/meson-axg-s400-u-boot.dtsi
new file mode 100644 (file)
index 0000000..c46eb3f
--- /dev/null
@@ -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";
+};