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-gxm-minix-neo-u9h.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) Christian Hewitt <christianshewitt@gmail.com>
    4  */
    5 
    6 /dts-v1/;
    7 
    8 #include "meson-gxm.dtsi"
    9 #include "meson-gx-p23x-q20x.dtsi"
   10 #include <dt-bindings/input/input.h>
   11 #include <dt-bindings/leds/common.h>
   12 
   13 / {
   14         compatible = "minix,neo-u9h", "amlogic,s912", "amlogic,meson-gxm";
   15         model = "Minix Neo U9-H";
   16 
   17         leds {
   18                 compatible = "gpio-leds";
   19 
   20                 led-white {
   21                         color = <LED_COLOR_ID_WHITE>;
   22                         function = LED_FUNCTION_POWER;
   23                         gpios = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>;
   24                         default-state = "on";
   25                         panic-indicator;
   26                 };
   27         };
   28 
   29         adc-keys {
   30                 compatible = "adc-keys";
   31                 io-channels = <&saradc 0>;
   32                 io-channel-names = "buttons";
   33                 keyup-threshold-microvolt = <1710000>;
   34 
   35                 button-function {
   36                         label = "update";
   37                         linux,code = <KEY_VENDOR>;
   38                         press-threshold-microvolt = <10000>;
   39                 };
   40         };
   41 
   42         gpio-keys-polled {
   43                 compatible = "gpio-keys-polled";
   44                 poll-interval = <100>;
   45 
   46                 button {
   47                         label = "power";
   48                         linux,code = <KEY_POWER>;
   49                         gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_LOW>;
   50                 };
   51         };
   52 };
   53 
   54 &ethmac {
   55         pinctrl-0 = <&eth_pins>;
   56         pinctrl-names = "default";
   57         phy-handle = <&external_phy>;
   58         amlogic,tx-delay-ns = <2>;
   59         phy-mode = "rgmii";
   60 };
   61 
   62 &external_mdio {
   63         external_phy: ethernet-phy@0 {
   64                 /* Realtek RTL8211F (0x001cc916) */
   65                 reg = <0>;
   66                 max-speed = <1000>;
   67 
   68                 reset-assert-us = <10000>;
   69                 reset-deassert-us = <80000>;
   70                 reset-gpios = <&gpio GPIOZ_14 GPIO_ACTIVE_LOW>;
   71 
   72                 interrupt-parent = <&gpio_intc>;
   73                 /* MAC_INTR on GPIOZ_15 */
   74                 interrupts = <25 IRQ_TYPE_LEVEL_LOW>;
   75         };
   76 };
   77 
   78 &ir {
   79         linux,rc-map-name = "rc-minix-neo";
   80 };
   81 
   82 &i2c_B {
   83         status = "okay";
   84         pinctrl-0 = <&i2c_b_pins>;
   85         pinctrl-names = "default";
   86 
   87         rtc: rtc@51 {
   88                 status = "okay";
   89                 compatible = "haoyu,hym8563";
   90                 reg = <0x51>;
   91                 #clock-cells = <0>;
   92                 clock-frequency = <32768>;
   93                 clock-output-names = "xin32k";
   94                 wakeup-source;
   95         };
   96 };
   97 
   98 &sd_emmc_a {
   99         brcmf: wifi@1 {
  100                 reg = <1>;
  101                 compatible = "brcm,bcm4329-fmac";
  102         };
  103 };
  104 
  105 &uart_A {
  106         status = "okay";
  107         pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
  108         pinctrl-names = "default";
  109         uart-has-rtscts;
  110 
  111         bluetooth {
  112                 compatible = "brcm,bcm43438-bt";
  113                 shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
  114                 max-speed = <2000000>;
  115                 clocks = <&wifi32k>;
  116                 clock-names = "lpo";
  117         };
  118 };

Cache object: 661e5e0fa1ec8f73e67ef6c34fc76b2b


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