The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/src/arm64/amlogic/meson-sm1-odroid-c4.dts

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    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 };

Cache object: e9bcbf17c06ee055a7b64db47ce28b94


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.