X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fath79%2Fdts%2Far9331_tplink_tl-mr3040-v2.dts;h=c5f7a4fe76ec5e632550eef2239055cd4c68ce3b;hb=4fbdadc0bf01196d4e385872cfa805060fb127a6;hp=005e263894588fd89448d0b64ecc01fbeb3e7564;hpb=8961d2268e3c196ed0bcdb7eded622c434982925;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ath79/dts/ar9331_tplink_tl-mr3040-v2.dts b/target/linux/ath79/dts/ar9331_tplink_tl-mr3040-v2.dts index 005e263894..c5f7a4fe76 100644 --- a/target/linux/ath79/dts/ar9331_tplink_tl-mr3040-v2.dts +++ b/target/linux/ath79/dts/ar9331_tplink_tl-mr3040-v2.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; +// SPDX-License-Identifier: GPL-2.0-only + +#include "ar9331.dtsi" #include #include -#include "ar9331.dtsi" - / { model = "TP-Link TL-MR3040 V2"; compatible = "tplink,tl-mr3040-v2", "qca,ar9331"; aliases { + serial0 = &uart; led-boot = &led_lan; led-failsafe = &led_lan; label-mac-device = ð0; @@ -18,22 +18,23 @@ leds { compatible = "gpio-leds"; + pinctrl-names = "default"; pinctrl-0 = <&switch_led_disable_pins>; wlan { - label = "tp-link:green:wlan"; + label = "green:wlan"; gpios = <&gpio 26 GPIO_ACTIVE_LOW>; linux,default-trigger = "phy0tpt"; }; led_lan: lan { - label = "tp-link:green:lan"; + label = "green:lan"; gpios = <&gpio 17 GPIO_ACTIVE_LOW>; }; led3g { - label = "tp-link:green:3g"; + label = "green:3g"; gpios = <&gpio 27 GPIO_ACTIVE_LOW>; trigger-sources = <&hub_port>; linux,default-trigger = "usbport"; @@ -85,10 +86,6 @@ status = "okay"; }; -&gpio { - status = "okay"; -}; - &usb { #address-cells = <1>; #size-cells = <0>; @@ -107,12 +104,11 @@ }; &spi { - num-chipselects = <1>; status = "okay"; flash@0 { compatible = "jedec,spi-nor"; - spi-max-frequency = <104000000>; + spi-max-frequency = <50000000>; reg = <0>; partitions { @@ -120,7 +116,7 @@ #address-cells = <1>; #size-cells = <1>; - uboot: partition@0 { + uboot: partition@0 { label = "u-boot"; reg = <0x000000 0x020000>; read-only; @@ -155,11 +151,13 @@ ð1 { status = "okay"; + compatible = "syscon", "simple-mfd"; }; &wmac { status = "okay"; + mtd-cal-data = <&art 0x1000>; mtd-mac-address = <&uboot 0x1fc00>; };