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 reset-gpios = <&pio 2 7 GPIO_ACTIVE_LOW>; /* PC7 */ 25 post-power-on-delay-ms = <200>; 26 }; 27}; 28 29&mmc1 { 30 vmmc-supply = <®_vcc3v3>; 31 vqmmc-supply = <®_vcc3v3>; 32 mmc-pwrseq = <&wifi_pwrseq>; 33 bus-width = <4>; 34 non-removable; 35 status = "okay"; 36 37 brcmf: wifi@1 { 38 reg = <1>; 39 compatible = "brcm,bcm4329-fmac"; 40 interrupt-parent = <&r_pio>; 41 interrupts = <0 5 IRQ_TYPE_LEVEL_LOW>; /* PL5 */ 42 interrupt-names = "host-wake"; 43 }; 44}; 45 46&mmc2 { 47 pinctrl-names = "default"; 48 pinctrl-0 = <&mmc2_8bit_pins>; 49 vmmc-supply = <®_vcc3v3>; 50 bus-width = <8>; 51 non-removable; 52 cap-mmc-hw-reset; 53 status = "okay"; 54}; 55 56&uart1 { 57 pinctrl-names = "default"; 58 pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; 59 status = "okay"; 60}; 61