summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Rudenko <mike.rudenko@gmail.com>2022-01-04 22:37:18 +0300
committerMaxime Ripard <maxime@cerno.tech>2022-01-24 11:11:25 +0300
commit0f960ce9debcdc3db43162a0d25f5875b3a509cf (patch)
tree553723dff3ad971aa32e0ff82b27163754e0623d
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff)
downloadlinux-0f960ce9debcdc3db43162a0d25f5875b3a509cf.tar.xz
ARM: dts: nanopi-neo-air: Add eMMC and bluetooth
Enable the bluetooth part of AP6212 chip (connected to UART3) and the onboard eMMC (connected to MMC2) for the NanoPi NEO Air board. Signed-off-by: Mikhail Rudenko <mike.rudenko@gmail.com> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20220104193719.87091-1-mike.rudenko@gmail.com
-rw-r--r--arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts28
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts b/arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts
index be49eabbff94..cd3df12b6573 100644
--- a/arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts
+++ b/arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts
@@ -103,12 +103,40 @@
};
};
+&mmc2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&mmc2_8bit_pins>;
+ vmmc-supply = <&reg_vcc3v3>;
+ vqmmc-supply = <&reg_vcc3v3>;
+ bus-width = <8>;
+ non-removable;
+ status = "okay";
+};
+
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pa_pins>;
status = "okay";
};
+&uart3 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart3_pins>, <&uart3_rts_cts_pins>;
+ uart-has-rtscts;
+ status = "okay";
+
+ bluetooth {
+ compatible = "brcm,bcm43438-bt";
+ clocks = <&rtc 1>;
+ clock-names = "lpo";
+ vbat-supply = <&reg_vcc3v3>;
+ vddio-supply = <&reg_vcc3v3>;
+ device-wakeup-gpios = <&pio 0 8 GPIO_ACTIVE_HIGH>; /* PA8 */
+ host-wakeup-gpios = <&pio 0 7 GPIO_ACTIVE_HIGH>; /* PA7 */
+ shutdown-gpios = <&pio 6 13 GPIO_ACTIVE_HIGH>; /* PG13 */
+ };
+};
+
&usbphy {
/* USB VBUS is always on */
status = "okay";