ARM: dts: sunxi: Add default dr_mode
authorMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 25 Mar 2019 13:52:53 +0000 (14:52 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 25 Mar 2019 20:28:16 +0000 (21:28 +0100)
The USB OTG binding we have mandates to have a dr_mode property, yet not
all boards are setting it.

Since the generic otg binding states that the default mode should be the
OTG mode, let's use that one in our DTSI.

Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm/boot/dts/sun4i-a10.dtsi
arch/arm/boot/dts/sun5i.dtsi
arch/arm/boot/dts/sun6i-a31.dtsi
arch/arm/boot/dts/sun7i-a20.dtsi
arch/arm/boot/dts/sun8i-a23-a33.dtsi
arch/arm/boot/dts/sun8i-a83t.dtsi

index f8a67b95c13910d016cdb5ad725ec4c9a0fab8d3..b16595a69cba39d76d04ede76be458c66b231594 100644 (file)
                        phy-names = "usb";
                        extcon = <&usbphy 0>;
                        allwinner,sram = <&otg_sram 1>;
+                       dr_mode = "otg";
                        status = "disabled";
                };
 
index 7dc67cf771c16c78df39e6b7e9be5c3c05d88ec2..f69ab288678bd2404c2d6e1f64eb9d9c9dcd4814 100644 (file)
                        phy-names = "usb";
                        extcon = <&usbphy 0>;
                        allwinner,sram = <&otg_sram 1>;
+                       dr_mode = "otg";
                        status = "disabled";
                };
 
index 4d155592a17c430c93b4727fbf932ae4fcc412a4..fa983f9ff5f5598d55a3467da017c91d546030e4 100644 (file)
                        phys = <&usbphy 0>;
                        phy-names = "usb";
                        extcon = <&usbphy 0>;
+                       dr_mode = "otg";
                        status = "disabled";
                };
 
index f087a7ce95aa001056654a12b9f4af6f038b3d97..d2530b05f71e92346daddb22b996504444a855a3 100644 (file)
                        phy-names = "usb";
                        extcon = <&usbphy 0>;
                        allwinner,sram = <&otg_sram 1>;
+                       dr_mode = "otg";
                        status = "disabled";
                };
 
index 6d43e06d8cc52b170601507d47549915bbf8513d..a0247b4b5a1eda4629cada0c6da43c1317976730 100644 (file)
                        phys = <&usbphy 0>;
                        phy-names = "usb";
                        extcon = <&usbphy 0>;
+                       dr_mode = "otg";
                        status = "disabled";
                };
 
index ad4931b1b19b979e236df187d3c91367503991e9..fcb7ef5ce2dfce190d35c3674940feefd3156e2c 100644 (file)
                        phys = <&usbphy 0>;
                        phy-names = "usb";
                        extcon = <&usbphy 0>;
+                       dr_mode = "otg";
                        status = "disabled";
                };