mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-15 09:27:35 +00:00
f9e2d9e889
roc-rk3399-pc has an FE1.1 USB 2.0 HUB which connects two USB ports (HOST1 and HOST2). For end devices to work we need to enable USB hub so that HOST detects there presence and enumerates them accordingly. This requires explicit pinctrl within gpio enablement. Signed-off-by: Suniel Mahesh <sunil@amarulasolutions.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
32 lines
618 B
Text
32 lines
618 B
Text
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright (C) 2019 Levin Du <djw@t-chip.com.cn>
|
|
*/
|
|
|
|
#include "rk3399-u-boot.dtsi"
|
|
#include "rk3399-sdram-lpddr4-100.dtsi"
|
|
|
|
/ {
|
|
aliases {
|
|
spi0 = &spi1;
|
|
};
|
|
|
|
chosen {
|
|
u-boot,spl-boot-order = "same-as-spl", &sdhci, &sdmmc;
|
|
};
|
|
|
|
vcc_hub_en: vcc_hub_en-regulator {
|
|
compatible = "regulator-fixed";
|
|
enable-active-high;
|
|
gpio = <&gpio2 RK_PA4 GPIO_ACTIVE_HIGH>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&hub_rst>;
|
|
regulator-name = "vcc_hub_en";
|
|
regulator-always-on;
|
|
};
|
|
};
|
|
|
|
&vdd_log {
|
|
regulator-min-microvolt = <430000>;
|
|
regulator-init-microvolt = <950000>;
|
|
};
|