ath79: ag71xx: replace ag71xx_get_phy_if_mode_name() with phy_modes()
[oweals/openwrt.git] / target / linux / ath79 / dts / qca9558_tplink_archer-c7.dtsi
index 6fb25a9d2e456f84e195891cabfb9d1c0d207b0d..343d318e0b49704babb0b378e67e2c6f5d3a5012 100644 (file)
        };
 
        aliases {
-               led-status = &system;
+               led-boot = &system;
+               led-failsafe = &system;
+               led-running = &system;
+               led-upgrade = &system;
        };
 
        gpio_leds: leds {
@@ -27,7 +30,6 @@
                usb1 {
                        label = "tp-link:green:usb1";
                        gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                        trigger-sources = <&hub_port1>;
                        linux,default-trigger = "usbport";
                };
@@ -35,7 +37,6 @@
                usb2 {
                        label = "tp-link:green:usb2";
                        gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                        trigger-sources = <&hub_port0>;
                        linux,default-trigger = "usbport";
                };
                led_wlan2g: wlan2g {
                        label = "tp-link:green:wlan2g";
                        gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                        linux,default-trigger = "phy1tpt";
                };
 
                qss {
                        label = "tp-link:green:qss";
                        gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                };
        };
 
        gpio_keys: keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
 
                reset {
                        label = "Reset button";
@@ -69,7 +66,6 @@
 
        gpio-export {
                compatible = "gpio-export";
-               #size-cells = <0>;
 
                gpio_usb1_power {
                        gpio-export,name = "tp-link:power:usb1";
 };
 
 &usb0 {
+       #address-cells = <1>;
+       #size-cells = <0>;
        status = "okay";
 
        hub_port0: port@1 {
 };
 
 &usb1 {
+       #address-cells = <1>;
+       #size-cells = <0>;
        status = "okay";
 
        hub_port1: port@1 {
        num-cs = <1>;
 
        flash@0 {
-               #address-cells = <1>;
-               #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <25000000>;
        mtd-mac-address = <&uboot 0x1fc00>;
        mtd-mac-address-increment = <1>;
        phy-handle = <&phy0>;
+       pll-data = <0x56000000 0x00000101 0x00001616>;
 
        gmac-config {
                device = <&gmac>;
        status = "okay";
 
        mtd-mac-address = <&uboot 0x1fc00>;
+       pll-data = <0x03000101 0x00000101 0x00001616>;
 
        fixed-link {
                speed = <1000>;