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>
7 #include <dt-bindings/leds/common.h>
8 #include <dt-bindings/pwm/pwm.h>
10 /* Clock frequency (in Hz) of the PCB crystal for rtcclk */
11 #define RTCCLK_FREQ 1000000
14 model = "SiFive HiFive Unmatched A00";
15 compatible = "sifive,hifive-unmatched-a00", "sifive,fu740-c000",
19 stdout-path = "serial0";
23 timebase-frequency = <RTCCLK_FREQ>;
27 device_type = "memory";
28 reg = <0x0 0x80000000 0x4 0x00000000>;
33 compatible = "fixed-clock";
34 clock-frequency = <26000000>;
35 clock-output-names = "hfclk";
40 compatible = "fixed-clock";
41 clock-frequency = <RTCCLK_FREQ>;
42 clock-output-names = "rtcclk";
46 compatible = "gpio-poweroff";
47 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
51 compatible = "pwm-leds";
54 pwms = <&pwm0 0 7812500 PWM_POLARITY_INVERTED>;
56 color = <LED_COLOR_ID_GREEN>;
57 max-brightness = <255>;
63 compatible = "pwm-leds-multicolor";
66 color = <LED_COLOR_ID_RGB>;
67 max-brightness = <255>;
71 pwms = <&pwm0 2 7812500 PWM_POLARITY_INVERTED>;
73 color = <LED_COLOR_ID_RED>;
77 pwms = <&pwm0 1 7812500 PWM_POLARITY_INVERTED>;
79 color = <LED_COLOR_ID_GREEN>;
83 pwms = <&pwm0 3 7812500 PWM_POLARITY_INVERTED>;
85 color = <LED_COLOR_ID_BLUE>;
102 temperature-sensor@4c {
103 compatible = "ti,tmp451";
105 vcc-supply = <&vdd_bpro>;
106 interrupt-parent = <&gpio>;
107 interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
111 compatible = "microchip,24c02", "atmel,24c02";
113 vcc-supply = <&vdd_bpro>;
121 compatible = "dlg,da9063";
123 interrupt-parent = <&gpio>;
124 interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
125 interrupt-controller;
126 #interrupt-cells = <2>;
129 compatible = "dlg,da9063-onkey";
133 compatible = "dlg,da9063-rtc";
137 compatible = "dlg,da9063-watchdog";
141 vdd_bcore: bcores-merged {
142 regulator-min-microvolt = <1050000>;
143 regulator-max-microvolt = <1050000>;
144 regulator-min-microamp = <4800000>;
145 regulator-max-microamp = <4800000>;
150 regulator-min-microvolt = <1800000>;
151 regulator-max-microvolt = <1800000>;
152 regulator-min-microamp = <2400000>;
153 regulator-max-microamp = <2400000>;
158 regulator-min-microvolt = <1060000>;
159 regulator-max-microvolt = <1060000>;
160 regulator-min-microamp = <1500000>;
161 regulator-max-microamp = <1500000>;
165 vdd_bmem_bio: bmem-bio-merged {
166 regulator-min-microvolt = <1200000>;
167 regulator-max-microvolt = <1200000>;
168 regulator-min-microamp = <3000000>;
169 regulator-max-microamp = <3000000>;
174 regulator-min-microvolt = <1800000>;
175 regulator-max-microvolt = <1800000>;
180 regulator-min-microvolt = <1800000>;
181 regulator-max-microvolt = <1800000>;
186 regulator-min-microvolt = <3300000>;
187 regulator-max-microvolt = <3300000>;
192 regulator-min-microvolt = <2500000>;
193 regulator-max-microvolt = <2500000>;
198 regulator-min-microvolt = <3300000>;
199 regulator-max-microvolt = <3300000>;
204 regulator-min-microvolt = <1800000>;
205 regulator-max-microvolt = <1800000>;
210 regulator-min-microvolt = <3300000>;
211 regulator-max-microvolt = <3300000>;
216 regulator-min-microvolt = <3300000>;
217 regulator-max-microvolt = <3300000>;
222 regulator-min-microvolt = <1050000>;
223 regulator-max-microvolt = <1050000>;
228 regulator-min-microvolt = <1000000>;
229 regulator-max-microvolt = <1000000>;
234 regulator-min-microvolt = <2500000>;
235 regulator-max-microvolt = <2500000>;
245 compatible = "jedec,spi-nor";
247 spi-max-frequency = <50000000>;
249 spi-tx-bus-width = <4>;
250 spi-rx-bus-width = <4>;
257 compatible = "mmc-spi-slot";
259 spi-max-frequency = <20000000>;
260 voltage-ranges = <3300 3300>;
262 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
269 phy-handle = <&phy0>;
270 phy0: ethernet-phy@0 {
285 gpio-line-names = "J29.1", "PMICNTB", "PMICSHDN", "J8.1", "J8.3",
286 "PCIe_PWREN", "THERM", "UBRDG_RSTN", "PCIe_PERSTN",
287 "ULPI_RSTN", "J8.2", "UHUB_RSTN", "GEMGXL_RST", "J8.4",
288 "EN_VDD_SD", "SD_CD";