git: bad04f1ebc3a - stable/13 - add allwinner overlays for enabling additional USB ports
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 17 Feb 2024 19:22:31 UTC
The branch stable/13 has been updated by avg: URL: https://cgit.FreeBSD.org/src/commit/?id=bad04f1ebc3a3a979535a53ee109ede94b636aa9 commit bad04f1ebc3a3a979535a53ee109ede94b636aa9 Author: Andriy Gapon <avg@FreeBSD.org> AuthorDate: 2022-07-10 20:09:23 +0000 Commit: Andriy Gapon <avg@FreeBSD.org> CommitDate: 2024-02-17 19:22:08 +0000 add allwinner overlays for enabling additional USB ports For instance, on NanoPi NEO two additional ports are available via a GPIO header. (cherry picked from commit 197944948e6229f625306f38403737ed723e544e) --- sys/dts/arm/overlays/sun8i-h3-usb1.dtso | 14 ++++++++++++++ sys/dts/arm/overlays/sun8i-h3-usb2.dtso | 14 ++++++++++++++ sys/modules/dtb/allwinner/Makefile | 4 +++- 3 files changed, 31 insertions(+), 1 deletion(-) diff --git a/sys/dts/arm/overlays/sun8i-h3-usb1.dtso b/sys/dts/arm/overlays/sun8i-h3-usb1.dtso new file mode 100644 index 000000000000..247faa370a14 --- /dev/null +++ b/sys/dts/arm/overlays/sun8i-h3-usb1.dtso @@ -0,0 +1,14 @@ +/dts-v1/; +/plugin/; + +/ { + compatible = "allwinner,sun8i-h3"; +}; + +&{/soc/usb@1c1b000} { + status = "okay"; +}; + +&{/soc/usb@1c1b400} { + status = "okay"; +}; diff --git a/sys/dts/arm/overlays/sun8i-h3-usb2.dtso b/sys/dts/arm/overlays/sun8i-h3-usb2.dtso new file mode 100644 index 000000000000..02533289e3dc --- /dev/null +++ b/sys/dts/arm/overlays/sun8i-h3-usb2.dtso @@ -0,0 +1,14 @@ +/dts-v1/; +/plugin/; + +/ { + compatible = "allwinner,sun8i-h3"; +}; + +&{/soc/usb@1c1c000} { + status = "okay"; +}; + +&{/soc/usb@1c1c400} { + status = "okay"; +}; diff --git a/sys/modules/dtb/allwinner/Makefile b/sys/modules/dtb/allwinner/Makefile index 517c1028d12b..c4a48addef14 100644 --- a/sys/modules/dtb/allwinner/Makefile +++ b/sys/modules/dtb/allwinner/Makefile @@ -29,7 +29,9 @@ DTSO= sun8i-a83t-sid.dtso \ sun8i-h3-mmc0-disable.dtso \ sun8i-h3-mmc1-disable.dtso \ sun8i-h3-mmc2-disable.dtso \ - sun8i-h3-spi0.dtso + sun8i-h3-spi0.dtso \ + sun8i-h3-usb1.dtso \ + sun8i-h3-usb2.dtso LINKS= \ ${DTBDIR}/sun4i-a10-cubieboard.dtb ${DTBDIR}/cubieboard.dtb \