[PATCH 08/10] arm64: dts: amlogic: meson-s4: add the USB host
neil.armstrong at linaro.org
neil.armstrong at linaro.org
Fri Nov 6 02:55:04 PST 2026
On 11/6/26 11:46, christian.koever-draxl at student.uibk.ac.at wrote:
> From: Christian Stefan Kövér-Draxl <ckoever at outlook.de>
>
> Add the two USB2 PHYs and the USB glue with its xHCI host controller.
> The S4 has no USB3 PHY, so the host runs USB2 only.
>
> Signed-off-by: Christian Stefan Kövér-Draxl <ckoever at outlook.de>
> ---
> arch/arm64/boot/dts/amlogic/meson-s4.dtsi | 45 +++++++++++++++++++++++
> 1 file changed, 45 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi
> index 8bbd70e52a29..155997649dc3 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi
> @@ -770,6 +770,26 @@ cpu_temp: temperature-sensor at 20000 {
> amlogic,secure-monitor = <&sm 1>;
> };
>
> + usb2_phy0: phy at 3c000 {
> + compatible = "amlogic,s4-usb2-phy";
> + reg = <0x0 0x3c000 0x0 0x2000>;
> + clocks = <&xtal>;
> + clock-names = "xtal";
> + resets = <&reset RESET_USBPHY20>;
> + reset-names = "phy";
> + #phy-cells = <0>;
> + };
> +
> + usb2_phy1: phy at 3e000 {
> + compatible = "amlogic,s4-usb2-phy";
> + reg = <0x0 0x3e000 0x0 0x2000>;
> + clocks = <&xtal>;
> + clock-names = "xtal";
> + resets = <&reset RESET_USBPHY21>;
> + reset-names = "phy";
> + #phy-cells = <0>;
> + };
> +
> eth_phy: mdio-multiplexer at 28000 {
> compatible = "amlogic,g12a-mdio-mux";
> reg = <0x0 0x28000 0x0 0xa4>;
> @@ -988,6 +1008,31 @@ mdio0: mdio {
> };
> };
>
> + usb: usb at fe03a000 {
> + compatible = "amlogic,meson-s4-usb-ctrl",
> + "amlogic,meson-g12a-usb-ctrl";
> + reg = <0x0 0xfe03a000 0x0 0xa0>;
> + interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>;
> + #address-cells = <2>;
> + #size-cells = <2>;
> + ranges;
> + clocks = <&clkc_periphs CLKID_USB>;
> + resets = <&reset RESET_USBCTRL>;
> + power-domains = <&pwrc PWRC_S4_USB_COMB_ID>;
> + dr_mode = "host";
> + phys = <&usb2_phy0>, <&usb2_phy1>;
> + phy-names = "usb2-phy0", "usb2-phy1";
> + status = "disabled";
> +
> + crg_xhci: usb at fde00000 {
> + compatible = "generic-xhci";
> + reg = <0x0 0xfde00000 0x0 0x100000>;
> + interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&clkc_periphs CLKID_USB1_TO_DDR>;
> + status = "okay";
Drop status
> + };
> + };
> +
> uart_a: serial at fe078000 {
> compatible = "amlogic,meson-s4-uart",
> "amlogic,meson-ao-uart";
With that:
Reviewed-by: Neil Armstrong <neil.armstrong at linaro.org>
Thanks,
Neil
More information about the linux-arm-kernel
mailing list