X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Fath79%2Fdts%2Far7242_tplink_tl-wr2543-v1.dts;h=c42207e6cffb2c3f20b574ace30c1a5d81929a20;hb=50674ccadee3edd07c8f8501907d207df3767a4e;hp=d7bb406ab099dd8ed63e88ed33f139a4b8fc3bbe;hpb=8288af1e18adfe68bc556df93521881d1e5d0eda;p=oweals%2Fopenwrt.git diff --git a/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts b/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts index d7bb406ab0..c42207e6cf 100644 --- a/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts +++ b/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts @@ -8,10 +8,13 @@ / { compatible = "tplink,tl-wr2543-v1", "qca,ar7242"; - model = "TP-LINK TL-WR2543N/ND"; + model = "TP-Link TL-WR2543N/ND"; aliases { - led-status = &system; + led-boot = &system; + led-failsafe = &system; + led-running = &system; + led-upgrade = &system; }; chosen { @@ -24,10 +27,8 @@ clock-frequency = <40000000>; }; - gpio-keys { + keys { compatible = "gpio-keys-polled"; - #address-cells = <1>; - #size-cells = <0>; poll-interval = <20>; reset { @@ -51,13 +52,11 @@ system: wps { label = "tplink:green:wps"; gpios = <&gpio 0 GPIO_ACTIVE_LOW>; - default-state = "off"; }; usb { label = "tplink:green:usb"; gpios = <&gpio 8 GPIO_ACTIVE_LOW>; - default-state = "off"; trigger-sources = <&hub_port>; linux,default-trigger = "usbport"; }; @@ -69,17 +68,14 @@ wlan2g { label = "tplink:green:wlan2g"; gpios = <&ath9k 0 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; wlan5g { label = "tplink:green:wlan5g"; gpios = <&ath9k 1 GPIO_ACTIVE_LOW>; - default-state = "off"; linux,default-trigger = "phy0tpt"; }; - }; rtl8367 { @@ -89,6 +85,8 @@ realtek,extif0 = <1 0 1 1 1 1 1 1 2>; mdio-bus { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; phy0: ethernet-phy@0 { @@ -107,8 +105,6 @@ num-cs = <1>; flash@0 { - #address-cells = <1>; - #size-cells = <1>; compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <25000000>; @@ -125,6 +121,7 @@ }; partition@20000 { + compatible = "tplink,firmware"; label = "firmware"; reg = <0x020000 0x7d0000>; }; @@ -143,6 +140,8 @@ }; &usb { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; hub_port: port@1 { @@ -158,7 +157,7 @@ &pcie { status = "okay"; - ath9k: wifi@0 { + ath9k: wifi@0,0 { reg = <0x0000 0 0 0 0>; #gpio-cells = <2>; gpio-controller;