ath79: ag71xx: replace ag71xx_get_phy_if_mode_name() with phy_modes()
[oweals/openwrt.git] / target / linux / ath79 / dts / qca9558_openmesh_om5p-ac-v2.dts
index bb529b49e05c6b1d6f8cea69793e8d312a89c4a2..1e3cf40f71131726e74ba55fba762ea4826a5885 100644 (file)
        compatible = "openmesh,om5p-ac-v2", "qca,qca9557";
        model = "OpenMesh OM5P-AC V2";
 
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x8000000>;
-       };
-
        extosc: ref {
                compatible = "fixed-clock";
                #clock-cells = <0>;
                power {
                        label = "om5pac:blue:power";
                        gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                };
 
                wifi_green {
                        label = "om5pac:green:wifi";
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                };
 
                wifi_yellow {
                        label = "om5pac:yellow:wifi";
                        gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                };
 
                wifi_red {
                        label = "om5pac:red:wifi";
                        gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                };
        };
 
        keys {
                compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
                poll-interval = <100>;
 
-               button@0 {
+               button0 {
                        label = "reset";
                        linux,code = <KEY_RESTART>;
                        gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
@@ -90,7 +79,7 @@
        };
 };
 
-&pcie {
+&pcie0 {
        status = "okay";
 };
 
        num-cs = <1>;
 
        flash@0 {
-               #address-cells = <1>;
-               #size-cells = <1>;
-               compatible = "mx25l12805d";
+               compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <25000000>;
 
                        };
 
                        partition@2 {
+                               compatible = "denx,uimage";
                                label = "firmware";
                                reg = <0x850000 0x7a0000>;
                        };
 &eth0 {
        status = "okay";
 
+       pll-data = <0x82000101 0x80000101 0x80001313>;
+
        phy-handle = <&phy4>;
        phy-mode = "rgmii";
 };
 &eth1 {
        status = "okay";
 
+       pll-data = <0x03000101 0x80000101 0x80001313>;
+
        phy-handle = <&phy1>;
        phy-mode = "sgmii";
 };