2020-04-24 02:58:30 +00:00
|
|
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
|
|
/*
|
|
|
|
* Copyright (c) 2020 Dongjin Kim <tobetter@gmail.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
2021-09-17 07:37:00 +00:00
|
|
|
#include "meson-sm1-odroid.dtsi"
|
2020-04-24 02:58:30 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-09-21 07:34:12 +00:00
|
|
|
sound {
|
2021-09-17 07:37:00 +00:00
|
|
|
model = "ODROID-C4";
|
2020-04-24 02:58:30 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpio {
|
|
|
|
/*
|
|
|
|
* WARNING: The USB Hub on the Odroid-C4 needs a reset signal
|
|
|
|
* to be turned high in order to be detected by the USB Controller
|
|
|
|
* This signal should be handled by a USB specific power sequence
|
|
|
|
* in order to reset the Hub when USB bus is powered down.
|
|
|
|
*/
|
2021-09-17 07:37:00 +00:00
|
|
|
hog-0 {
|
2020-04-24 02:58:30 +00:00
|
|
|
gpio-hog;
|
|
|
|
gpios = <GPIOH_4 GPIO_ACTIVE_HIGH>;
|
|
|
|
output-high;
|
|
|
|
line-name = "usb-hub-reset";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&ir {
|
|
|
|
linux,rc-map-name = "rc-odroid";
|
|
|
|
};
|