1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2019 BayLibre SAS. All rights reserved.
4 * Author: Jerome Brunet <jbrunet@baylibre.com>
9 #include "meson-gxm.dtsi"
10 #include "meson-gx-libretech-pc.dtsi"
13 compatible = "libretech,aml-s912-pc", "amlogic,s912",
15 model = "Libre Computer AML-S912-PC";
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>;
24 gpio = <&gpio GPIODV_1 GPIO_ACTIVE_HIGH>;
31 * Make sure the irq pin of the TYPE C controller is not driven
34 fusb302_irq_pins: fusb302_irq {
37 function = "gpio_periphs";
46 compatible = "fcs,fusb302";
49 pinctrl-0 = <&fusb302_irq_pins>;
50 pinctrl-names = "default";
51 interrupt-parent = <&gpio_intc>;
52 interrupts = <59 IRQ_TYPE_LEVEL_LOW>;
54 vbus-supply = <&typec2_vbus>;
61 phy-supply = <&typec2_vbus>;