ath79: add support for TP-Link TL-WPA8630P v2
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9330_glinet_gl-ar150.dts
index a8433532f1780f7b5e495c95b5bbfa0d14251721..b8c6959d5d92cc381dd9c7a350a9ef2b34c1f985 100644 (file)
 
        aliases {
                serial0 = &uart;
-               led-boot = &wlan;
-               led-failsafe = &wlan;
-               led-upgrade = &wlan;
+               led-boot = &led_power;
+               led-failsafe = &led_power;
+               led-running = &led_power;
+               led-upgrade = &led_power;
                label-mac-device = &eth0;
        };
 
        leds {
                compatible = "gpio-leds";
 
-               wlan: wlan {
+               wlan {
                        label = "gl-ar150:orange:wlan";
                        gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "phy0tpt";
                };
 
-               lan {
-                       label = "gl-ar150:green:lan";
+               configurable {
+                       label = "gl-ar150:green:configurable";
                        gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
                };
 
-               wan {
-                       label = "gl-ar150:green:wan";
+               led_power: power {
+                       label = "gl-ar150:green:power";
                        gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
+                       default-state = "on";
                };
        };
 
        status = "okay";
 };
 
-&gpio {
-       status = "okay";
-};
-
 &usb {
        dr_mode = "host";
        status = "okay";
 };
 
 &spi {
-       num-chipselects = <1>;
        status = "okay";
 
+       num-chipselects = <1>;
+
        flash@0 {
                compatible = "jedec,spi-nor";
-               spi-max-frequency = <104000000>;
+               spi-max-frequency = <50000000>;
                reg = <0>;
 
                partitions {
 
 &wmac {
        status = "okay";
+
        mtd-cal-data = <&art 0x1000>;
        mtd-mac-address = <&art 0x0>;
 };