ath79: move usb led trigger node to SoC dtsi
authorShiji Yang <yangshiji66@qq.com>
Mon, 24 Oct 2022 04:01:12 +0000 (12:01 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 12 Nov 2022 16:10:12 +0000 (17:10 +0100)
These frequently used usb led triggers are universal. They should be
moved to SoC dtsi.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
72 files changed:
target/linux/ath79/dts/ar7100.dtsi
target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dtsi
target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts
target/linux/ath79/dts/ar7161_netgear_wndr.dtsi
target/linux/ath79/dts/ar7161_ubnt_routerstation.dtsi
target/linux/ath79/dts/ar7240.dtsi
target/linux/ath79/dts/ar7241.dtsi
target/linux/ath79/dts/ar7241_netgear_wnr2200.dtsi
target/linux/ath79/dts/ar7241_tplink_tl-mr3x20.dtsi
target/linux/ath79/dts/ar7241_tplink_tl-wr842n-v1.dts
target/linux/ath79/dts/ar7242.dtsi
target/linux/ath79/dts/ar7242_buffalo_wzr-bhr.dtsi
target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g302h-a1a0.dts
target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts
target/linux/ath79/dts/ar7242_ubnt_sw.dtsi
target/linux/ath79/dts/ar9132.dtsi
target/linux/ath79/dts/ar9132_buffalo_wzr-hp-g300nh.dtsi
target/linux/ath79/dts/ar9132_tplink_tl-wr1043nd-v1.dts
target/linux/ath79/dts/ar9330.dtsi
target/linux/ath79/dts/ar9331_arduino_yun.dts
target/linux/ath79/dts/ar9331_tplink_tl-mr3020-v1.dts
target/linux/ath79/dts/ar9331_tplink_tl-mr3040-v2.dts
target/linux/ath79/dts/ar9341_tplink_tl-mr3420-v2.dts
target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts
target/linux/ath79/dts/ar9344_atheros_db120.dts
target/linux/ath79/dts/ar9344_dlink_dir-825-c1.dts
target/linux/ath79/dts/ar9344_dlink_dir-8x5.dtsi
target/linux/ath79/dts/ar9344_netgear_r6100.dts
target/linux/ath79/dts/ar9344_netgear_wndr_usb.dtsi
target/linux/ath79/dts/ar9344_pcs_cr5000.dts
target/linux/ath79/dts/ar9344_teltonika_rut9xx.dtsi
target/linux/ath79/dts/ar9344_tplink_tl-wdr3500-v1.dts
target/linux/ath79/dts/ar9344_tplink_tl-wdr4300.dtsi
target/linux/ath79/dts/ar9344_wd_mynet-n750.dts
target/linux/ath79/dts/ar9344_winchannel_wb2000.dts
target/linux/ath79/dts/ar934x.dtsi
target/linux/ath79/dts/qca9531_alfa-network_r36a.dtsi
target/linux/ath79/dts/qca9531_comfast_cf-e5.dts
target/linux/ath79/dts/qca9531_comfast_cf-e560ac.dts
target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi
target/linux/ath79/dts/qca9531_glinet_gl-x750.dts
target/linux/ath79/dts/qca9531_teltonika_rut300.dts
target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts
target/linux/ath79/dts/qca9531_tplink_tl-mr3420-v3.dts
target/linux/ath79/dts/qca9531_tplink_tl-mr6400-v1.dts
target/linux/ath79/dts/qca9531_tplink_tl-wr902ac-v1.dts
target/linux/ath79/dts/qca9533_tplink_tl-wr842n-v3.dts
target/linux/ath79/dts/qca953x.dtsi
target/linux/ath79/dts/qca9557_8dev_rambutan.dts
target/linux/ath79/dts/qca9558_belkin_f9x-v2.dtsi
target/linux/ath79/dts/qca9558_domywifi_dw33d.dts
target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts
target/linux/ath79/dts/qca9558_sitecom_wlr-8100.dts
target/linux/ath79/dts/qca9558_sophos_ap.dtsi
target/linux/ath79/dts/qca9558_tplink_archer-c.dtsi
target/linux/ath79/dts/qca9558_tplink_archer-d7.dtsi
target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts
target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi
target/linux/ath79/dts/qca9558_trendnet_tew-823dru.dts
target/linux/ath79/dts/qca955x.dtsi
target/linux/ath79/dts/qca955x_zyxel_nbg6x16.dtsi
target/linux/ath79/dts/qca9561_tplink_archer-c59-v1.dts
target/linux/ath79/dts/qca9561_tplink_archer-c59-v2.dts
target/linux/ath79/dts/qca9563_netgear_wndr.dtsi
target/linux/ath79/dts/qca9563_netgear_wndr4500-v3.dts
target/linux/ath79/dts/qca9563_qxwlan_e1700ac.dtsi
target/linux/ath79/dts/qca9563_rosinson_wr818.dts
target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts
target/linux/ath79/dts/qca9563_tplink_archer-x7-v5.dtsi
target/linux/ath79/dts/qca9563_tplink_tl-wr1043nd-v4.dts
target/linux/ath79/dts/qca956x.dtsi
target/linux/ath79/dts/qcn5502_tplink_archer-a9-v6.dts

index d91ef91ebd2c2ce7f118ed52baad72d12e2a4763..a03f282a0f10bd9b6c24739d6c83cb64ba00a518 100644 (file)
 
                #address-cells = <1>;
                #size-cells = <0>;
+
+               usb_ehci_port: port@1 {
+                       reg = <1>;
+                       #trigger-source-cells = <0>;
+               };
        };
 
        usb1: usb@1c000000 {
 
                #address-cells = <1>;
                #size-cells = <0>;
+
+               usb_ohci_port: port@1 {
+                       reg = <1>;
+                       #trigger-source-cells = <0>;
+               };
        };
 
        spi: spi@1f000000 {
index 4fe8d51a00f8d9449c54f82f1290ef4496452be9..6e1ba2d47e4c5ddc9e893e2e4a01fc61d33bef65 100644 (file)
 };
 
 &usb1 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       usb_ohci_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb2 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       usb_ehci_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &pcie0 {
index fb5ab1adcb784a72ffed1ba5b67b85b5717083c7..6934a8f952bec892801ce7c0ee6f58a7d9f478ce 100644 (file)
 };
 
 &usb1 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       usb_ohci_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb2 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       usb_ehci_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy {
index d3d22b5d2dfa99c99d0e52ce2112b55464e1ed20..296ecc8c4e08fc41013076a031668ffb6381bf7f 100644 (file)
 };
 
 &usb1 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       usb_ohci_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb2 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       usb_ehci_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &pcie0 {
index b12723beb2fe9695b11e2eccc831f42ecb93d189..ef4b0323778310c10efb18893daa62a6d029477e 100644 (file)
 
 &usb1 {
        status = "okay";
-       #address-cells = <1>;
-       #size-cells = <0>;
-
-       usb_ohci_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb2 {
        status = "okay";
-       #address-cells = <1>;
-       #size-cells = <0>;
-
-       usb_ehci_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
index 425d75f0d7c763aaf5542ef8f806de79711f1cb3..afbae33a803dade7cd6564c5788fa9cbc1f70773 100644 (file)
 
                #address-cells = <1>;
                #size-cells = <0>;
+
+               hub_port: port@1 {
+                       reg = <1>;
+                       #trigger-source-cells = <0>;
+               };
        };
 };
 
index ff7a61f92142038e81923c9321df81b323802b26..8d0e60da4024e38c771b74fb9b1dc32904c55d13 100644 (file)
 
                #address-cells = <1>;
                #size-cells = <0>;
+
+               hub_port: port@1 {
+                       reg = <1>;
+                       #trigger-source-cells = <0>;
+               };
        };
 };
 
index 6119af4a03c1b7445068e2475c28e6d5ca4e07a1..e17a485396ff2c7bc6537a406699e9491bc8a1ce 100644 (file)
 };
 
 &usb {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
index 218ea5e4296c3f8adc63418abf4ea0978cf64047..a4bda13bced327cfb1df64859cf18d147e0509d2 100644 (file)
 };
 
 &usb {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy {
index df77ca0fdc0bf3c0e64bbfac176a1448d75e0d8f..6ee7d9ec4f9959e6f64d1aead1768e1875f19e3d 100644 (file)
 };
 
 &usb {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy {
index eda1b16309ed3bc1b1e89ead4c667e36e5cbb8c1..96b04426145e0b46e486f9192f4f6d2f3cd54072 100644 (file)
 
                #address-cells = <1>;
                #size-cells = <0>;
+
+               hub_port: port@1 {
+                       reg = <1>;
+                       #trigger-source-cells = <0>;
+               };
        };
 };
 
index e9d1eafe24bcf9d84d3ec241560d9d02897c17a6..15a808ad2ac96617b26c94c9df7ab5260362a0e9 100644 (file)
 };
 
 &usb {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
index b8aa2aa2102576a0c2e3158a10ec87a1403be6c0..c6fd220ed14aa92cee6e707222a0bcc8c033c76f 100644 (file)
 };
 
 &usb {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &art {
index b524ea19961b99ae3f3a3779d9d0eb140a081557..3acdc9247d86424728e115c857f0a5ecd69e436a 100644 (file)
 };
 
 &usb {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy {
index c776c8ef6e783992f4e70ae3b71ff00a5f3fc71c..0268146b061503d1d3b4b2ffebe0816717bfd671 100644 (file)
 };
 
 &usb {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &pcie {
index 29891ccebbafcadd33cb1d3af600ab1761f13793..71181c46de68dd1426a1aa37fc42582ac7e39241 100644 (file)
                        phys = <&usb_phy>;
 
                        status = "disabled";
+
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       hub_port: port@1 {
+                               reg = <1>;
+                               #trigger-source-cells = <0>;
+                       };
                };
 
                spi: spi@1f000000 {
index f3b13b5d0cfa3aed518056539c093413fcec9e56..4443ba583e0cbeb4157be0a25f7fe2e8d52d37b7 100644 (file)
 
 &usb {
        status = "okay";
-
-       #address-cells = <1>;
-       #size-cells = <0>;
-
-       hub_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy {
index 7ff2e4f29b9d480668c1d0591b851e16690b4873..6eb2a0acb5f87200db54446b6bfb71a919fc91ff 100644 (file)
 };
 
 &usb {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy {
index 9df80e1d5ee87a1dc492abff61ce9045521a1534..466e0fb25dc5a1e42fa31831313b3cb9f785c190 100644 (file)
 
                        #address-cells = <1>;
                        #size-cells = <0>;
+
+                       hub_port: port@1 {
+                               reg = <1>;
+                               #trigger-source-cells = <0>;
+                       };
                };
 
                spi: spi@1f000000 {
index 389a83dd2282e057a99ea42f4e2099947ba5a74d..bf3a46f96261caa9cdaed270cb16a195f6028b06 100644 (file)
@@ -57,7 +57,7 @@
                usb {
                        label = "white:usb";
                        gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
-                       trigger-sources = <&hub_port1>;
+                       trigger-sources = <&hub_port>;
                        linux,default-trigger = "usbport";
                };
        };
 &usb {
        status = "okay";
 
-       #address-cells = <1>;
-       #size-cells = <0>;
        dr_mode = "host";
        vbus-supply = <&reg_usb_vbus>;
-
-       port@1 {
-               #address-cells = <1>;
-               #size-cells = <0>;
-               reg = <1>;
-               #trigger-source-cells = <0>;
-
-               hub_port1: port@1 {
-                       reg = <1>;
-                       #trigger-source-cells = <0>;
-               };
-       };
 };
 
 &usb_phy {
index c420c1a4cd5195dd633ff5846fd548ae52191d5c..c23e5dac5165d1de4da7300e01228ee19f4891fa 100644 (file)
 };
 
 &usb {
-       #address-cells = <1>;
-       #size-cells = <0>;
        dr_mode = "host";
        vbus-supply = <&reg_usb_vbus>;
        status = "okay";
-
-       hub_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy {
index 619fd09ee99443ae9e18338ff52a5a3a4b4be917..b0f24bbfa705d462b3db72aaea9eb55339fd119a 100644 (file)
 };
 
 &usb {
-       #address-cells = <1>;
-       #size-cells = <0>;
        dr_mode = "host";
        vbus-supply = <&reg_usb_vbus>;
        status = "okay";
-
-       hub_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy {
index f86c4423bf98d7c75908122640dc888f2c61844c..2ccd50d7836a03a70e9788429be8500daa389677 100644 (file)
 };
 
 &usb {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy {
index 5d20df9261edc6891f155e19e3d16940b6b8b988..0fc34884453fe4dd0d5f925a6c03fd84ea1537fd 100644 (file)
 };
 
 &usb {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy {
index 906335ed6fcf9b516124760f0c440c80fabbd288..f0173ebdc798521a8bd2aa6a70f5aa96b72f3936 100644 (file)
@@ -41,7 +41,7 @@
                usb {
                        label = "green:usb";
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
-                       trigger-sources = <&hub_port1>;
+                       trigger-sources = <&hub_port>;
                        linux,default-trigger = "usbport";
                };
        };
 
 &usb {
        status = "okay";
-
-       #address-cells = <1>;
-       #size-cells = <0>;
-
-       hub_port1: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy {
index e6f18cea69580e7a4a6b1c2d1560e140f7d89c0f..35d0e26d8530d952b0d90a4149aa3565c977f072 100644 (file)
@@ -28,7 +28,7 @@
                        label = "blue:usb";
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "usbport";
-                       trigger-sources = <&hub_port1>;
+                       trigger-sources = <&hub_port>;
                };
 
                wan_blue {
index dded9d665597bbdc55f413e6b21877db956b4c11..33c75f49675eb4ea4b598afa7c6c3bc7d6fa3734 100644 (file)
 
 &usb {
        status = "okay";
-       #address-cells = <1>;
-       #size-cells = <0>;
-
-       hub_port1: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy {
index 80951d62490c7d449bc11ed640358933f5ba30c6..a73ea52de9875d03f09034647bd477bcfdbfcf16 100644 (file)
 
 &usb {
        status = "okay";
-
-       #address-cells = <1>;
-       #size-cells = <0>;
-
-       hub_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy {
index 0ca3b761bf1dd37d54b4918edfbbb0ee21cc7e82..bd1eb59f4faba33b68437de92ee23211daa878b9 100644 (file)
 
 &usb {
        status = "okay";
-       #address-cells = <1>;
-       #size-cells = <0>;
-
-       hub_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
index d4b198b3f5d1453451dccad638a440ee8ebd5314..b5fef91eacc5f2c88a1e1acb16ac0bd3dba4a8f3 100644 (file)
 
 &usb {
        status = "okay";
-       #address-cells = <1>;
-       #size-cells = <0>;
-
-       hub_port1: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy {
index c989a30b108500a5b91d0512d3ed9aaba4d4c7f4..937095959c9e0a89a365ea70c7f94ff8a6b90ad2 100644 (file)
 };
 
 &usb {
+       status = "okay";
+};
+
+&hub_port {
        #address-cells = <1>;
        #size-cells = <0>;
-       status = "okay";
 
        port@1 {
-               #address-cells = <1>;
-               #size-cells = <0>;
+               compatible = "usb-a-connector";
                reg = <1>;
+       };
 
-               port@1 {
-                       compatible = "usb-a-connector";
-                       reg = <1>;
-               };
-
-               port@3 {
-                       label = "RS-232 serial adapter";
-                       reg = <3>;
-               };
+       port@3 {
+               label = "RS-232 serial adapter";
+               reg = <3>;
+       };
 
-               port@4 {
-                       label = "internal wwan modem";
-                       reg = <4>;
-               };
+       port@4 {
+               label = "internal wwan modem";
+               reg = <4>;
        };
 };
 
index 6c5d013ccd61026ea9761d86ab1d96ce442d9535..77f6637188eb9e771881d168395f74992a746b80 100644 (file)
 };
 
 &usb {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy {
index 546cf49f34ef2a34ffa7f7cd49cce726b6c4a3f8..55ddb741847b77109fd20af9fcf16a4167dff8c5 100644 (file)
 };
 
 &usb {
+       status = "okay";
+};
+
+&hub_port {
        #address-cells = <1>;
        #size-cells = <0>;
-       status = "okay";
 
-       port@1 {
-               #address-cells = <1>;
-               #size-cells = <0>;
+       hub_port1: port@1 {
                reg = <1>;
                #trigger-source-cells = <0>;
+       };
 
-               hub_port1: port@1 {
-                       reg = <1>;
-                       #trigger-source-cells = <0>;
-               };
-
-               hub_port2: port@2 {
-                       reg = <2>;
-                       #trigger-source-cells = <0>;
-               };
+       hub_port2: port@2 {
+               reg = <2>;
+               #trigger-source-cells = <0>;
        };
 };
 
index f4a18b051f33047c5a549d97cf016fe5993d65af..d18ffff34d03e1a31402dfd263187be8408e2ec4 100644 (file)
 };
 
 &usb {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       port@1 {
-               #address-cells = <1>;
-               #size-cells = <0>;
-               reg = <1>;
-               #trigger-source-cells = <0>;
-
-               hub_port1: port@1 {
-                       reg = <1>;
-                       #trigger-source-cells = <0>;
-               };
-
-               hub_port2: port@2 {
-                       reg = <2>;
-                       #trigger-source-cells = <0>;
-               };
-       };
 };
 
 &mdio0 {
index f27a58b8d7c15a0c6ed8360bfe1165ddcc21aac3..cb595594264a032f0d53d56b6d1cdf174a4b02df 100644 (file)
@@ -46,7 +46,7 @@
                usb {
                        label = "green:usb";
                        gpios = <&gpio 21 GPIO_ACTIVE_HIGH>;
-                       trigger-sources = <&hub_port1>, <&hub_port2>;
+                       trigger-sources = <&hub_port>;
                        linux,default-trigger = "usbport";
                };
 
 };
 
 &usb {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       port@1 {
-               #address-cells = <1>;
-               #size-cells = <0>;
-               reg = <1>;
-               #trigger-source-cells = <0>;
-
-               hub_port1: port@1 {
-                       reg = <1>;
-                       #trigger-source-cells = <0>;
-               };
-
-               hub_port2: port@2 {
-                       reg = <2>;
-                       #trigger-source-cells = <0>;
-               };
-       };
 };
 
 &usb_phy {
index d88c7bfabc17ced1c211b2a8f9bfa4ae8cb0bd78..94dfde4125a2477344b8e24910b79a5a0a0a98b2 100644 (file)
 
                        #address-cells = <1>;
                        #size-cells = <0>;
+
+                       hub_port: port@1 {
+                               reg = <1>;
+                               #trigger-source-cells = <0>;
+                       };
                };
 
                nand: nand@1b000200 {
index 9704e69211b46a78a0039d6d492b50f9f6f397b9..406985d576f58dc3e61765fe5acd38ea839b9a69 100644 (file)
 
 &usb0 {
        status = "okay";
-
-       #address-cells = <1>;
-       #size-cells = <0>;
-
-       hub_port0: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy {
index d83972525855de2859d50a0da035726a041438d4..17cbe1df142b4b39e25ca62f63e184abdaa9643a 100644 (file)
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy {
index 477a2bddc6b475f1b2c36c7fa331923a61dc7bcd..75e30ff1b7bb03c60175c2e35095a7f48505b922 100644 (file)
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &eth0 {
index d64ffa7115d2616e508d6d16e6d1273ce0fd213e..6c89db1b8cc171c908458f483eab3a690d006fe9 100644 (file)
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        vbus-supply = <&reg_usb_vbus>;
        status = "okay";
 };
index 7fd622a8c5f15e6119d30c1ec28cee22a4c3bfa8..0b2030bb49cecf6e335ec1024505279d74694e2d 100644 (file)
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy {
index a4f5fb543b5118a222de031b0aea19f56326a491..f79be8dca54be42ea88842aaa7b17fdd0ed7e770 100644 (file)
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port0: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy {
index 27b70e082af4a28c315a8af8308689189cd1e4d3..0fc2bd3df82756b2974ba9f54a72a520ff5bbf99 100644 (file)
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port0: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &romfile {
index 818ec7769527970feaf38f6660c9b875c7eded5e..e6fb85259612bf73d507ef5979c1bbc4895729b2 100644 (file)
                usb {
                        label = "green:usb";
                        gpios = <&led_gpio 7 GPIO_ACTIVE_LOW>;
-                       trigger-sources = <&hub_port>;
+                       trigger-sources = <&hub_port0>;
                        linux,default-trigger = "usbport";
                };
 
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy {
index ca7832ebd49a54491f6a85186b6ad063a3a0cbb4..5a990fff0230095d6256f8eb03eb123b1bebfeb0 100644 (file)
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy {
index 7ce8cd30cdf947c9b720ee25a218560edaffb2d9..09f086b90ddda4c4ff4e60036e4b3188a2da46ed 100644 (file)
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port0: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &info {
index e171984511dffda9f3fbc5012aeefe70a933c4cf..2d00159909b3007e8733362f671e8b8fd009bb51 100644 (file)
@@ -71,7 +71,7 @@
                        label = "green:usb";
                        gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "usbport";
-                       trigger-sources = <&hub_port>;
+                       trigger-sources = <&hub_port0>;
                };
        };
 
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy {
index c155e3419f328cea64a19fafeb0b20fcf68f2ffe..4300c741adbf41cff1e1c137f53d20797d16fc0c 100644 (file)
 
                        #address-cells = <1>;
                        #size-cells = <0>;
+
+                       hub_port0: port@1 {
+                               reg = <1>;
+                               #trigger-source-cells = <0>;
+                       };
                };
 
                spi: spi@1f000000 {
index 2724c3a1b67dd451ebfe5a5e3cb1ac14f3da03ca..a81687469285ec51f3599411d77dcb9a807579f3 100644 (file)
 
 &usb0 {
        status = "okay";
-
-       #address-cells = <1>;
-       #size-cells = <0>;
 };
 
 &usb_phy1 {
 
 &usb1 {
        status = "okay";
-
-       #address-cells = <1>;
-       #size-cells = <0>;
 };
 
 &art {
index 23fe321efbf9c2dad27af9110a82640ebb938526..72e52129a4cf08bf200fc193439276fc181de7bb 100644 (file)
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port0: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &spi {
index 5b3318b8b280e00d5da851598888c154c017d646..976ac551f72ff0b9fa2bcaa7427e2afb0d69ea99 100644 (file)
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port0: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy1 {
 };
 
 &usb1 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port1: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &spi {
index a9c03b7edae0fcc591273f3c80e924a710905b18..b3447f8be368b144ba56da4c4de9b2ff421bef31 100644 (file)
@@ -84,8 +84,6 @@
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
 };
 
@@ -94,8 +92,6 @@
 };
 
 &usb1 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
 };
 
index eee3e39bc3c471447e06a33c69bdec0203a24b8a..01a69fce15de0a84bc306a28f2914c3d68b34a86 100644 (file)
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
 };
 
index c9f3aefbbfb9b6324b58e4376512bec730ba588a..3d38ca79fe4e3d4b8ff1a83fa67badfa651d3ef8 100644 (file)
 
 &usb0 {
        vbus-supply = <&reg_usb_vbus>;
-
-       hub_port0: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
index f629838f1ae2a0bdf2e436ae9706af0350d63bff..221582e66db2e37ab26ab5d1b9b714549112b345 100644 (file)
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port0: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy1 {
 };
 
 &usb1 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port1: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &spi {
index f9e8adcc9eb6c9da6ba1749704ab8dc338b3d88a..c4d910bf1e0f914e8783970465f3c74f9653e138 100644 (file)
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        dr_mode = "host";
        vbus-supply = <&reg_usb0_vbus>;
        status = "okay";
-
-       hub_port0: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy1 {
 };
 
 &usb1 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        dr_mode = "host";
        vbus-supply = <&reg_usb1_vbus>;
        status = "okay";
-
-       hub_port1: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
index 49c0e394929ea48cb66cac96981dc89ac41becde..c6b9b077da29cf85966a4bd0c29af9f8c040f29a 100644 (file)
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port0: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy1 {
 };
 
 &usb1 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port1: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &spi {
index ff7ea7da039ba0a5c601af23c665a33fed7bb0f0..52996bba34767de00457e99d8c3d6000e6933700 100644 (file)
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port0: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &spi {
index 22569bfc1d0503bbca78da53a6e577f73badc9f9..176fe97cc0a96e0054063af93d3cfdff79e14370 100644 (file)
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port0: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy1 {
 };
 
 &usb1 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port1: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &spi {
index 0541c4e373197d4c0b9ee86eb3968e6f5b8b75ed..e7daa9d827b5d2da0339b14a173d6ba9fbb2572c 100644 (file)
 
                        #address-cells = <1>;
                        #size-cells = <0>;
+
+                       hub_port0: port@1 {
+                               reg = <1>;
+                               #trigger-source-cells = <0>;
+                       };
                };
 
                usb1: usb@1b400000 {
 
                        #address-cells = <1>;
                        #size-cells = <0>;
+
+                       hub_port1: port@1 {
+                               reg = <1>;
+                               #trigger-source-cells = <0>;
+                       };
                };
 
                nand: nand@1b800200 {
index 9e1ce89c464b5e0179159f0e7efb7a75cda48b23..7de1c4fa69602cde06d5c7d20a93469231f34409 100644 (file)
 
 &usb0 {
        status = "okay";
-
-       hub_port0: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
-
 };
 
 &usb1 {
        status = "okay";
-
-       hub_port1: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
index c385eb1592564934180cc2b35362252591534c98..f05a290d2f8945f33af817e7f58a714c3d0ad6d6 100644 (file)
                label = "green:usb";
                gpios = <&led_gpio 7 GPIO_ACTIVE_LOW>;
                linux,default-trigger = "usbport";
-               trigger-sources = <&hub_port>;
+               trigger-sources = <&hub_port0>;
        };
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy0 {
index 5a277723e3ad051d08225cd26c1704e95fed51e5..4be23ffbc02f7b6f4c434a51fe773961111c2935 100644 (file)
                label = "green:usb";
                gpios = <&led_gpio 7 GPIO_ACTIVE_LOW>;
                linux,default-trigger = "usbport";
-               trigger-sources = <&hub_port>;
+               trigger-sources = <&hub_port0>;
        };
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy0 {
index 0fdabb6f19c2904664a53df45d24ba0ea0eaa1ab..726eae5b29c00abdce3ec6b8a9fb16d389ee9b2b 100644 (file)
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port0: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &caldata {
index 6e25215501c5996e2fa775b932c0605d46d13c05..4c33c0197ffd56350360cc70fb5f0fbf83f5419e 100644 (file)
 };
 
 &usb1 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port1: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
index 8902e1726ccc864828c3849be380206310eade1f..c6c610dbee2749a7171985895977be600449941f 100644 (file)
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port0: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy1 {
index c80e1c9d7ad4349b30dc1a6196f20be2cdc5166a..c73d5a6e58305a3f08d4357b99c949bcd3d282bc 100644 (file)
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy1 {
 };
 
 &usb1 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       port@2 {
-               reg = <2>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &info {
index 2fdce55d0e7539d61ad5cc8d71682b0a27928532..3c6b8c4fb9468a601a1d677b4c9d6dae61fb13fc 100644 (file)
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port0: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &usb_phy1 {
 };
 
 &usb1 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port1: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &spi {
index fd0f10ff27e0bda54529acb3d75b407a7a95c4ab..f6a959903fb91635f558f97d1c379a8d2e69927e 100644 (file)
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port0: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &spi {
index bf01f06de695727a653ad8ca5085c8c21069e9f6..80a63f6efc0c6a3547392c44a379d75412a46350 100644 (file)
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port0: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &eth0 {
index 0ebd5ff5be5d2beb286c26577f2472f00d295253..e46f0676e282fbf365555636e0e9d830e87cffcd 100644 (file)
 
                        #address-cells = <1>;
                        #size-cells = <0>;
+
+                       hub_port0: port@1 {
+                               reg = <1>;
+                               #trigger-source-cells = <0>;
+                       };
                };
 
                usb1: usb@1b400000 {
 
                        #address-cells = <1>;
                        #size-cells = <0>;
+
+                       hub_port1: port@1 {
+                               reg = <1>;
+                               #trigger-source-cells = <0>;
+                       };
                };
 
                spi: spi@1f000000 {
index 9af119b560536e19d6d691443ed029c94011fb76..ef0ea321e07ed4fc97ddc4f5973396a0f363d362 100644 (file)
 };
 
 &usb0 {
-       #address-cells = <1>;
-       #size-cells = <0>;
        status = "okay";
-
-       hub_port0: port@1 {
-               reg = <1>;
-               #trigger-source-cells = <0>;
-       };
 };
 
 &wmac {