summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun8i-s3-elimo-impetus.dtsi
diff options
context:
space:
mode:
authorMatteo Scordino <matteo.scordino@gmail.com>2020-11-05 19:32:29 +0100
committerMaxime Ripard <maxime@cerno.tech>2020-11-06 11:47:01 +0100
commit33958b22f3775ed8ac6594f89fff1ed150bed3fd (patch)
tree275c7c2dac0faef6066886851f88d855d4d10c7a /arch/arm/boot/dts/sun8i-s3-elimo-impetus.dtsi
parentarm64: dts: allwinner: pinephone: Add Bluetooth support (diff)
downloadlinux-33958b22f3775ed8ac6594f89fff1ed150bed3fd.tar.xz
linux-33958b22f3775ed8ac6594f89fff1ed150bed3fd.zip
ARM: dts: sun8i: s3: Add dtsi for the Elimo Impetus SoM
The Elimo Engineering Impetus is an Open Source Hardware System-on-Module based on the SoChip S3 SoC. It is meant for integration into carrier boards or, more generally, larger designs, and uses an M2 connector to facilitate that. Interfaces on the M.2/NGFF 42mm connector: WiFi IEEE 802. 11abgn (on-module Realtek) Bluetooth 4.2/BLE (on-module Realtek) RGB LCD Interface (on-module connector) MIPI Camera Interface (on-module connector) IEEE 802. 3u Ethernet MAC (external connecto) USB2.0 (Host, Device, OTG) (external connector) Audio Line In/Out (external connector) Signed-off-by: Matteo Scordino <matteo.scordino@gmail.com> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20201105183231.12952-2-matteo.scordino@gmail.com
Diffstat (limited to 'arch/arm/boot/dts/sun8i-s3-elimo-impetus.dtsi')
-rw-r--r--arch/arm/boot/dts/sun8i-s3-elimo-impetus.dtsi44
1 files changed, 44 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-s3-elimo-impetus.dtsi b/arch/arm/boot/dts/sun8i-s3-elimo-impetus.dtsi
new file mode 100644
index 000000000000..24d507cdbcf9
--- /dev/null
+++ b/arch/arm/boot/dts/sun8i-s3-elimo-impetus.dtsi
@@ -0,0 +1,44 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (C) 2020 Matteo Scordino <matteo@elimo.io>
+ */
+
+/dts-v1/;
+#include "sun8i-v3.dtsi"
+#include "sunxi-common-regulators.dtsi"
+
+/ {
+ model = "Elimo Impetus SoM";
+ compatible = "elimo,impetus", "sochip,s3", "allwinner,sun8i-v3";
+
+ aliases {
+ serial0 = &uart0;
+ };
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+};
+
+&mmc0 {
+ broken-cd;
+ bus-width = <4>;
+ vmmc-supply = <&reg_vcc3v3>;
+ status = "okay";
+};
+
+&uart0 {
+ pinctrl-0 = <&uart0_pb_pins>;
+ pinctrl-names = "default";
+ status = "okay";
+};
+
+&usb_otg {
+ dr_mode = "otg";
+ status = "okay";
+};
+
+&usbphy {
+ usb0_id_det-gpio = <&pio 5 6 GPIO_ACTIVE_HIGH>;
+ status = "okay";
+};