From aa4ef903bd3597e417ad97467cd643e0041a91e6 Mon Sep 17 00:00:00 2001 From: Weiping Yang Date: Wed, 7 Dec 2022 23:03:35 -0500 Subject: [PATCH] ipq40xx: fix usb driver not loaded for GL-A1300 This patch enables USB support for the GL.iNet GL-A1300 Repair the usb driver startup phase is not loaded Signed-off-by: Weiping Yang --- .../arm/boot/dts/qcom-ipq4018-gl-a1300.dts | 42 +++++++++---------- 1 file changed, 19 insertions(+), 23 deletions(-) diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-gl-a1300.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-gl-a1300.dts index e37033dac..a6e8feedb 100644 --- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-gl-a1300.dts +++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-gl-a1300.dts @@ -21,6 +21,18 @@ }; soc { + rng@22000 { + status = "okay"; + }; + + mdio@90000 { + status = "okay"; + }; + + ess-psgmii@98000 { + status = "okay"; + }; + tcsr@1949000 { compatible = "qcom,tcsr"; reg = <0x1949000 0x100>; @@ -28,7 +40,6 @@ }; tcsr@194b000 { - /* select hostmode */ compatible = "qcom,tcsr"; reg = <0x194b000 0x100>; qcom,usb-hsphy-mode-select = ; @@ -46,6 +57,7 @@ reg = <0x1957000 0x100>; qcom,wifi_noc_memtype_m0_m2 = ; }; + usb2@60f8800 { status = "okay"; }; @@ -114,26 +126,10 @@ }; }; -&prng { - status = "okay"; -}; - -&mdio { - status = "okay"; -}; - &blsp_dma { status = "okay"; }; -&watchdog { - status = "okay"; -}; - -&crypto { - status = "okay"; -}; - &cryptobam { status = "okay"; }; @@ -220,9 +216,9 @@ }; partition@180000 { - label = "log"; - reg = <0x00180000 0x00020000>; - }; + label = "log"; + reg = <0x00180000 0x00020000>; + }; }; }; @@ -286,9 +282,9 @@ }; &blsp1_i2c3 { - status = "okay"; - pinctrl-0 = <&i2c_0_pins>; - pinctrl-names = "default"; + pinctrl-0 = <&i2c_0_pins>; + pinctrl-names = "default"; + status = "okay"; }; &usb2_hs_phy {