meson-sm1-odroid-c4.dts (953B)
1// 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 31&gpio { 32 /* 33 * WARNING: The USB Hub on the Odroid-C4 needs a reset signal 34 * to be turned high in order to be detected by the USB Controller 35 * This signal should be handled by a USB specific power sequence 36 * in order to reset the Hub when USB bus is powered down. 37 */ 38 hog-0 { 39 gpio-hog; 40 gpios = <GPIOH_4 GPIO_ACTIVE_HIGH>; 41 output-high; 42 line-name = "usb-hub-reset"; 43 }; 44}; 45 46&ir { 47 linux,rc-map-name = "rc-odroid"; 48};