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-gxbb-kii-pro.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) 2019 Mohammad Rasim <mohammad.rasim96@gmail.com>
    4  */
    5 
    6 /dts-v1/;
    7 
    8 #include "meson-gxbb-p20x.dtsi"
    9 
   10 #include <dt-bindings/gpio/gpio.h>
   11 #include <dt-bindings/input/input.h>
   12 #include <dt-bindings/leds/common.h>
   13 / {
   14         compatible = "videostrong,kii-pro", "amlogic,meson-gxbb";
   15         model = "Videostrong KII Pro";
   16 
   17         leds {
   18                 compatible = "gpio-leds";
   19                 status {
   20                         gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_LOW>;
   21                         default-state = "off";
   22                         color = <LED_COLOR_ID_RED>;
   23                         function = LED_FUNCTION_STATUS;
   24                 };
   25         };
   26 
   27         gpio-keys-polled {
   28                 compatible = "gpio-keys-polled";
   29                 poll-interval = <20>;
   30 
   31                 button-reset {
   32                         label = "reset";
   33                         linux,code = <KEY_POWER>;
   34                         gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_HIGH>;
   35                 };
   36         };
   37 
   38 };
   39 
   40 
   41 
   42 &uart_A {
   43         status = "okay";
   44         pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
   45         pinctrl-names = "default";
   46         uart-has-rtscts;
   47 
   48         bluetooth {
   49                 compatible = "brcm,bcm4335a0";
   50         };
   51 };
   52 
   53 
   54 
   55 &ethmac {
   56         status = "okay";
   57         pinctrl-0 = <&eth_rmii_pins>;
   58         pinctrl-names = "default";
   59 
   60         phy-handle = <&eth_phy0>;
   61         phy-mode = "rmii";
   62 
   63         mdio {
   64                 compatible = "snps,dwmac-mdio";
   65                 #address-cells = <1>;
   66                 #size-cells = <0>;
   67 
   68                 eth_phy0: ethernet-phy@0 {
   69                         /* IC Plus IP101GR (0x02430c54) */
   70                         reg = <0>;
   71                         reset-assert-us = <10000>;
   72                         reset-deassert-us = <10000>;
   73                         reset-gpios = <&gpio GPIOZ_14 GPIO_ACTIVE_LOW>;
   74                 };
   75         };
   76 };
   77 
   78 &ir {
   79         linux,rc-map-name = "rc-videostrong-kii-pro";
   80 };

Cache object: f985016e2e0cf5f8ee99e185f222ff26


[ 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.