ath79: reduce spi-max-frequency to 50 MHz
[openwrt/staging/mkresin.git] / target / linux / ath79 / dts / ar9331_tplink_tl-mr3040-v2.dts
index fe15157f8b9247d6caf980abc93bd69984b3d3f9..5918e611dd23b1ba757e328cb1bd1142e98770a3 100644 (file)
        aliases {
                led-boot = &led_lan;
                led-failsafe = &led_lan;
+               label-mac-device = &eth0;
        };
 
        leds {
                compatible = "gpio-leds";
 
+               pinctrl-names = "default";
+               pinctrl-0 = <&switch_led_disable_pins>;
+
                wlan {
                        label = "tp-link:green:wlan";
                        gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
@@ -38,8 +42,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
 };
 
 &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 {
 
 &eth1 {
        status = "okay";
+
        compatible = "syscon", "simple-mfd";
 };
 
 &wmac {
        status = "okay";
+
        mtd-cal-data = <&art 0x1000>;
        mtd-mac-address = <&uboot 0x1fc00>;
 };