| // SPDX-License-Identifier: GPL-2.0 |
| * Copyright (c) 2019 BayLibre SAS. All rights reserved. |
| * Author: Jerome Brunet <jbrunet@baylibre.com> |
| #include "meson-gxm.dtsi" |
| #include "meson-gx-libretech-pc.dtsi" |
| compatible = "libretech,aml-s912-pc", "amlogic,s912", |
| model = "Libre Computer AML-S912-PC"; |
| typec2_vbus: regulator-typec2_vbus { |
| compatible = "regulator-fixed"; |
| regulator-name = "TYPEC2_VBUS"; |
| regulator-min-microvolt = <5000000>; |
| regulator-max-microvolt = <5000000>; |
| gpio = <&gpio GPIODV_1 GPIO_ACTIVE_HIGH>; |
| * Make sure the irq pin of the TYPE C controller is not driven |
| fusb302_irq_pins: fusb302_irq { |
| function = "gpio_periphs"; |
| compatible = "fcs,fusb302"; |
| pinctrl-0 = <&fusb302_irq_pins>; |
| pinctrl-names = "default"; |
| interrupt-parent = <&gpio_intc>; |
| interrupts = <59 IRQ_TYPE_LEVEL_LOW>; |
| vbus-supply = <&typec2_vbus>; |
| phy-supply = <&typec2_vbus>; |