diff options
author | Jagan Teki <jagan@amarulasolutions.com> | 2020-04-23 22:30:56 +0530 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2020-04-30 22:34:20 +0530 |
commit | 0edb066ce56504f84b8d8ff0e6f542fc36d0f3b7 (patch) | |
tree | c1be8381dd09c1812b226b36352fcaae250604c9 /arch/riscv | |
parent | 25e4d94f45611bfc5f1ff71cf29a8d41bb6e9e9f (diff) | |
download | u-boot-0edb066ce56504f84b8d8ff0e6f542fc36d0f3b7.zip u-boot-0edb066ce56504f84b8d8ff0e6f542fc36d0f3b7.tar.gz u-boot-0edb066ce56504f84b8d8ff0e6f542fc36d0f3b7.tar.bz2 |
riscv: dts: hifive-unleashed-a00: Add -u-boot.dtsi
Add U-Boot specific dts file for hifive-unleashed-a00, this
would help to add u-boot specific properties and other node
changes without touching the base dts(i) files which are easy
to sync from Linux.
Added spi2 alias for qspi2 as an initial u-boot specific
property change.
spi probing in current dm model is very much rely on aliases
numbering. Even though the qspi2 can't come under any associated
spi nor flash it would require to specify the same to make proper
binding happen for other spi slaves.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Sagar Kadam <sagar.kadam@sifive.com>
Diffstat (limited to 'arch/riscv')
-rw-r--r-- | arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi b/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi new file mode 100644 index 0000000..8a784b5 --- /dev/null +++ b/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi @@ -0,0 +1,10 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com> + */ + +/ { + aliases { + spi2 = &qspi2; + }; +}; |