]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/gnu/dts/arm64/allwinner/sun50i-h5-emlid-neutis-n5.dtsi
Upgrade our copies of clang, llvm, lld, lldb, compiler-rt, libc++,
[FreeBSD/FreeBSD.git] / sys / gnu / dts / arm64 / allwinner / sun50i-h5-emlid-neutis-n5.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /*
3  * DTSI for Emlid Neutis N5 SoM.
4  *
5  * Copyright (C) 2018 Aleksandr Aleksandrov <aleksandr.aleksandrov@emlid.com>
6  */
7
8 /dts-v1/;
9
10 #include "sun50i-h5.dtsi"
11
12 #include <dt-bindings/gpio/gpio.h>
13
14 / {
15         reg_vcc3v3: vcc3v3 {
16                 compatible = "regulator-fixed";
17                 regulator-name = "vcc3v3";
18                 regulator-min-microvolt = <3300000>;
19                 regulator-max-microvolt = <3300000>;
20         };
21
22         wifi_pwrseq: wifi_pwrseq {
23                 compatible = "mmc-pwrseq-simple";
24                 pinctrl-names = "default";
25                 reset-gpios = <&pio 2 7 GPIO_ACTIVE_LOW>; /* PC7 */
26                 post-power-on-delay-ms = <200>;
27         };
28 };
29
30 &mmc1 {
31         vmmc-supply = <&reg_vcc3v3>;
32         vqmmc-supply = <&reg_vcc3v3>;
33         mmc-pwrseq = <&wifi_pwrseq>;
34         bus-width = <4>;
35         non-removable;
36         status = "okay";
37
38         brcmf: wifi@1 {
39                 reg = <1>;
40                 compatible = "brcm,bcm4329-fmac";
41                 interrupt-parent = <&r_pio>;
42                 interrupts = <0 5 IRQ_TYPE_LEVEL_LOW>;  /* PL5 */
43                 interrupt-names = "host-wake";
44         };
45 };
46
47 &mmc2 {
48         pinctrl-names = "default";
49         pinctrl-0 = <&mmc2_8bit_pins>;
50         vmmc-supply = <&reg_vcc3v3>;
51         bus-width = <8>;
52         non-removable;
53         cap-mmc-hw-reset;
54         status = "okay";
55 };
56
57 &uart1 {
58         pinctrl-names = "default";
59         pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
60         status = "okay";
61 };