File: meson-sm1-odroid-c4.dts

package info (click to toggle)
linux 6.12.43-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,676,260 kB
  • sloc: ansic: 25,921,022; asm: 269,579; sh: 136,424; python: 65,440; makefile: 55,721; perl: 37,752; xml: 19,284; cpp: 5,895; yacc: 4,927; lex: 2,939; awk: 1,594; sed: 28; ruby: 25
file content (58 lines) | stat: -rw-r--r-- 1,103 bytes parent folder | download | duplicates (20)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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";
};