projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ath79: remove generic profiles
[openwrt/openwrt.git]
/
target
/
linux
/
ath79
/
dts
/
ar9132_tplink_tl-wr1043nd-v1.dts
diff --git
a/target/linux/ath79/dts/ar9132_tplink_tl-wr1043nd-v1.dts
b/target/linux/ath79/dts/ar9132_tplink_tl-wr1043nd-v1.dts
index d01d2cc716e82e67bd12116248544cc44daaa743..f575990894523240ece10b758926efa5630e34d4 100644
(file)
--- a/
target/linux/ath79/dts/ar9132_tplink_tl-wr1043nd-v1.dts
+++ b/
target/linux/ath79/dts/ar9132_tplink_tl-wr1043nd-v1.dts
@@
-1,17
+1,20
@@
-// SPDX-License-Identifier: GPL-2.0
-/dts-v1/;
+// SPDX-License-Identifier: GPL-2.0-only
+
+#include "ar9132.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
-#include "ar9132.dtsi"
-
/ {
compatible = "tplink,tl-wr1043nd-v1", "qca,ar9132";
/ {
compatible = "tplink,tl-wr1043nd-v1", "qca,ar9132";
- model = "TP-Link TL-WR1043ND
Version
1";
+ model = "TP-Link TL-WR1043ND
v
1";
aliases {
aliases {
- led-status = &system;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
+ label-mac-device = ð0;
};
extosc: ref {
};
extosc: ref {
@@
-22,17
+25,15
@@
keys {
compatible = "gpio-keys";
keys {
compatible = "gpio-keys";
- #address-cells = <1>;
- #size-cells = <0>;
-
button0
{
+
reset
{
label = "reset";
linux,code = <KEY_RESTART>;
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
debounce-interval = <60>;
};
label = "reset";
linux,code = <KEY_RESTART>;
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
debounce-interval = <60>;
};
-
button1
{
+
qss
{
label = "qss";
linux,code = <KEY_WPS_BUTTON>;
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
label = "qss";
linux,code = <KEY_WPS_BUTTON>;
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
@@
-42,29
+43,28
@@
leds {
compatible = "gpio-leds";
leds {
compatible = "gpio-leds";
+
usb {
usb {
- label = "
tp-link:
green:usb";
+ label = "green:usb";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
- default-state = "off";
trigger-sources = <&hub_port>;
linux,default-trigger = "usbport";
};
trigger-sources = <&hub_port>;
linux,default-trigger = "usbport";
};
- system: system {
- label = "
tp-link:
green:system";
+
led_
system: system {
+ label = "green:system";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
linux,default-trigger = "heartbeat";
};
qss {
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
linux,default-trigger = "heartbeat";
};
qss {
- label = "
tp-link:
green:qss";
+ label = "green:qss";
gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
};
wlan {
gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
};
wlan {
- label = "
tp-link:
green:wlan";
+ label = "green:wlan";
gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
- default-state = "off";
linux,default-trigger = "phy0tpt";
};
};
linux,default-trigger = "phy0tpt";
};
};
@@
-88,6
+88,8
@@
};
&usb {
};
&usb {
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "okay";
hub_port: port@1 {
status = "okay";
hub_port: port@1 {
@@
-102,14
+104,12
@@
&spi {
status = "okay";
&spi {
status = "okay";
- num-cs = <1>;
flash@0 {
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
+ m25p,fast-read;
partitions {
compatible = "fixed-partitions";
partitions {
compatible = "fixed-partitions";
@@
-123,6
+123,7
@@
};
partition@20000 {
};
partition@20000 {
+ compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x7D0000>;
};
label = "firmware";
reg = <0x020000 0x7D0000>;
};
@@
-142,9
+143,6
@@
phy-mode = "rgmii";
mtd-mac-address = <&uboot 0x1fc00>;
phy-mode = "rgmii";
mtd-mac-address = <&uboot 0x1fc00>;
- resets = <&rst 9>;
- reset-names = "mac";
-
fixed-link {
speed = <1000>;
full-duplex;
fixed-link {
speed = <1000>;
full-duplex;
@@
-153,6
+151,7
@@
&wmac {
status = "okay";
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&uboot 0x1fc00>;
};
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&uboot 0x1fc00>;
};