1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 // Copyright (C) 2018 Jagan Teki <jagan@openede 3 4 #include "sun50i-h6-orangepi.dtsi" 5 6 / { 7 model = "OrangePi Lite2"; 8 compatible = "xunlong,orangepi-lite2", 9 10 aliases { 11 serial1 = &uart1; /* BT-UART * 12 }; 13 14 wifi_pwrseq: pwrseq { 15 compatible = "mmc-pwrseq-simpl 16 clocks = <&rtc CLK_OSC32K_FANO 17 clock-names = "ext_clock"; 18 reset-gpios = <&r_pio 1 3 GPIO 19 post-power-on-delay-ms = <200> 20 }; 21 }; 22 23 &mmc1 { 24 vmmc-supply = <®_cldo2>; 25 vqmmc-supply = <®_bldo3>; 26 mmc-pwrseq = <&wifi_pwrseq>; 27 bus-width = <4>; 28 non-removable; 29 status = "okay"; 30 31 brcm: sdio-wifi@1 { 32 reg = <1>; 33 compatible = "brcm,bcm4329-fma 34 interrupt-parent = <&r_pio>; 35 interrupts = <1 0 IRQ_TYPE_LEV 36 interrupt-names = "host-wake"; 37 }; 38 }; 39 40 ®_cldo2 { 41 /* 42 * This regulator is connected with CL 43 * Before the kernel can support synch 44 * enable of coupled regulators, keep 45 * both always on as a ugly hack. 46 */ 47 regulator-always-on; 48 }; 49 50 ®_cldo3 { 51 /* 52 * This regulator is connected with CL 53 * See the comments for CLDO2. 54 */ 55 regulator-always-on; 56 }; 57 58 /* There's the BT part of the AP6255 connected 59 &uart1 { 60 pinctrl-names = "default"; 61 pinctrl-0 = <&uart1_pins>, <&uart1_rts 62 uart-has-rtscts; 63 status = "okay"; 64 65 bluetooth { 66 compatible = "brcm,bcm4345c5"; 67 clocks = <&rtc CLK_OSC32K_FANO 68 clock-names = "lpo"; 69 device-wakeup-gpios = <&r_pio 70 host-wakeup-gpios = <&r_pio 1 71 shutdown-gpios = <&r_pio 1 4 G 72 max-speed = <1500000>; 73 }; 74 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.