mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-22 02:20:40 +00:00
1b9dac68c6
The binding header provides descriptive names for the RTC clock indexes, since the indexes were arbitrarily chosen by the binding, not by the hardware. Let's use the names, so the meaning is clearer. Signed-off-by: Samuel Holland <samuel@sholland.org> Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com> Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com> Link: https://lore.kernel.org/r/20220607012438.18183-2-samuel@sholland.org
74 lines
1.7 KiB
Text
74 lines
1.7 KiB
Text
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
// Copyright (C) 2018 Jagan Teki <jagan@openedev.com>
|
|
|
|
#include "sun50i-h6-orangepi.dtsi"
|
|
|
|
/ {
|
|
model = "OrangePi Lite2";
|
|
compatible = "xunlong,orangepi-lite2", "allwinner,sun50i-h6";
|
|
|
|
aliases {
|
|
serial1 = &uart1; /* BT-UART */
|
|
};
|
|
|
|
wifi_pwrseq: wifi_pwrseq {
|
|
compatible = "mmc-pwrseq-simple";
|
|
clocks = <&rtc CLK_OSC32K_FANOUT>;
|
|
clock-names = "ext_clock";
|
|
reset-gpios = <&r_pio 1 3 GPIO_ACTIVE_LOW>; /* PM3 */
|
|
post-power-on-delay-ms = <200>;
|
|
};
|
|
};
|
|
|
|
&mmc1 {
|
|
vmmc-supply = <®_cldo2>;
|
|
vqmmc-supply = <®_bldo3>;
|
|
mmc-pwrseq = <&wifi_pwrseq>;
|
|
bus-width = <4>;
|
|
non-removable;
|
|
status = "okay";
|
|
|
|
brcm: sdio-wifi@1 {
|
|
reg = <1>;
|
|
compatible = "brcm,bcm4329-fmac";
|
|
interrupt-parent = <&r_pio>;
|
|
interrupts = <1 0 IRQ_TYPE_LEVEL_LOW>; /* PM0 */
|
|
interrupt-names = "host-wake";
|
|
};
|
|
};
|
|
|
|
®_cldo2 {
|
|
/*
|
|
* This regulator is connected with CLDO3.
|
|
* Before the kernel can support synchronized
|
|
* enable of coupled regulators, keep them
|
|
* both always on as a ugly hack.
|
|
*/
|
|
regulator-always-on;
|
|
};
|
|
|
|
®_cldo3 {
|
|
/*
|
|
* This regulator is connected with CLDO2.
|
|
* See the comments for CLDO2.
|
|
*/
|
|
regulator-always-on;
|
|
};
|
|
|
|
/* There's the BT part of the AP6255 connected to that UART */
|
|
&uart1 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
|
|
uart-has-rtscts;
|
|
status = "okay";
|
|
|
|
bluetooth {
|
|
compatible = "brcm,bcm4345c5";
|
|
clocks = <&rtc CLK_OSC32K_FANOUT>;
|
|
clock-names = "lpo";
|
|
device-wakeup-gpios = <&r_pio 1 2 GPIO_ACTIVE_HIGH>; /* PM2 */
|
|
host-wakeup-gpios = <&r_pio 1 1 GPIO_ACTIVE_HIGH>; /* PM1 */
|
|
shutdown-gpios = <&r_pio 1 4 GPIO_ACTIVE_HIGH>; /* PM4 */
|
|
max-speed = <1500000>;
|
|
};
|
|
};
|