lantiq: add FRITZ7360SL phy reset gpios
[openwrt/staging/blogic.git] / target / linux / lantiq / dts / FRITZ7360SL.dts
index 2a90a7f8c2ffb8304ab35cc792f3d6a22d3b4755..0caea7fe711be82baba9e94bf866086d5b7f3852 100644 (file)
@@ -7,10 +7,6 @@
 / {
        model = "FRITZ7360SL - 1&1 HomeServer";
 
-       chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
-       };
-
        aliases {
                led-boot = &power_green;
                led-failsafe = &power_red;
@@ -74,7 +70,7 @@
                                };
                                phy-rst {
                                        lantiq,pins = "io37", "io44";
-                                       lantiq,pull = <2>;
+                                       lantiq,pull = <0>;
                                        lantiq,open-drain;
                                        lantiq,output = <1>;
                                };
                };
        };
 
-       ath9k_eep {
-               compatible = "ath9k,eeprom";
-               ath,eep-flash = <&urlader 0x985>;
-               ath,eep-endian;
-               ath,eep-swap;
-               ath,pci-slot = <0>;
-       };
-
        gphy-xrx200 {
                compatible = "lantiq,phy-xrx200";
                firmware = "lantiq/vr9_phy11g_a2x.bin";
                        reg = <0>;
                        phy-mode = "rmii";
                        phy-handle = <&phy0>;
-                       // gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
                };
                ethernet@1 {
                        compatible = "lantiq,xrx200-pdi-port";
                        reg = <1>;
                        phy-mode = "rmii";
                        phy-handle = <&phy1>;
-                       // gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
                ethernet@2 {
                        compatible = "lantiq,xrx200-pdi-port";
                compatible = "lantiq,xrx200-mdio";
                phy0: ethernet-phy@0 {
                        reg = <0x00>;
-                       compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
+                       compatible = "ethernet-phy-id004d.d076", "ethernet-phy-ieee802.3-c22";
+                       reset-gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
                };
                phy1: ethernet-phy@1 {
                        reg = <0x01>;
-                       compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
+                       compatible = "ethernet-phy-id004d.d076", "ethernet-phy-ieee802.3-c22";
+                       reset-gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
                phy11: ethernet-phy@11 {
                        reg = <0x11>;
                };
        };
 };
+
+&pcie0 {
+       pcie@0 {
+               reg = <0 0 0 0 0>;
+               #interrupt-cells = <1>;
+               #size-cells = <2>;
+               #address-cells = <3>;
+               device_type = "pci";
+
+               wifi@168c,002e {
+                       compatible = "pci168c,002e";
+                       reg = <0 0 0 0 0>;
+                       qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:01:00.0.bin */
+               };
+       };
+};