ramips: set usb led trigger via devicetree
[openwrt/openwrt.git] / target / linux / ramips / dts / R6220.dts
index 7ce0cf0660ec40f7165d75fafba6b2b057e22389..bf789287c8e7d90fcb9aa082b93b18fbe5f809a9 100644 (file)
@@ -33,6 +33,8 @@
                usb {
                        label = "r6220:green:usb";
                        gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
+                       trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
+                       linux,default-trigger = "usbport";
                };
 
                internet {
 &nand {
        status = "okay";
 
-       partition@0 {
-               label = "u-boot";
-               reg = <0x0 0x100000>;
-               read-only;
-       };
+       partitions {
+               compatible = "fixed-partitions";
+               #address-cells = <1>;
+               #size-cells = <1>;
 
-       partition@100000 {
-               label = "SC PID";
-               reg = <0x100000 0x100000>;
-               read-only;
-       };
+               partition@0 {
+                       label = "u-boot";
+                       reg = <0x0 0x100000>;
+                       read-only;
+               };
 
-       partition@200000 {
-               label = "kernel";
-               reg = <0x200000 0x400000>;
-       };
+               partition@100000 {
+                       label = "SC PID";
+                       reg = <0x100000 0x100000>;
+                       read-only;
+               };
 
-       partition@600000 {
-               label = "ubi";
-               reg = <0x600000 0x1c00000>;
-       };
+               partition@200000 {
+                       label = "kernel";
+                       reg = <0x200000 0x400000>;
+               };
 
-       factory: partition@2e00000 {
-               label = "factory";
-               reg = <0x2e00000 0x100000>;
-               read-only;
-       };
+               partition@600000 {
+                       label = "ubi";
+                       reg = <0x600000 0x1c00000>;
+               };
 
-       partition@4200000 {
-               label = "reserved";
-               reg = <0x4200000 0x3c00000>;
-               read-only;
+               factory: partition@2e00000 {
+                       label = "factory";
+                       reg = <0x2e00000 0x100000>;
+                       read-only;
+               };
+
+               partition@4200000 {
+                       label = "reserved";
+                       reg = <0x4200000 0x3c00000>;
+                       read-only;
+               };
        };
 };