]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: dts: rk3328: Move OTG node's hnp-srp-disable to rk3328-u-boot.dtsi
authorChen-Yu Tsai <wens@csie.org>
Mon, 27 Apr 2020 06:52:48 +0000 (14:52 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 1 May 2020 10:32:56 +0000 (18:32 +0800)
The "hnp-srp-disable" property for dwc2 is specific to U-boot, not part
of upstream Linux's device tree bindings.

Move it to rk3328-u-boot.dtsi to avoid losing it when syncing device
tree files.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3328-u-boot.dtsi
arch/arm/dts/rk3328.dtsi

index 6d5b3ec06e072e31e9c1afe76fccb6bbbc02bea0..c69e13e11efe7e53ed7f9e4a64b99629ec3bb1c9 100644 (file)
@@ -62,3 +62,7 @@
        /* mmc to sram can't do dma, prevent aborts transfering TF-A parts */
        u-boot,spl-fifo-mode;
 };
+
+&usb20_otg {
+       hnp-srp-disable;
+};
index 060c84e6c0cfc38cd710da04d941c5b2f9d21a73..57719b82d13e4a067fada716623047b4de18249f 100644 (file)
                             "snps,dwc2";
                reg = <0x0 0xff580000 0x0 0x40000>;
                interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
-               hnp-srp-disable;
                dr_mode = "otg";
                status = "disabled";
        };