0001 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
0002 /*
0003 * Copyright (c) 2020 Dongjin Kim <tobetter@gmail.com>
0004 */
0005
0006 /dts-v1/;
0007
0008 #include "meson-sm1-odroid.dtsi"
0009
0010 / {
0011 compatible = "hardkernel,odroid-c4", "amlogic,sm1";
0012 model = "Hardkernel ODROID-C4";
0013
0014 leds {
0015 compatible = "gpio-leds";
0016
0017 led-blue {
0018 color = <LED_COLOR_ID_BLUE>;
0019 function = LED_FUNCTION_STATUS;
0020 gpios = <&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>;
0021 linux,default-trigger = "heartbeat";
0022 panic-indicator;
0023 };
0024 };
0025
0026 sound {
0027 model = "ODROID-C4";
0028 };
0029 };
0030
0031 &gpio {
0032 /*
0033 * WARNING: The USB Hub on the Odroid-C4 needs a reset signal
0034 * to be turned high in order to be detected by the USB Controller
0035 * This signal should be handled by a USB specific power sequence
0036 * in order to reset the Hub when USB bus is powered down.
0037 */
0038 hog-0 {
0039 gpio-hog;
0040 gpios = <GPIOH_4 GPIO_ACTIVE_HIGH>;
0041 output-high;
0042 line-name = "usb-hub-reset";
0043 };
0044 };
0045
0046 &ir {
0047 linux,rc-map-name = "rc-odroid";
0048 };