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-s912-libretech-pc.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
    2 /*
    3  * Copyright (c) 2019 BayLibre SAS. All rights reserved.
    4  * Author: Jerome Brunet <jbrunet@baylibre.com>
    5  */
    6 
    7 /dts-v1/;
    8 
    9 #include "meson-gxm.dtsi"
   10 #include "meson-gx-libretech-pc.dtsi"
   11 
   12 / {
   13         compatible = "libretech,aml-s912-pc", "amlogic,s912",
   14                      "amlogic,meson-gxm";
   15         model = "Libre Computer AML-S912-PC";
   16 
   17         typec2_vbus: regulator-typec2_vbus {
   18                 compatible = "regulator-fixed";
   19                 regulator-name = "TYPEC2_VBUS";
   20                 regulator-min-microvolt = <5000000>;
   21                 regulator-max-microvolt = <5000000>;
   22                 vin-supply = <&vcc5v>;
   23 
   24                 gpio = <&gpio GPIODV_1 GPIO_ACTIVE_HIGH>;
   25                 enable-active-high;
   26         };
   27 };
   28 
   29 &pinctrl_periphs {
   30         /*
   31          * Make sure the irq pin of the TYPE C controller is not driven
   32          * by the SoC.
   33          */
   34         fusb302_irq_pins: fusb302_irq {
   35                 mux {
   36                         groups = "GPIODV_0";
   37                         function = "gpio_periphs";
   38                         bias-pull-up;
   39                         output-disable;
   40                 };
   41         };
   42 };
   43 
   44 &i2c_C {
   45         fusb302@22 {
   46                 compatible = "fcs,fusb302";
   47                 reg = <0x22>;
   48 
   49                 pinctrl-0 = <&fusb302_irq_pins>;
   50                 pinctrl-names = "default";
   51                 interrupt-parent = <&gpio_intc>;
   52                 interrupts = <59 IRQ_TYPE_LEVEL_LOW>;
   53 
   54                 vbus-supply = <&typec2_vbus>;
   55 
   56                 status = "okay";
   57         };
   58 };
   59 
   60 &usb2_phy2 {
   61         phy-supply = <&typec2_vbus>;
   62 };

Cache object: 49096121ee02c2fd01e86cc384d0ba6c


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