lantiq: kernel 4.14: cleanup dts files
[openwrt/openwrt.git] / target / linux / lantiq / files-4.14 / arch / mips / boot / dts / DGN3500.dtsi
index d58d717537d3badaba6eca1e1681498f7b9c1ad5..775f3f2917baa642ebb7de2a96e4d9a5b9603f91 100644 (file)
@@ -14,7 +14,7 @@
 
                led-dsl = &dsl;
                led-internet = &internet;
-               led-usb = &usb;
+               led-usb = &led_usb;
                led-wifi = &wifi_green;
        };
 
                reg = <0x0 0x4000000>;
        };
 
-       fpi@10000000 {
-               gpio: pinmux@E100B10 {
-                       pinctrl-names = "default";
-                       pinctrl-0 = <&state_default>;
-
-                       state_default: pinmux {
-                               exin {
-                                       lantiq,groups = "exin1";
-                                       lantiq,function = "exin";
-                               };
-                               pci {
-                                       lantiq,groups = "gnt1", "req1";
-                                       lantiq,function = "pci";
-                               };
-                               pci-in {
-                                       lantiq,groups = "req1";
-                                       lantiq,output = <0>;
-                                       lantiq,open-drain = <1>;
-                                       lantiq,pull = <2>;
-                               };
-                               pci-out {
-                                       lantiq,groups = "gnt1";
-                                       lantiq,output = <1>;
-                                       lantiq,pull = <0>;
-                               };
-                       };
-                       pins_spi_default: pins_spi_default {
-                               spi_in {
-                                       lantiq,groups = "spi_di";
-                                       lantiq,function = "spi";
-                               };
-                               spi_out {
-                                       lantiq,groups = "spi_do", "spi_clk",
-                                               "spi_cs4";
-                                       lantiq,function = "spi";
-                                       lantiq,output = <1>;
-                               };
-                       };
-               };
-
-               etop@E180000 {
-                       phy-mode = "mii";
-               };
-
-               ifxhcd@E101000 {
-                       status = "okay";
-               };
-       };
-
        rtl8366rb {
                compatible = "realtek,rtl8366rb";
                gpio-sda = <&gpio 35 GPIO_ACTIVE_HIGH>;
@@ -90,8 +41,6 @@
                >;
        };
 
-
-
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
                        label = "dgn3500:green:dsl";
                        gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
                };
-               usb: usb {
+               led_usb: usb {
                        label = "dgn3500:green:usb";
                        gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
                };
        };
 };
 
+&gpio {
+       pinctrl-names = "default";
+       pinctrl-0 = <&state_default>;
+
+       state_default: pinmux {
+               exin {
+                       lantiq,groups = "exin1";
+                       lantiq,function = "exin";
+               };
+               pci {
+                       lantiq,groups = "gnt1", "req1";
+                       lantiq,function = "pci";
+               };
+               pci-in {
+                       lantiq,groups = "req1";
+                       lantiq,output = <0>;
+                       lantiq,open-drain = <1>;
+                       lantiq,pull = <2>;
+               };
+               pci-out {
+                       lantiq,groups = "gnt1";
+                       lantiq,output = <1>;
+                       lantiq,pull = <0>;
+               };
+       };
+       pins_spi_default: pins_spi_default {
+               spi_in {
+                       lantiq,groups = "spi_di";
+                       lantiq,function = "spi";
+               };
+               spi_out {
+                       lantiq,groups = "spi_do", "spi_clk",
+                               "spi_cs4";
+                       lantiq,function = "spi";
+                       lantiq,output = <1>;
+               };
+       };
+};
+
+&gsw {
+       phy-mode = "mii";
+};
+
 &pci0 {
        status = "okay";
        gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
 };
 
 &spi {
+       status = "okay";
+
        pinctrl-names = "default";
        pinctrl-0 = <&pins_spi_default>;
 
-       status = "ok";
-
        m25p80@4 {
                #address-cells = <1>;
                #size-cells = <1>;
                };
        };
 };
+
+&usb0 {
+       status = "okay";
+};