mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Add usb_cdns3 and usb0_pins configuration to support super speed USB device on the FML13V01 board. Signed-off-by: Sandie Cao <sandie.cao@deepcomputing.io> Tested-by: Maud Spierings <maud_spierings@hotmail.com> Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
70 lines
1.3 KiB
Text
70 lines
1.3 KiB
Text
// SPDX-License-Identifier: GPL-2.0 OR MIT
|
|
/*
|
|
* Copyright (C) 2024 DeepComputing (HK) Limited
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "jh7110-common.dtsi"
|
|
|
|
/ {
|
|
model = "DeepComputing FML13V01";
|
|
compatible = "deepcomputing,fml13v01", "starfive,jh7110";
|
|
};
|
|
|
|
&pcie1 {
|
|
perst-gpios = <&sysgpio 21 GPIO_ACTIVE_LOW>;
|
|
phys = <&pciephy1>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pcie1_pins>;
|
|
status = "okay";
|
|
};
|
|
|
|
&sysgpio {
|
|
pcie1_pins: pcie1-0 {
|
|
clkreq-pins {
|
|
pinmux = <GPIOMUX(29, GPOUT_LOW,
|
|
GPOEN_DISABLE,
|
|
GPI_NONE)>;
|
|
bias-pull-down;
|
|
drive-strength = <2>;
|
|
input-enable;
|
|
input-schmitt-disable;
|
|
slew-rate = <0>;
|
|
};
|
|
|
|
wake-pins {
|
|
pinmux = <GPIOMUX(28, GPOUT_HIGH,
|
|
GPOEN_DISABLE,
|
|
GPI_NONE)>;
|
|
bias-pull-up;
|
|
drive-strength = <2>;
|
|
input-enable;
|
|
input-schmitt-disable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
|
|
usb0_pins: usb0-0 {
|
|
vbus-pins {
|
|
pinmux = <GPIOMUX(25, GPOUT_SYS_USB_DRIVE_VBUS,
|
|
GPOEN_ENABLE,
|
|
GPI_NONE)>;
|
|
bias-disable;
|
|
input-disable;
|
|
input-schmitt-disable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&usb0 {
|
|
dr_mode = "host";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&usb0_pins>;
|
|
status = "okay";
|
|
};
|
|
|
|
&usb_cdns3 {
|
|
phys = <&usbphy0>, <&pciephy0>;
|
|
phy-names = "cdns3,usb2-phy", "cdns3,usb3-phy";
|
|
};
|