From: Simon Glass Date: Sat, 18 May 2019 11:59:42 -0600 Subject: [U-Boot] [PATCH 05/17] sandbox: Add an alias for SPI In-Reply-To: <20190518175954.262021-1-sjg@chromium.org> References: <20190518175954.262021-1-sjg@chromium.org> Message-ID: <20190518175954.262021-6-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de At present 'sf probe' does not work since it cannot find SPI bus 0. Add an alias to correct this, now that we no-longer have the --spi_sf option. Signed-off-by: Simon Glass --- arch/sandbox/dts/sandbox.dts | 3 ++- arch/sandbox/dts/sandbox64.dts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts index c0bdba94a73..9a949791a0e 100644 --- a/arch/sandbox/dts/sandbox.dts +++ b/arch/sandbox/dts/sandbox.dts @@ -10,6 +10,7 @@ pci0 = &pci; rtc0 = &rtc_0; axi0 = &axi; + spi0 = &spi; }; cros_ec: cros-ec { @@ -48,7 +49,7 @@ 0x01000000 0 0x20000000 0x20000000 0 0x2000>; }; - spi at 0 { + spi: spi at 0 { u-boot,dm-pre-reloc; #address-cells = <1>; #size-cells = <0>; diff --git a/arch/sandbox/dts/sandbox64.dts b/arch/sandbox/dts/sandbox64.dts index a263f78c957..da2b4423fdc 100644 --- a/arch/sandbox/dts/sandbox64.dts +++ b/arch/sandbox/dts/sandbox64.dts @@ -10,6 +10,7 @@ pci0 = &pci; rtc0 = &rtc_0; axi0 = &axi; + spi0 = &spi; }; cros_ec: cros-ec { @@ -48,7 +49,7 @@ 0x01000000 0 0x20000000 0 0x20000000 0 0x2000>; }; - spi at 0 { + spi: spi at 0 { u-boot,dm-pre-reloc; #address-cells = <1>; #size-cells = <0>; -- 2.21.0.1020.gf2820cf01a-goog