aboutsummaryrefslogtreecommitdiff
path: root/dts/upstream/src/arm64/amlogic/meson-sm1-odroid-c4.dts
diff options
context:
space:
mode:
Diffstat (limited to 'dts/upstream/src/arm64/amlogic/meson-sm1-odroid-c4.dts')
-rw-r--r--dts/upstream/src/arm64/amlogic/meson-sm1-odroid-c4.dts58
1 files changed, 58 insertions, 0 deletions
diff --git a/dts/upstream/src/arm64/amlogic/meson-sm1-odroid-c4.dts b/dts/upstream/src/arm64/amlogic/meson-sm1-odroid-c4.dts
new file mode 100644
index 00000000000..d04768a66bf
--- /dev/null
+++ b/dts/upstream/src/arm64/amlogic/meson-sm1-odroid-c4.dts
@@ -0,0 +1,58 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2020 Dongjin Kim <tobetter@gmail.com>
+ */
+
+/dts-v1/;
+
+#include "meson-sm1-odroid.dtsi"
+
+/ {
+ compatible = "hardkernel,odroid-c4", "amlogic,sm1";
+ model = "Hardkernel ODROID-C4";
+
+ leds {
+ compatible = "gpio-leds";
+
+ led-blue {
+ color = <LED_COLOR_ID_BLUE>;
+ function = LED_FUNCTION_STATUS;
+ gpios = <&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>;
+ linux,default-trigger = "heartbeat";
+ panic-indicator;
+ };
+ };
+
+ sound {
+ model = "ODROID-C4";
+ };
+
+ /* USB hub supports both USB 2.0 and USB 3.0 root hub */
+ usb-hub {
+ dr_mode = "host";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ /* 2.0 hub on port 1 */
+ hub_2_0: hub@1 {
+ compatible = "usb2109,2817";
+ reg = <1>;
+ peer-hub = <&hub_3_0>;
+ reset-gpios = <&gpio GPIOH_4 GPIO_ACTIVE_LOW>;
+ vdd-supply = <&vcc_5v>;
+ };
+
+ /* 3.1 hub on port 4 */
+ hub_3_0: hub@2 {
+ compatible = "usb2109,817";
+ reg = <2>;
+ peer-hub = <&hub_2_0>;
+ reset-gpios = <&gpio GPIOH_4 GPIO_ACTIVE_LOW>;
+ vdd-supply = <&vcc_5v>;
+ };
+ };
+};
+
+&ir {
+ linux,rc-map-name = "rc-odroid";
+};