|
|
@@ -32,10 +32,11 @@
|
|
|
};
|
|
|
};
|
|
|
|
|
|
- leds {
|
|
|
+ leds: leds {
|
|
|
compatible = "gpio-leds";
|
|
|
+
|
|
|
pinctrl-names = "default";
|
|
|
- pinctrl-0 = <&switch_led_pins>;
|
|
|
+ pinctrl-0 = <&pinmux_switch_led_pins>;
|
|
|
|
|
|
led_system: system {
|
|
|
label = "tp-link:green:system";
|
|
|
@@ -46,31 +47,6 @@
|
|
|
label = "tp-link:green:qss";
|
|
|
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
|
|
|
};
|
|
|
-
|
|
|
- lan1 {
|
|
|
- label = "tp-link:green:lan1";
|
|
|
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
|
|
|
- };
|
|
|
-
|
|
|
- lan2 {
|
|
|
- label = "tp-link:green:lan2";
|
|
|
- gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
|
|
|
- };
|
|
|
-
|
|
|
- lan3 {
|
|
|
- label = "tp-link:green:lan3";
|
|
|
- gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
|
|
|
- };
|
|
|
-
|
|
|
- lan4 {
|
|
|
- label = "tp-link:green:lan4";
|
|
|
- gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
|
|
|
- };
|
|
|
-
|
|
|
- wan {
|
|
|
- label = "tp-link:green:wan";
|
|
|
- gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
|
|
|
- };
|
|
|
};
|
|
|
|
|
|
ath9k-leds {
|
|
|
@@ -105,7 +81,7 @@
|
|
|
read-only;
|
|
|
};
|
|
|
|
|
|
- firmware: partition@20000 {
|
|
|
+ partition@20000 {
|
|
|
compatible = "tplink,firmware";
|
|
|
reg = <0x20000 0x3d0000>;
|
|
|
label = "firmware";
|
|
|
@@ -120,25 +96,14 @@
|
|
|
};
|
|
|
};
|
|
|
|
|
|
-ð0 {
|
|
|
- status = "okay";
|
|
|
-
|
|
|
- mtd-mac-address = <&uboot 0x1fc00>;
|
|
|
- mtd-mac-address-increment = <(-1)>;
|
|
|
-};
|
|
|
-
|
|
|
ð1 {
|
|
|
status = "okay";
|
|
|
-
|
|
|
- mtd-mac-address = <&uboot 0x1fc00>;
|
|
|
- mtd-mac-address-increment = <1>;
|
|
|
};
|
|
|
|
|
|
&pcie {
|
|
|
status = "okay";
|
|
|
|
|
|
ath9k: wifi@0,0 {
|
|
|
- compatible = "pci168c,002b";
|
|
|
reg = <0x0000 0 0 0 0>;
|
|
|
qca,no-eeprom;
|
|
|
mtd-mac-address = <&uboot 0x1fc00>;
|
|
|
@@ -148,7 +113,7 @@
|
|
|
};
|
|
|
|
|
|
&pinmux {
|
|
|
- switch_led_pins: pinmux_switch_led_pins {
|
|
|
+ pinmux_switch_led_pins: switch_led_pins {
|
|
|
pinctrl-single,bits = <0x0 0x0 0xf8>;
|
|
|
};
|
|
|
};
|