海思 HI3559 修改 USB 的主从

文件夹位置 linux-4.9.y_multi-core/arch/arm64/boot/dts/hisilicon/hi3559av100.dtsi

        /*USB DTS nodes*/
        usb3_phy_0: phy3_0 {
            compatible = "hisilicon,hisi-usb3-phy_0";
            reg = <0x12010000 0x10000>, <0x12030000 0x10000>, <0x12020000 0x10000>, <0x12300000 0x10000>;
			phyid = <0>;
        };

        usb3_phy_1: phy3_1 {
            compatible = "hisilicon,hisi-usb3-phy_1";
            reg = <0x12010000 0x10000>, <0x12030000 0x10000>, <0x12020000 0x10000>, <0x12310000 0x10000>;
			phyid = <1>;
        };

#if 1
        xhci_0:xhci_0@0x12300000 {
			compatible = "generic-xhci";
			reg = <0x12300000 0x10000>;
			interrupts = <0 84 4>;
        };
#endif
#if 0
        xhci_1:xhci_1@0x12310000 {
			compatible = "generic-xhci";
			reg = <0x12310000 0x10000>;
			interrupts = <0 85 4>;
		};
#endif
#if 0
		hidwc3_0:hiudc3_0@0x12300000 {
			compatible = "snps,dwc3";
			reg = <0x12300000 0x10000>;
			interrupts = <0 84 4>;
			port_speed = <0>;
			interrupt-names = "peripheral";
			maximum-speed = "super-speed";
			dr_mode = "peripheral";
		};
#endif
#if 1
		hidwc3_1:hiudc3_1@0x12310000 {
			compatible = "snps,dwc3";
			reg = <0x12310000 0x10000>;
			interrupts = <0 85 4>;
			port_speed = <1>;
			interrupt-names = "peripheral";
			maximum-speed = "super-speed";
			dr_mode = "peripheral";
		};
#endif

 xhci 为主设备 hidwc 为从设备

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值