| // SPDX-License-Identifier: (GPL-2.0 OR MIT) |
| /* Copyright (c) 2018-2019 SiFive, Inc */ |
| #include "fu540-c000.dtsi" |
| #include <dt-bindings/gpio/gpio.h> |
| /* Clock frequency (in Hz) of the PCB crystal for rtcclk */ |
| #define RTCCLK_FREQ 1000000 |
| model = "SiFive HiFive Unleashed A00"; |
| compatible = "sifive,hifive-unleashed-a00", "sifive,fu540-c000"; |
| timebase-frequency = <RTCCLK_FREQ>; |
| reg = <0x0 0x80000000 0x2 0x00000000>; |
| compatible = "fixed-clock"; |
| clock-frequency = <33333333>; |
| clock-output-names = "hfclk"; |
| compatible = "fixed-clock"; |
| clock-frequency = <RTCCLK_FREQ>; |
| clock-output-names = "rtcclk"; |
| compatible = "gpio-restart"; |
| gpios = <&gpio 10 GPIO_ACTIVE_LOW>; |
| compatible = "issi,is25wp256", "jedec,spi-nor"; |
| spi-max-frequency = <50000000>; |
| compatible = "mmc-spi-slot"; |
| spi-max-frequency = <20000000>; |
| voltage-ranges = <3300 3300>; |