|
Edited by Chourizo at 2018-2-25 09:45
Digging in the DTB file, I see that the OTG port and the other ports look totally different. I'm not an expert on that, so I'd appreciate some help. Has anyone ever used the OTG port before on a zero to access a flash drive for example?I tried changing the status of usb_otg and usbphy to disabled in the DTB file, but no changes.
usb_otg = "/soc/usb@01c19000";
usbphy = "/soc/phy@01c19400";
ehci0 = "/soc/usb@01c1a000";
ohci0 = "/soc/usb@01c1a400";
ehci1 = "/soc/usb@01c1b000";
ohci1 = "/soc/usb@01c1b400";
ehci2 = "/soc/usb@01c1c000";
ohci2 = "/soc/usb@01c1c400";
ehci3 = "/soc/usb@01c1d000";
ohci3 = "/soc/usb@01c1d400";
- usb@01c19000 {
- compatible = "allwinner,sun8i-h3-musb";
- reg = <0x1c19000 0x400>;
- clocks = <0x6 0x20>;
- resets = <0x6 0x11>;
- interrupts = <0x0 0x47 0x4>;
- interrupt-names = "mc";
- phys = <0x18 0x0>;
- phy-names = "usb";
- extcon = <0x18 0x0>;
- status = "okay";
- dr_mode = "peripheral";
- linux,phandle = <0x45>;
- phandle = <0x45>;
- };
- phy@01c19400 {
- compatible = "allwinner,sun8i-h3-usb-phy";
- reg = <0x1c19400 0x2c 0x1c1a800 0x4 0x1c1b800 0x4 0x1c1c800 0x4 0x1c1d800 0x4>;
- reg-names = "phy_ctrl", "pmu0", "pmu1", "pmu2", "pmu3";
- clocks = <0x6 0x58 0x6 0x59 0x6 0x5a 0x6 0x5b>;
- clock-names = "usb0_phy", "usb1_phy", "usb2_phy", "usb3_phy";
- resets = <0x6 0x0 0x6 0x1 0x6 0x2 0x6 0x3>;
- reset-names = "usb0_reset", "usb1_reset", "usb2_reset", "usb3_reset";
- status = "okay";
- #phy-cells = <0x1>;
- usb0_id_det-gpios = <0x14 0x6 0xc 0x0>;
- linux,phandle = <0x18>;
- phandle = <0x18>;
- };
Copy code
|
|