lantiq: kernel 4.14: cleanup dts files
[openwrt/staging/mkresin.git] / target / linux / lantiq / files-4.14 / arch / mips / boot / dts / WBMR300.dts
index 2ecfe4b..b187ab7 100644 (file)
                reg = <0x0 0x4000000>;
        };
 
-       fpi@10000000 {
-               gpio: pinmux@E100B10 {
-                       pinctrl-names = "default";
-                       pinctrl-0 = <&state_default>;
-
-                       state_default: pinmux {
-                               mdio {
-                                       lantiq,groups = "mdio";
-                                       lantiq,function = "mdio";
-                               };
-                               phy-rst {
-                                       lantiq,pins = "io42";
-                                       lantiq,pull = <0>;
-                                       lantiq,open-drain = <0>;
-                                       lantiq,output = <1>;
-                               };
-                               pcie-rst {
-                                       lantiq,pins = "io38";
-                                       lantiq,pull = <0>;
-                                       lantiq,output = <1>;
-                               };
-                       };
-                       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>;
-                               };
-                       };
-               };
-
-               ifxhcd@E101000 {
-                       status = "okay";
-                       gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
-                       lantiq,portmask = <0x3>;
-               };
-
-               ifxhcd@E106000 {
-                       status = "okay";
-                       gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
-               };
-       };
-
        gphy-xrx200 {
                compatible = "lantiq,phy-xrx200";
                firmware = "lantiq/xrx200_phy22f_a22.bin";
        };
 };
 
-&spi {
-       pinctrl-names = "default";
-       pinctrl-0 = <&pins_spi_default>;
-
-       status = "ok";
-       m25p80@4 {
-               #address-cells = <1>;
-               #size-cells = <1>;
-               compatible = "jedec,spi-nor";
-               reg = <4 0>;
-               spi-max-frequency = <20000000>;
-
-               partition@0 {
-                       reg = <0x0 0x10000>;
-                       label = "u-boot";
-                       read-only;
-               };
-
-               partition@10000 {
-                       reg = <0x10000 0x10000>;
-                       label = "gphyfirmware";
-                       read-only;
-               };
-
-               partition@20000 {
-                       reg = <0x20000 0x80000>;
-                       label = "dsl_fw";
-               };
-
-               partition@de0000 {
-                       reg = <0xa0000 0xf40000>;
-                       label = "firmware";
-               };
-
-               partition@fe0000 {
-                       reg = <0xfe0000 0x10000>;
-                       label = "sysconfig";
-                       read-only;
-               };
-
-               partition@ff0000 {
-                       reg = <0xff0000 0x2000>;
-                       label = "ubootconfig";
-               };
-
-               partition@ff3000 {
-                       reg = <0xff3000 0x2000>;
-                       label = "board_config";
-                       read-only;
-               };
-       };
-};
-
 &eth0 {
        lan: interface@0 {
                compatible = "lantiq,xrx200-pdi";
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "lantiq,xrx200-mdio";
+               reg = <0>;
+
                phy11: ethernet-phy@11 {
                        reg = <0x11>;
                        compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
                };
        };
 };
+
+&gpio {
+       pinctrl-names = "default";
+       pinctrl-0 = <&state_default>;
+
+       state_default: pinmux {
+               mdio {
+                       lantiq,groups = "mdio";
+                       lantiq,function = "mdio";
+               };
+               phy-rst {
+                       lantiq,pins = "io42";
+                       lantiq,pull = <0>;
+                       lantiq,open-drain = <0>;
+                       lantiq,output = <1>;
+               };
+               pcie-rst {
+                       lantiq,pins = "io38";
+                       lantiq,pull = <0>;
+                       lantiq,output = <1>;
+               };
+       };
+       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>;
+               };
+       };
+};
+
+&spi {
+       status = "okay";
+
+       pinctrl-names = "default";
+       pinctrl-0 = <&pins_spi_default>;
+
+       m25p80@4 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "jedec,spi-nor";
+               reg = <4 0>;
+               spi-max-frequency = <20000000>;
+
+               partition@0 {
+                       reg = <0x0 0x10000>;
+                       label = "u-boot";
+                       read-only;
+               };
+
+               partition@10000 {
+                       reg = <0x10000 0x10000>;
+                       label = "gphyfirmware";
+                       read-only;
+               };
+
+               partition@20000 {
+                       reg = <0x20000 0x80000>;
+                       label = "dsl_fw";
+               };
+
+               partition@de0000 {
+                       reg = <0xa0000 0xf40000>;
+                       label = "firmware";
+               };
+
+               partition@fe0000 {
+                       reg = <0xfe0000 0x10000>;
+                       label = "sysconfig";
+                       read-only;
+               };
+
+               partition@ff0000 {
+                       reg = <0xff0000 0x2000>;
+                       label = "ubootconfig";
+               };
+
+               partition@ff3000 {
+                       reg = <0xff3000 0x2000>;
+                       label = "board_config";
+                       read-only;
+               };
+       };
+};
+
+&usb0 {
+       status = "okay";
+       gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
+       lantiq,portmask = <0x3>;
+};
+
+&usb1 {
+       status = "okay";
+       gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
+};