/ {
compatible = "tplink,archer-c2-v3", "qca,qca9563";
- model = "TP-Link Archer C2 Version 3";
+ model = "TP-Link Archer C2 v3";
chosen {
bootargs = "console=ttyS0,115200n8";
};
aliases {
- led-boot = &system;
- led-failsafe = &system;
- led-running = &system;
- led-upgrade = &system;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
};
- gpio_leds: leds {
+ leds {
compatible = "gpio-leds";
- system: system {
+ led_system: system {
label = "tp-link:green:system";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
default-state = "on";
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
partition@20000 {
label = "uboot";
reg = <0x020000 0x10000>;
+ read-only;
};
partition@30000 {
};
info: partition@7e0000 {
- label = "product-info";
+ label = "info";
reg = <0x7e0000 0x010000>;
read-only;
};
art: partition@7f0000 {
- label = "ART";
+ label = "art";
reg = <0x7f0000 0x010000>;
read-only;
};
phy0: ethernet-phy@0 {
reg = <0>;
phy-mode = "sgmii";
+ qca,mib-poll-interval = <500>;
qca,ar8327-initvals = <
0x04 0x00080080 /* PORT0 PAD MODE CTRL */
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&info 0x8>;
};