@ -12,9 +12,10 @@
led-failsafe = &power;
led-failsafe = &power;
led-running = &power;
led-running = &power;
led-upgrade = &power;
led-upgrade = &power;
label-mac-device = ð1;
};
};
keys {
ath9k- keys {
compatible = "gpio-keys-polled";
compatible = "gpio-keys-polled";
poll-interval = <20>;
poll-interval = <20>;
@ -28,6 +29,10 @@
leds {
leds {
compatible = "gpio-leds";
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&jtag_disable_pins &switch_led_disable_pins &clks_disable_pins>;
power: power {
power: power {
label = "netgear:green:power";
label = "netgear:green:power";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
@ -47,6 +52,10 @@
label = "netgear:green:wan";
label = "netgear:green:wan";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
};
};
ath9k-leds {
compatible = "gpio-leds";
wlan: wlan {
wlan: wlan {
label = "netgear:green:wlan";
label = "netgear:green:wlan";
@ -70,7 +79,7 @@
#address-cells = <1>;
#address-cells = <1>;
#size-cells = <1>;
#size-cells = <1>;
uboot: partition@0 {
partition@0 {
reg = <0x0 0x40000>;
reg = <0x0 0x40000>;
label = "u-boot";
label = "u-boot";
read-only;
read-only;
@ -87,7 +96,7 @@
label = "firmware";
label = "firmware";
};
};
partition@3f0000 {
art: partition@3f0000 {
reg = <0x3f0000 0x10000>;
reg = <0x3f0000 0x10000>;
label = "art";
label = "art";
read-only;
read-only;
@ -99,15 +108,13 @@
ð0 {
ð0 {
status = "okay";
status = "okay";
mtd-mac-address = <&uboot 0x1fc00>;
mtd-mac-address = <&art 0x0>;
mtd-mac-address-increment = <(-1)>;
};
};
ð1 {
ð1 {
status = "okay";
status = "okay";
mtd-mac-address = <&uboot 0x1fc00>;
mtd-mac-address = <&art 0x6>;
mtd-mac-address-increment = <1>;
};
};
&pcie {
&pcie {
@ -116,6 +123,8 @@
ath9k: wifi@0,0 {
ath9k: wifi@0,0 {
compatible = "pci168c,002b";
compatible = "pci168c,002b";
reg = <0x0000 0 0 0 0>;
reg = <0x0000 0 0 0 0>;
mtd-mac-address = <&art 0x0>;
mtd-mac-address-increment = <1>;
qca,no-eeprom;
qca,no-eeprom;
#gpio-cells = <2>;
#gpio-cells = <2>;
gpio-controller;
gpio-controller;