#include "ar7240_netgear_wnr612-v2.dtsi"
/ {
- model = "Netgear WNR612 v2";
compatible = "netgear,wnr612-v2", "qca,ar7240";
+ model = "Netgear WNR612 v2";
};
led-upgrade = &power;
};
- keys {
+ ath9k-keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
leds {
compatible = "gpio-leds";
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&jtag_disable_pins &switch_led_disable_pins &clks_disable_pins>;
+
power: power {
label = "netgear:green:power";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
label = "netgear:green:wan";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
+ };
+
+ ath9k-leds {
+ compatible = "gpio-leds";
wlan: wlan {
label = "netgear:green:wlan";
#address-cells = <1>;
#size-cells = <1>;
- uboot: partition@0 {
+ partition@0 {
reg = <0x0 0x40000>;
label = "u-boot";
read-only;
label = "firmware";
};
- partition@3f0000 {
+ art: partition@3f0000 {
reg = <0x3f0000 0x10000>;
label = "art";
read-only;
ð0 {
status = "okay";
- mtd-mac-address = <&uboot 0x1fc00>;
- mtd-mac-address-increment = <(-1)>;
+ mtd-mac-address = <&art 0x0>;
};
ð1 {
status = "okay";
- mtd-mac-address = <&uboot 0x1fc00>;
- mtd-mac-address-increment = <1>;
+ mtd-mac-address = <&art 0x6>;
};
&pcie {
ath9k: wifi@0,0 {
compatible = "pci168c,002b";
reg = <0x0000 0 0 0 0>;
+ mtd-mac-address = <&art 0x0>;
+ mtd-mac-address-increment = <1>;
qca,no-eeprom;
#gpio-cells = <2>;
gpio-controller;
#include "ar7240_netgear_wnr612-v2.dtsi"
/ {
- model = "ON Network N150R";
compatible = "on,n150r", "qca,ar7240";
+ model = "ON Network N150R";
};
ATH_SOC := ar7240
NETGEAR_KERNEL_MAGIC := 0x32303631
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma -d20 | netgear-uImage lzma
- IMAGE_SIZE := 3904k
+ IMAGE_SIZE := 3712k
IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | netgear-squashfs | append-rootfs | pad-rootfs
$(Device/netgear_ath79)
endef