diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-07-04 09:02:44 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-07-11 07:15:07 +0200 |
commit | 897075539b515ed9f94b2c996006e35ccd6d3e16 (patch) | |
tree | be8bbc95bc77ed72b0b311964eb8685c832a01ad /dts/src/riscv/sifive/hifive-unleashed-a00.dts | |
parent | 6432975738b939d3bd14c86bb8fb7bdc99aab7dd (diff) | |
download | barebox-897075539b515ed9f94b2c996006e35ccd6d3e16.tar.gz barebox-897075539b515ed9f94b2c996006e35ccd6d3e16.tar.xz |
dts: update to v5.2-rc6
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'dts/src/riscv/sifive/hifive-unleashed-a00.dts')
-rw-r--r-- | dts/src/riscv/sifive/hifive-unleashed-a00.dts | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/dts/src/riscv/sifive/hifive-unleashed-a00.dts b/dts/src/riscv/sifive/hifive-unleashed-a00.dts new file mode 100644 index 0000000000..4da88707e2 --- /dev/null +++ b/dts/src/riscv/sifive/hifive-unleashed-a00.dts @@ -0,0 +1,65 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* Copyright (c) 2018-2019 SiFive, Inc */ + +#include "fu540-c000.dtsi" + +/* Clock frequency (in Hz) of the PCB crystal for rtcclk */ +#define RTCCLK_FREQ 1000000 + +/ { + #address-cells = <2>; + #size-cells = <2>; + model = "SiFive HiFive Unleashed A00"; + compatible = "sifive,hifive-unleashed-a00", "sifive,fu540-c000"; + + chosen { + }; + + cpus { + timebase-frequency = <RTCCLK_FREQ>; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0x2 0x00000000>; + }; + + soc { + }; + + hfclk: hfclk { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <33333333>; + clock-output-names = "hfclk"; + }; + + rtcclk: rtcclk { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <RTCCLK_FREQ>; + clock-output-names = "rtcclk"; + }; +}; + +&qspi0 { + flash@0 { + compatible = "issi,is25wp256", "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <50000000>; + m25p,fast-read; + spi-tx-bus-width = <4>; + spi-rx-bus-width = <4>; + }; +}; + +&qspi2 { + status = "okay"; + mmc@0 { + compatible = "mmc-spi-slot"; + reg = <0>; + spi-max-frequency = <20000000>; + voltage-ranges = <3300 3300>; + disable-wp; + }; +}; |