]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: meson-sm1: add u-boot specific MMC controller compatible
authorNeil Armstrong <narmstrong@baylibre.com>
Tue, 10 Nov 2020 23:22:11 +0000 (08:22 +0900)
committerNeil Armstrong <narmstrong@baylibre.com>
Thu, 12 Nov 2020 13:31:29 +0000 (14:31 +0100)
In order to enable the Amlogic SM1 MMC controller fix, we need to add a u-boot specific
MMC controller compatible.

This adds a new meson-sm1-u-boot.dtsi and reworks the other -u-boot.dtsi
to use this for SM1 based boards.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
arch/arm/dts/meson-g12b-a311d-khadas-vim3-u-boot.dtsi
arch/arm/dts/meson-khadas-vim3-u-boot.dtsi
arch/arm/dts/meson-sm1-khadas-vim3l-u-boot.dtsi
arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi
arch/arm/dts/meson-sm1-sei610-u-boot.dtsi
arch/arm/dts/meson-sm1-u-boot.dtsi [new file with mode: 0644]

index f66eca14b12c9f78904500d3b9c3002ce1c6f0ce..489efa150a6e45977b9b506a694e1c5bd1b48908 100644 (file)
@@ -4,4 +4,5 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
+#include "meson-g12-common-u-boot.dtsi"
 #include "meson-khadas-vim3-u-boot.dtsi"
index b5da4fdfc3eeba7310034b1be7f103d45240779f..81fd5be3783bb6f02ab5f62d1ef658bfcc76c5b3 100644 (file)
@@ -4,8 +4,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include "meson-g12-common-u-boot.dtsi"
-
 / {
        aliases {
                spi0 = &spifc;
index f66eca14b12c9f78904500d3b9c3002ce1c6f0ce..a591c0c9f230c94f8874dc041685c466a966c773 100644 (file)
@@ -4,4 +4,5 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
+#include "meson-sm1-u-boot.dtsi"
 #include "meson-khadas-vim3-u-boot.dtsi"
index 2a8f0545b1a3d1cd5704b3b782e3c6ae54de963d..c4319880759fc4a2fb851475cd393b26a9a07f81 100644 (file)
@@ -4,7 +4,7 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include "meson-g12-common-u-boot.dtsi"
+#include "meson-sm1-u-boot.dtsi"
 
 &ethmac {
        snps,reset-gpio = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
index 236f2468dc20ce547eccce753dbcfbe1261d2742..8ebc1caa4a79dba7837c0cf73055916309b43440 100644 (file)
@@ -4,4 +4,4 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include "meson-g12-common-u-boot.dtsi"
+#include "meson-sm1-u-boot.dtsi"
diff --git a/arch/arm/dts/meson-sm1-u-boot.dtsi b/arch/arm/dts/meson-sm1-u-boot.dtsi
new file mode 100644 (file)
index 0000000..e05d4c3
--- /dev/null
@@ -0,0 +1,20 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2020 BayLibre, SAS.
+ * Author: Neil Armstrong <narmstrong@baylibre.com>
+ */
+
+#include "meson-g12-common-u-boot.dtsi"
+
+&sd_emmc_a {
+       compatible = "amlogic,meson-sm1-mmc";
+};
+
+&sd_emmc_b {
+       compatible = "amlogic,meson-sm1-mmc";
+};
+
+&sd_emmc_c {
+       compatible = "amlogic,meson-sm1-mmc";
+};
+