ipq40xx: convert to device-tree based USB LED trigger
[openwrt/staging/jogo.git] / target / linux / ipq40xx / files-4.19 / arch / arm / boot / dts / qcom-ipq4018-rt-ac58u.dts
index 0e09407f6f7cf52caec1f660f8e59a9d00e008ba..26c086ed25390fd4d4ed0ae759c8978ec4b6c9e3 100644 (file)
 
                usb2@60f8800 {
                        status = "okay";
+
+                       dwc3@6000000 {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               usb2_port1: port@1 {
+                                       reg = <1>;
+                                       #trigger-source-cells = <0>;
+                               };
+                       };
                };
 
                usb3@8af8800 {
                        status = "okay";
+
+                       dwc3@8a00000 {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               usb3_port1: port@1 {
+                                       reg = <1>;
+                                       #trigger-source-cells = <0>;
+                               };
+
+                               usb3_port2: port@2 {
+                                       reg = <2>;
+                                       #trigger-source-cells = <0>;
+                               };
+                       };
                };
 
                crypto@8e3a000 {
                usb {
                        label = "rt-ac58u:blue:usb";
                        gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
+                       trigger-sources = <&usb3_port1>, <&usb3_port2>, <&usb2_port1>;
+                       linux,default-trigger = "usbport";
                };
 
                lan {