blob: d04768a66bfe7e2fc7df56847a17c1bb9c6de982 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2020 Dongjin Kim <tobetter@gmail.com>
4 */
5
6/dts-v1/;
7
8#include "meson-sm1-odroid.dtsi"
9
10/ {
11 compatible = "hardkernel,odroid-c4", "amlogic,sm1";
12 model = "Hardkernel ODROID-C4";
13
14 leds {
15 compatible = "gpio-leds";
16
17 led-blue {
18 color = <LED_COLOR_ID_BLUE>;
19 function = LED_FUNCTION_STATUS;
20 gpios = <&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>;
21 linux,default-trigger = "heartbeat";
22 panic-indicator;
23 };
24 };
25
26 sound {
27 model = "ODROID-C4";
28 };
29
30 /* USB hub supports both USB 2.0 and USB 3.0 root hub */
31 usb-hub {
32 dr_mode = "host";
33 #address-cells = <1>;
34 #size-cells = <0>;
35
36 /* 2.0 hub on port 1 */
37 hub_2_0: hub@1 {
38 compatible = "usb2109,2817";
39 reg = <1>;
40 peer-hub = <&hub_3_0>;
41 reset-gpios = <&gpio GPIOH_4 GPIO_ACTIVE_LOW>;
42 vdd-supply = <&vcc_5v>;
43 };
44
45 /* 3.1 hub on port 4 */
46 hub_3_0: hub@2 {
47 compatible = "usb2109,817";
48 reg = <2>;
49 peer-hub = <&hub_2_0>;
50 reset-gpios = <&gpio GPIOH_4 GPIO_ACTIVE_LOW>;
51 vdd-supply = <&vcc_5v>;
52 };
53 };
54};
55
56&ir {
57 linux,rc-map-name = "rc-odroid";
58};