Browse Source

arm: dts: meson-gxm-khadas-vim2-u-boot: enable SPI NOR flash

Activate the on-board SPI NOR Flash by enabling the SPI controller and
disabling the DS eMMC pin in the VIM2 u-boot.dtsi file.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Neil Armstrong 4 years ago
parent
commit
b31950743a
1 changed files with 15 additions and 0 deletions
  1. 15 0
      arch/arm/dts/meson-gxm-khadas-vim2-u-boot.dtsi

+ 15 - 0
arch/arm/dts/meson-gxm-khadas-vim2-u-boot.dtsi

@@ -5,3 +5,18 @@
  */
 
 #include "meson-gx-u-boot.dtsi"
+
+/ {
+	aliases {
+		spi0 = &spifc;
+	};
+};
+
+&sd_emmc_c {
+	status = "okay";
+	pinctrl-0 = <&emmc_pins>;
+};
+
+&spifc {
+	status = "okay";
+};