mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-16 04:04:06 +00:00
dts: starfive: Add usb device dts
Add usb device dts to test usb device function Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
This commit is contained in:
parent
4ae7ec390f
commit
6729be3e37
3 changed files with 42 additions and 1 deletions
|
@ -20836,3 +20836,8 @@ Q: http://patchwork.kernel.org/project/LKML/list/
|
|||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
|
||||
F: *
|
||||
F: */
|
||||
|
||||
STARFIVE JH7110 EVB USB DEVICE SUPPORT
|
||||
M: Jianlong Huang <jianlong.huang@starfivetech.com>
|
||||
S: Maintained
|
||||
F: arch/riscv/boot/dts/starfive/jh7110-evb-usbdevice.dts
|
||||
|
|
|
@ -10,4 +10,5 @@ dtb-$(CONFIG_SOC_STARFIVE_JH7110) += jh7110-visionfive-v2.dtb \
|
|||
jh7110-evb-spi-uart2.dtb \
|
||||
jh7110-evb-uart1-rgb2hdmi.dtb \
|
||||
jh7110-evb-uart4-emmc-spdif.dtb \
|
||||
jh7110-evb-uart5-pwm-i2c-tdm.dtb
|
||||
jh7110-evb-uart5-pwm-i2c-tdm.dtb\
|
||||
jh7110-evb-usbdevice.dtb
|
||||
|
|
35
arch/riscv/boot/dts/starfive/jh7110-evb-usbdevice.dts
Normal file
35
arch/riscv/boot/dts/starfive/jh7110-evb-usbdevice.dts
Normal file
|
@ -0,0 +1,35 @@
|
|||
// SPDX-License-Identifier: GPL-2.0 OR MIT
|
||||
/*
|
||||
* Copyright (C) 2022 StarFive Technology Co., Ltd.
|
||||
* Copyright (C) 2022 Hal Feng <hal.feng@starfivetech.com>
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
#include "jh7110-evb.dtsi"
|
||||
|
||||
/ {
|
||||
model = "StarFive JH7110 EVB";
|
||||
compatible = "starfive,jh7110-evb", "starfive,jh7110";
|
||||
};
|
||||
|
||||
/* default sd card */
|
||||
&sdio0 {
|
||||
clock-frequency = <102400000>;
|
||||
max-frequency = <200000000>;
|
||||
card-detect-delay = <300>;
|
||||
bus-width = <4>;
|
||||
broken-cd;
|
||||
cap-sd-highspeed;
|
||||
post-power-on-delay-ms = <200>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbdrd30 {
|
||||
dr_mode = "peripheral"; /*host or peripheral*/
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
||||
&pcie1 {
|
||||
status = "okay";
|
||||
};
|
Loading…
Add table
Reference in a new issue