arm: dts: meson-gxm-khadas-vim2-u-boot: enable SPI NOR flash
authorNeil Armstrong <narmstrong@baylibre.com>
Mon, 20 Apr 2020 13:44:42 +0000 (15:44 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 28 Apr 2020 08:23:10 +0000 (10:23 +0200)
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>
arch/arm/dts/meson-gxm-khadas-vim2-u-boot.dtsi

index c35158d7e9ee15be16cda93572e296e4e0e46eac..bec9e05b0966207e7ba5c1d606d25e426719df72 100644 (file)
@@ -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";
+};