Skip to content

Commit

Permalink
Add wdt pinctrl, get wifi calibration working
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingMarco committed Mar 31, 2024
1 parent ca126b0 commit 0c8bccc
Showing 1 changed file with 29 additions and 14 deletions.
43 changes: 29 additions & 14 deletions target/linux/ath79/dts/ar9344_huawei_ap6010dn.dts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@
// };

watchdog {
pinctrl-names = "default";
pinctrl-0 = <&wdt_gpio15>;

compatible = "linux,wdt-gpio";
gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
hw_algo = "toggle";
Expand Down Expand Up @@ -152,6 +155,26 @@
label = "art";
reg = <0x1fc0000 0x40000>;
read-only;

nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;

macaddr_art_2005b: macaddr@2005b {
compatible = "mac-base";
reg = <0x2005b 0x6>;
#nvmem-cell-cells = <1>;
};

cal_art_1000: cal@1000 {
reg = <0x1000 0x440>;
};

cal_art_5000: cal@5000 {
reg = <0x5000 0x844>;
};
};
};
};
};
Expand Down Expand Up @@ -204,20 +227,12 @@
};
};

&art {
compatible = "nvmem-cells";
#address-cells = <1>;
#size-cells = <1>;

cal_art_1000: calibration@1000 {
reg = <0x1000 0x440>;
};

cal_art_5000: calibration@5000 {
reg = <0x5000 0x440>;
&pinmux {
wdt_gpio15: pinmux_wdt_gpio15 {
pinctrl-single,bits = <0xc 0x0 0xFF000000>;
};
};

macaddr_art_2005b: macaddr@2005b {
reg = <0x2005b 0x6>;
};
&wdt {
status = "disabled";
};

0 comments on commit 0c8bccc

Please sign in to comment.