mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 17:07:38 +00:00
74f50b79e3
Sync the libretech-pc device tree from Linux v5.6-rc2 11a48a5a18c6 ("Linux 5.6-rc2") Acked-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
62 lines
1.2 KiB
Text
62 lines
1.2 KiB
Text
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Copyright (c) 2019 BayLibre SAS. All rights reserved.
|
|
* Author: Jerome Brunet <jbrunet@baylibre.com>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "meson-gxm.dtsi"
|
|
#include "meson-gx-libretech-pc.dtsi"
|
|
|
|
/ {
|
|
compatible = "libretech,aml-s912-pc", "amlogic,s912",
|
|
"amlogic,meson-gxm";
|
|
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>;
|
|
vin-supply = <&vcc5v>;
|
|
|
|
gpio = <&gpio GPIODV_1 GPIO_ACTIVE_HIGH>;
|
|
enable-active-high;
|
|
};
|
|
};
|
|
|
|
&pinctrl_periphs {
|
|
/*
|
|
* Make sure the irq pin of the TYPE C controller is not driven
|
|
* by the SoC.
|
|
*/
|
|
fusb302_irq_pins: fusb302_irq {
|
|
mux {
|
|
groups = "GPIODV_0";
|
|
function = "gpio_periphs";
|
|
bias-pull-up;
|
|
output-disable;
|
|
};
|
|
};
|
|
};
|
|
|
|
&i2c_C {
|
|
fusb302@22 {
|
|
compatible = "fcs,fusb302";
|
|
reg = <0x22>;
|
|
|
|
pinctrl-0 = <&fusb302_irq_pins>;
|
|
pinctrl-names = "default";
|
|
interrupt-parent = <&gpio_intc>;
|
|
interrupts = <59 IRQ_TYPE_LEVEL_LOW>;
|
|
|
|
vbus-supply = <&typec2_vbus>;
|
|
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
&usb2_phy2 {
|
|
phy-supply = <&typec2_vbus>;
|
|
};
|