1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 // Copyright (C) 2018 Jagan Teki <jagan@openedev.com>
4 #include "sun50i-h6-orangepi.dtsi"
7 model = "OrangePi Lite2";
8 compatible = "xunlong,orangepi-lite2", "allwinner,sun50i-h6";
11 serial1 = &uart1; /* BT-UART */
14 wifi_pwrseq: wifi_pwrseq {
15 compatible = "mmc-pwrseq-simple";
16 clocks = <&rtc CLK_OSC32K_FANOUT>;
17 clock-names = "ext_clock";
18 reset-gpios = <&r_pio 1 3 GPIO_ACTIVE_LOW>; /* PM3 */
19 post-power-on-delay-ms = <200>;
24 vmmc-supply = <®_cldo2>;
25 vqmmc-supply = <®_bldo3>;
26 mmc-pwrseq = <&wifi_pwrseq>;
33 compatible = "brcm,bcm4329-fmac";
34 interrupt-parent = <&r_pio>;
35 interrupts = <1 0 IRQ_TYPE_LEVEL_LOW>; /* PM0 */
36 interrupt-names = "host-wake";
42 * This regulator is connected with CLDO3.
43 * Before the kernel can support synchronized
44 * enable of coupled regulators, keep them
45 * both always on as a ugly hack.
52 * This regulator is connected with CLDO2.
53 * See the comments for CLDO2.
58 /* There's the BT part of the AP6255 connected to that UART */
60 pinctrl-names = "default";
61 pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
66 compatible = "brcm,bcm4345c5";
67 clocks = <&rtc CLK_OSC32K_FANOUT>;
69 device-wakeup-gpios = <&r_pio 1 2 GPIO_ACTIVE_HIGH>; /* PM2 */
70 host-wakeup-gpios = <&r_pio 1 1 GPIO_ACTIVE_HIGH>; /* PM1 */
71 shutdown-gpios = <&r_pio 1 4 GPIO_ACTIVE_HIGH>; /* PM4 */
72 max-speed = <1500000>;