diff --git a/sun50i-h5/README.sun50i-h5-overlays b/sun50i-h5/README.sun50i-h5-overlays index ad5feef..1ac7fbc 100644 --- a/sun50i-h5/README.sun50i-h5-overlays +++ b/sun50i-h5/README.sun50i-h5-overlays @@ -30,6 +30,7 @@ adding fixed software (GPIO) chip selects is possible with a separate overlay - uart2 - uart3 - usbhost0 +- usbhost1 - usbhost2 - usbhost3 - w1-gpio @@ -215,6 +216,10 @@ param_uart3_rtscts (bool) Activates USB host controller 0 +### usbhost1 + +Activates USB host controller 1 + ### usbhost2 Activates USB host controller 2 diff --git a/sun50i-h5/sun50i-h5-usbhost1.dts b/sun50i-h5/sun50i-h5-usbhost1.dts new file mode 100644 index 0000000..ece1803 --- /dev/null +++ b/sun50i-h5/sun50i-h5-usbhost1.dts @@ -0,0 +1,20 @@ +/dts-v1/; +/plugin/; + +/ { + compatible = "allwinner,sun50i-h5"; + + fragment@0 { + target = <&ehci1>; + __overlay__ { + status = "okay"; + }; + }; + + fragment@1 { + target = <&ohci1>; + __overlay__ { + status = "okay"; + }; + }; +}; diff --git a/sun8i-h3/README.sun8i-h3-overlays b/sun8i-h3/README.sun8i-h3-overlays index 0ae207a..3029734 100644 --- a/sun8i-h3/README.sun8i-h3-overlays +++ b/sun8i-h3/README.sun8i-h3-overlays @@ -30,6 +30,7 @@ adding fixed software (GPIO) chip selects is possible with a separate overlay - uart2 - uart3 - usbhost0 +- usbhost1 - usbhost2 - usbhost3 - w1-gpio @@ -215,6 +216,10 @@ param_uart3_rtscts (bool) Activates USB host controller 0 +### usbhost1 + +Activates USB host controller 1 + ### usbhost2 Activates USB host controller 2 diff --git a/sun8i-h3/sun8i-h3-usbhost1.dts b/sun8i-h3/sun8i-h3-usbhost1.dts new file mode 100644 index 0000000..92049ec --- /dev/null +++ b/sun8i-h3/sun8i-h3-usbhost1.dts @@ -0,0 +1,20 @@ +/dts-v1/; +/plugin/; + +/ { + compatible = "allwinner,sun8i-h3"; + + fragment@0 { + target = <&ehci1>; + __overlay__ { + status = "okay"; + }; + }; + + fragment@1 { + target = <&ohci1>; + __overlay__ { + status = "okay"; + }; + }; +};