1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2// Copyright (C) 2017 Jagan Teki <jteki@openedev.com> 3 4/dts-v1/; 5 6#include "sun50i-h5.dtsi" 7 8#include <dt-bindings/gpio/gpio.h> 9 10/ { 11 model = "OrangePi Zero Plus2"; 12 compatible = "xunlong,orangepi-zero-plus2", "allwinner,sun50i-h5"; 13 14 aliases { 15 serial0 = &uart0; 16 }; 17 18 chosen { 19 stdout-path = "serial0:115200n8"; 20 }; 21 22 connector { 23 compatible = "hdmi-connector"; 24 type = "a"; 25 26 port { 27 hdmi_con_in: endpoint { 28 remote-endpoint = <&hdmi_out_con>; 29 }; 30 }; 31 }; 32 33 reg_vcc3v3: vcc3v3 { 34 compatible = "regulator-fixed"; 35 regulator-name = "vcc3v3"; 36 regulator-min-microvolt = <3300000>; 37 regulator-max-microvolt = <3300000>; 38 }; 39 40 wifi_pwrseq: wifi_pwrseq { 41 compatible = "mmc-pwrseq-simple"; 42 reset-gpios = <&pio 0 9 GPIO_ACTIVE_LOW>; /* PA9 */ 43 post-power-on-delay-ms = <200>; 44 }; 45}; 46 47&de { 48 status = "okay"; 49}; 50 51&hdmi { 52 status = "okay"; 53}; 54 55&hdmi_out { 56 hdmi_out_con: endpoint { 57 remote-endpoint = <&hdmi_con_in>; 58 }; 59}; 60 61&mmc0 { 62 vmmc-supply = <®_vcc3v3>; 63 bus-width = <4>; 64 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; 65 status = "okay"; 66}; 67 68&mmc1 { 69 vmmc-supply = <®_vcc3v3>; 70 vqmmc-supply = <®_vcc3v3>; 71 mmc-pwrseq = <&wifi_pwrseq>; 72 bus-width = <4>; 73 non-removable; 74 status = "okay"; 75 76 brcmf: wifi@1 { 77 reg = <1>; 78 compatible = "brcm,bcm4329-fmac"; 79 interrupt-parent = <&r_pio>; 80 interrupts = <0 7 IRQ_TYPE_LEVEL_LOW>; /* PL7 */ 81 interrupt-names = "host-wake"; 82 }; 83}; 84 85&mmc2 { 86 pinctrl-names = "default"; 87 pinctrl-0 = <&mmc2_8bit_pins>; 88 vmmc-supply = <®_vcc3v3>; 89 bus-width = <8>; 90 non-removable; 91 cap-mmc-hw-reset; 92 status = "okay"; 93}; 94 95&uart0 { 96 pinctrl-names = "default"; 97 pinctrl-0 = <&uart0_pa_pins>; 98 status = "okay"; 99}; 100 101&uart1 { 102 pinctrl-names = "default"; 103 pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; 104 status = "okay"; 105}; 106