1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
2 /* Copyright (c) 2020 SiFive, Inc */
4 #include "fu740-c000.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
8 /* Clock frequency (in Hz) of the PCB crystal for rtcclk */
9 #define RTCCLK_FREQ 1000000
12 model = "SiFive HiFive Unmatched A00";
13 compatible = "sifive,hifive-unmatched-a00", "sifive,fu740-c000",
17 stdout-path = "serial0";
21 timebase-frequency = <RTCCLK_FREQ>;
25 device_type = "memory";
26 reg = <0x0 0x80000000 0x4 0x00000000>;
31 compatible = "fixed-clock";
32 clock-frequency = <26000000>;
33 clock-output-names = "hfclk";
38 compatible = "fixed-clock";
39 clock-frequency = <RTCCLK_FREQ>;
40 clock-output-names = "rtcclk";
44 compatible = "gpio-poweroff";
45 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
60 temperature-sensor@4c {
61 compatible = "ti,tmp451";
63 vcc-supply = <&vdd_bpro>;
64 interrupt-parent = <&gpio>;
65 interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
69 compatible = "microchip,24c02", "atmel,24c02";
71 vcc-supply = <&vdd_bpro>;
79 compatible = "dlg,da9063";
81 interrupt-parent = <&gpio>;
82 interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
86 compatible = "dlg,da9063-onkey";
90 compatible = "dlg,da9063-rtc";
94 compatible = "dlg,da9063-watchdog";
98 vdd_bcore: bcores-merged {
99 regulator-min-microvolt = <1050000>;
100 regulator-max-microvolt = <1050000>;
101 regulator-min-microamp = <4800000>;
102 regulator-max-microamp = <4800000>;
107 regulator-min-microvolt = <1800000>;
108 regulator-max-microvolt = <1800000>;
109 regulator-min-microamp = <2400000>;
110 regulator-max-microamp = <2400000>;
115 regulator-min-microvolt = <1060000>;
116 regulator-max-microvolt = <1060000>;
117 regulator-min-microamp = <1500000>;
118 regulator-max-microamp = <1500000>;
122 vdd_bmem_bio: bmem-bio-merged {
123 regulator-min-microvolt = <1200000>;
124 regulator-max-microvolt = <1200000>;
125 regulator-min-microamp = <3000000>;
126 regulator-max-microamp = <3000000>;
131 regulator-min-microvolt = <1800000>;
132 regulator-max-microvolt = <1800000>;
137 regulator-min-microvolt = <1800000>;
138 regulator-max-microvolt = <1800000>;
143 regulator-min-microvolt = <3300000>;
144 regulator-max-microvolt = <3300000>;
149 regulator-min-microvolt = <2500000>;
150 regulator-max-microvolt = <2500000>;
155 regulator-min-microvolt = <3300000>;
156 regulator-max-microvolt = <3300000>;
161 regulator-min-microvolt = <1800000>;
162 regulator-max-microvolt = <1800000>;
167 regulator-min-microvolt = <3300000>;
168 regulator-max-microvolt = <3300000>;
173 regulator-min-microvolt = <3300000>;
174 regulator-max-microvolt = <3300000>;
179 regulator-min-microvolt = <1050000>;
180 regulator-max-microvolt = <1050000>;
185 regulator-min-microvolt = <1000000>;
186 regulator-max-microvolt = <1000000>;
191 regulator-min-microvolt = <2500000>;
192 regulator-max-microvolt = <2500000>;
202 compatible = "jedec,spi-nor";
204 spi-max-frequency = <50000000>;
206 spi-tx-bus-width = <4>;
207 spi-rx-bus-width = <4>;
214 compatible = "mmc-spi-slot";
216 spi-max-frequency = <20000000>;
217 voltage-ranges = <3300 3300>;
219 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
226 phy-handle = <&phy0>;
227 phy0: ethernet-phy@0 {
242 gpio-line-names = "J29.1", "PMICNTB", "PMICSHDN", "J8.1", "J8.3",
243 "PCIe_PWREN", "THERM", "UBRDG_RSTN", "PCIe_PERSTN",
244 "ULPI_RSTN", "J8.2", "UHUB_RSTN", "GEMGXL_RST", "J8.4",
245 "EN_VDD_SD", "SD_CD";