Add overlay for H3/H5 USB host 1

This commit is contained in:
zador-blood-stained
2017-06-12 13:06:16 +03:00
parent e26a107c25
commit d925cfbb0c
4 changed files with 50 additions and 0 deletions

View File

@@ -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

View File

@@ -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";
};
};
};

View File

@@ -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

View File

@@ -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";
};
};
};