aboutsummaryrefslogtreecommitdiffstats
path: root/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts
diff options
context:
space:
mode:
authorYash Shah <yash.shah@sifive.com>2019-06-25 15:01:31 +0530
committerPaul Walmsley <paul.walmsley@sifive.com>2019-06-26 10:28:33 -0700
commit45b03df2864aa4c67f6a648f0a7951116e1ef069 (patch)
tree22666f0ff433c4f1bf277038b622813949198ae3 /arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts
parentRISC-V: defconfig: enable MMC & SPI for RISC-V (diff)
downloadlinux-dev-45b03df2864aa4c67f6a648f0a7951116e1ef069.tar.xz
linux-dev-45b03df2864aa4c67f6a648f0a7951116e1ef069.zip
riscv: dts: Re-organize the DT nodes
As per the convention for any SOC device with external connection, define only device DT node in SOC DTSi file with status = "disabled" and enable device in Board DTS file with status = "okay" Reported-by: Anup Patel <anup@brainfault.org> Signed-off-by: Yash Shah <yash.shah@sifive.com> Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Diffstat (limited to '')
-rw-r--r--arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts
index 4da88707e28f..0b55c53c08c7 100644
--- a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts
+++ b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts
@@ -42,7 +42,20 @@
};
};
+&uart0 {
+ status = "okay";
+};
+
+&uart1 {
+ status = "okay";
+};
+
+&i2c0 {
+ status = "okay";
+};
+
&qspi0 {
+ status = "okay";
flash@0 {
compatible = "issi,is25wp256", "jedec,spi-nor";
reg = <0>;