From 31caa82a78ff7546dad5c27372a499ff85b7fa78 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Thu, 22 Jul 2021 08:56:39 +0200 Subject: [PATCH 099/153] arm64:dts: sun50i-h6-orangepi-lite2 spi0, usb3phy, dwc3 enable Signed-off-by: Igor Pecovnik --- .../allwinner/sun50i-h6-orangepi-lite2.dts | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-lite2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-lite2.dts index fb31dcb1c..d16ef4cc0 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-lite2.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-lite2.dts @@ -1,5 +1,6 @@ // SPDX-License-Identifier: (GPL-2.0+ OR MIT) // Copyright (C) 2018 Jagan Teki +// Copyright (C) 2021 Igor Pecovnik #include "sun50i-h6-orangepi.dtsi" @@ -11,6 +12,16 @@ aliases { serial1 = &uart1; /* BT-UART */ }; + reg_usb_vbus: vbus { + compatible = "regulator-fixed"; + regulator-name = "usb-vbus"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + startup-delay-us = <100000>; + gpio = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* PL5 USB0-DRVVBUS */ + enable-active-high; + }; + wifi_pwrseq: wifi_pwrseq { compatible = "mmc-pwrseq-simple"; clocks = <&rtc CLK_OSC32K_FANOUT>; @@ -72,3 +83,18 @@ bluetooth { max-speed = <1500000>; }; }; + +&spi0 { + pinctrl-names = "default"; + pinctrl-0 = <&spi0_pins>; + status = "disabled"; +}; + +&usb3phy { + phy-supply = <®_usb_vbus>; + status = "okay"; +}; + +&dwc3 { + status = "okay"; +}; -- 2.35.3