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/renesas/hihope-rev2.dtsi

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
    2 /*
    3  * Device Tree Source for the HiHope RZ/G2[MN] main board Rev.2.0 common
    4  * parts
    5  *
    6  * Copyright (C) 2020 Renesas Electronics Corp.
    7  */
    8 
    9 #include <dt-bindings/gpio/gpio.h>
   10 #include "hihope-common.dtsi"
   11 
   12 / {
   13         leds {
   14                 compatible = "gpio-leds";
   15 
   16                 bt_active_led {
   17                         label = "blue:bt";
   18                         gpios = <&gpio7  0 GPIO_ACTIVE_HIGH>;
   19                         linux,default-trigger = "hci0-power";
   20                         default-state = "off";
   21                 };
   22 
   23                 wlan_active_led {
   24                         label = "yellow:wlan";
   25                         gpios = <&gpio7  1 GPIO_ACTIVE_HIGH>;
   26                         linux,default-trigger = "phy0tx";
   27                         default-state = "off";
   28                 };
   29         };
   30 
   31         wlan_en_reg: regulator-wlan_en {
   32                 compatible = "regulator-fixed";
   33                 regulator-name = "wlan-en-regulator";
   34                 regulator-min-microvolt = <1800000>;
   35                 regulator-max-microvolt = <1800000>;
   36                 startup-delay-us = <70000>;
   37 
   38                 gpio = <&gpio_expander 1 GPIO_ACTIVE_HIGH>;
   39                 enable-active-high;
   40         };
   41 };
   42 
   43 &hscif0 {
   44         bluetooth {
   45                 compatible = "ti,wl1837-st";
   46                 enable-gpios = <&gpio_expander 2 GPIO_ACTIVE_HIGH>;
   47         };
   48 };
   49 
   50 &i2c4 {
   51         gpio_expander: gpio@20 {
   52                 compatible = "onnn,pca9654";
   53                 reg = <0x20>;
   54                 gpio-controller;
   55                 #gpio-cells = <2>;
   56         };
   57 };
   58 
   59 &pfc {
   60         sound_clk_pins: sound_clk {
   61                 groups = "audio_clk_a_a";
   62                 function = "audio_clk";
   63         };
   64 };
   65 
   66 &rcar_sound {
   67         pinctrl-0 = <&sound_clk_pins>;
   68         pinctrl-names = "default";
   69 
   70         status = "okay";
   71 
   72         /* Single DAI */
   73         #sound-dai-cells = <0>;
   74 
   75         rsnd_port: port {
   76                 rsnd_endpoint: endpoint {
   77                         remote-endpoint = <&dw_hdmi0_snd_in>;
   78 
   79                         dai-format = "i2s";
   80                         bitclock-master = <&rsnd_endpoint>;
   81                         frame-master = <&rsnd_endpoint>;
   82 
   83                         playback = <&ssi2>;
   84                 };
   85         };
   86 };

Cache object: 26c35e23a417a19cc751fffdab36e71e


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