gpio-keys-polled {
compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
poll-interval = <100>;
wps {
gpio-sck = <&gpio 7 GPIO_ACTIVE_HIGH>;
mdio-bus {
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "okay";
phy-mask = <0x10>;
};
&usb1 {
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "okay";
usb_ochi_port: port@1 {
};
&usb2 {
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "okay";
usb_echi_port: port@1 {
num-cs = <1>;
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
builtin_switch: switch0@1f {
compatible = "qca,ar8216-builtin";
- #address-cells = <1>;
- #size-cells = <0>;
reg = <0x1f>;
resets = <&rst 8>;
reset-names = "switch";
mdio-bus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
swphy4: ethernet-phy@4 {
reg = <4>;
phy-mode = "mii";
gpio-keys-polled {
compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
poll-interval = <20>;
reset {
num-cs = <1>;
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
&pcie {
status = "okay";
- ath9k: wifi@168c,002b {
+ ath9k: wifi@0,0 {
compatible = "pci168c,002b";
reg = <0x0000 0 0 0 0>;
qca,no-eeprom;
gpio-keys-polled {
compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
poll-interval = <20>;
reset {
num-cs = <1>;
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
&pcie {
status = "okay";
- ath9k: wifi@168c,002b {
+ ath9k: wifi@0,0 {
compatible = "pci168c,002b";
reg = <0x0000 0 0 0 0>;
qca,no-eeprom;
builtin_switch: switch0@1f {
compatible = "qca,ar8216-builtin";
- #address-cells = <1>;
- #size-cells = <0>;
reg = <0x1f>;
resets = <&rst 8>;
reset-names = "switch";
mdio-bus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
swphy4: ethernet-phy@4 {
reg = <4>;
phy-mode = "mii";
gpio-keys-polled {
compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
poll-interval = <20>;
reset {
num-cs = <1>;
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
&pcie {
status = "okay";
- ath9k: wifi@0 {
+ ath9k: wifi@0,0 {
reg = <0x0000 0 0 0 0>;
#gpio-cells = <2>;
gpio-controller;
};
&usb {
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "okay";
hub_port: port@1 {
keys {
compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
-
poll-interval = <20>;
reset {
linux,code = <KEY_RESTART>;
num-cs = <1>;
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
&pcie {
status = "okay";
- wifi@0 {
+ wifi@0,0 {
reg = <0x0000 0 0 0 0>;
qca,no-eeprom;
};
*/
keys {
compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
-
poll-interval = <20>;
reset {
linux,code = <KEY_RESTART>;
num-cs = <1>;
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
&pcie {
status = "okay";
- wifi@0 {
+ wifi@0,0 {
reg = <0x0000 0 0 0 0>;
qca,no-eeprom;
};
gpio-keys {
compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
poll-interval = <20>;
wps {
num-cs = <1>;
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
&pcie {
status = "okay";
- ath9k: wifi@0 {
+ ath9k: wifi@0,0 {
reg = <0x0000 0 0 0 0>;
#gpio-cells = <2>;
gpio-controller;
keys {
compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
-
poll-interval = <20>;
+
usb {
linux,code = <BTN_2>;
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
&pcie {
status = "okay";
- wifi@0 {
+ wifi@0,0 {
reg = <0x0000 0 0 0 0>;
qca,no-eeprom;
};
gpio-keys {
compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
poll-interval = <20>;
reset {
realtek,extif0 = <1 0 1 1 1 1 1 1 2>;
mdio-bus {
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "okay";
phy0: ethernet-phy@0 {
num-cs = <1>;
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
};
&usb {
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "okay";
hub_port: port@1 {
&pcie {
status = "okay";
- ath9k: wifi@0 {
+ ath9k: wifi@0,0 {
reg = <0x0000 0 0 0 0>;
#gpio-cells = <2>;
gpio-controller;
keys {
compatible = "gpio-keys";
- #address-cells = <1>;
- #size-cells = <0>;
button0 {
label = "reset";
};
&usb {
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "okay";
hub_port: port@1 {
num-cs = <1>;
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
builtin_switch: switch0@1f {
compatible = "qca,ar8216-builtin";
- #address-cells = <1>;
- #size-cells = <0>;
-
reg = <0x1f>;
resets = <&rst 8>;
reset-names = "switch";
mdio-bus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
swphy4: ethernet-phy@4 {
reg = <4>;
phy-mode = "mii";
keys {
compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
poll-interval = <100>;
manual {
status = "okay";
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
spi-max-frequency = <104000000>;
reg = <0>;
keys {
compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
poll-interval = <100>;
- button@0 {
+ button0 {
label = "reset";
linux,code = <KEY_RESTART>;
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
/* Winbond 25Q128FVSG SPI flash */
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "winbond,w25q128", "jedec,spi-nor";
spi-max-frequency = <104000000>;
reg = <0>;
keys {
compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
poll-interval = <100>;
- button@0 {
+ button0 {
label = "jumpstart";
linux,code = <KEY_WPS_BUTTON>;
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
- button@1 {
+ button1 {
label = "reset";
linux,code = <KEY_RESTART>;
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
/* Winbond 25Q128BVFG SPI flash */
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "winbond,w25q128", "jedec,spi-nor";
spi-max-frequency = <104000000>;
reg = <0>;
keys {
compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
poll-interval = <100>;
wps {
status = "okay";
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
spi-max-frequency = <104000000>;
reg = <0>;
keys {
compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
poll-interval = <50>;
restore {
status = "okay";
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
reg = <0>;
keys {
compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
poll-interval = <100>;
- button@0 {
+ button0 {
label = "reset";
linux,code = <KEY_RESTART>;
gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
/* Winbond 25Q128FVSG SPI flash */
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "winbond,w25q128", "jedec,spi-nor";
spi-max-frequency = <104000000>;
reg = <0>;
keys {
compatible = "gpio-keys";
- #address-cells = <1>;
- #size-cells = <0>;
button0 {
label = "reset";
};
&usb {
+ #address-cells = <1>;
+ #size-cells = <0>;
dr_mode = "host";
vbus-supply = <®_usb_vbus>;
status = "okay";
/* Spansion S25FL032PIF SPI flash */
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
spi-max-frequency = <104000000>;
reg = <0>;
gpio-keys-polled {
compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
poll-interval = <20>;
reset {
num-cs = <1>;
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
gpio-keys-polled {
compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
poll-interval = <20>;
reset {
num-cs = <1>;
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
- #address-cells = <1>;
- #size-cells = <0>;
+
pinctrl-names = "default";
pinctrl-0 = <&jtag_disable_pins>;
status = "okay";
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
};
&rst {
- intc2: interrupt-controller@2 {
+ intc2: interrupt-controller {
compatible = "qca,ar9340-intc";
interrupt-parent = <&cpuintc>;
keys {
compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
poll-interval = <20>;
reset {
status = "okay";
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
&pcie {
status = "okay";
- ath9k: wifi@168c,0030 {
+ ath9k: wifi@0,0 {
compatible = "pci168c,0030";
reg = <0x0000 0 0 0 0>;
mtd-mac-address = <&art 0xc>;
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
- #address-cells = <1>;
- #size-cells = <0>;
+
pinctrl-names = "default";
pinctrl-0 = <&jtag_disable_pins>;
status = "okay";
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
&pcie {
status = "okay";
- ath9k: wifi@168c,0030 {
+ ath9k: wifi@0,0 {
compatible = "168c,0030";
reg = <0x0000 0 0 0 0>;
mtd-mac-address = <&art 0x0>;
led-status = &status;
};
-
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
- #address-cells = <1>;
- #size-cells = <0>;
+
pinctrl-names = "default";
pinctrl-0 = <&jtag_disable_pins>;
status = "okay";
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
&usb {
status = "okay";
+ #address-cells = <1>;
+ #size-cells = <0>;
- port@1 {
+ hub_port1: port@1 {
reg = <1>;
#trigger-source-cells = <0>;
-
- hub_port1: port@1 {
- reg = <1>;
- #trigger-source-cells = <0>;
- };
};
-
};
&usb_phy {
&pcie {
status = "okay";
- ath9k: wifi@168c,0030 {
+ ath9k: wifi@0,0 {
compatible = "pci168c,0030";
+ reg = <0x0000 0 0 0 0>;
mtd-mac-address = <&art 0x5002>;
#gpio-cells = <2>;
gpio-controller;
};
ð0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "okay";
/* default for ar934x, except for 1000M */
port@0 {
compatible = "swconfig,port";
+ reg = <0>;
swconfig,segment = "lan";
swconfig,portmap = <1 1>;
};
port@1 {
compatible = "swconfig,port";
+ reg = <1>;
swconfig,segment = "lan";
swconfig,portmap = <2 2>;
};
port@2 {
compatible = "swconfig,port";
+ reg = <2>;
swconfig,segment = "lan";
swconfig,portmap = <3 3>;
};
port@3 {
compatible = "swconfig,port";
+ reg = <3>;
swconfig,segment = "lan";
swconfig,portmap = <4 4>;
};
port@4 {
compatible = "swconfig,port";
+ reg = <4>;
swconfig,segment = "wan";
swconfig,portmap = <5 5>;
};
keys {
compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
poll-interval = <20>;
reset {
gpio-export {
compatible = "gpio-export";
- #size-cells = <0>;
gpio_usb1_power {
gpio-export,name = "tp-link:power:usb1";
status = "okay";
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
};
&usb {
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "okay";
port@1 {
+ #address-cells = <1>;
+ #size-cells = <0>;
reg = <1>;
#trigger-source-cells = <0>;
&pcie {
status = "okay";
- ath9k: wifi@168c,0033 {
+ ath9k: wifi@0,0 {
compatible = "pci168c,0033";
reg = <0x0000 0 0 0 0>;
mtd-mac-address = <&uboot 0x1fc00>;
builtin_switch: switch0@1f {
compatible = "qca,ar8229-builtin";
- #address-cells = <1>;
- #size-cells = <0>;
reg = <0x1f>;
resets = <&rst 8>;
phy4-mii-enable;
mdio-bus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
swphy0: ethernet-phy@0 {
reg = <0>;
phy-mode = "mii";
#reset-cells = <1>;
- intc2: interrupt-controller@2 {
+ intc2: interrupt-controller {
compatible = "qca,ar9340-intc";
interrupt-parent = <&cpuintc>;
builtin_switch: switch0@1f {
compatible = "qca,ar8229-builtin";
- #address-cells = <1>;
- #size-cells = <0>;
reg = <0x1f>;
resets = <&rst 8>;
phy4-mii-enable;
mdio-bus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
swphy0: ethernet-phy@0 {
reg = <0>;
phy-mode = "mii";
keys {
compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
poll-interval = <20>;
pinctrl-names = "default";
pinctrl-0 = <&jtag_disable_pins>;
- button@0 {
+ button0 {
label = "reset";
linux,code = <KEY_RESTART>;
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
- button@1 {
+ button1 {
label = "button right";
linux,code = <BTN_0>;
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
};
- button@3 {
+ button3 {
label = "button left";
linux,code = <BTN_1>;
gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
};
&usb0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "okay";
hub_port: port@1 {
num-cs = <1>;
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "winbond,w25q128", "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
};
flash@1 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "spinand,mt29f";
reg = <1>;
spi-max-frequency = <25000000>;
num-cs = <0>;
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "winbond,w25q128", "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
keys {
compatible = "gpio-keys";
- #address-cells = <1>;
- #size-cells = <0>;
reset {
label = "Reset button";
num-cs = <1>;
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
status = "disabled";
};
- usb_phy0: usb-phy@18030000 {
+ usb_phy0: usb-phy0 {
compatible ="qca,qca9550-usb-phy", "qca,ar7200-usb-phy";
reset-names = "usb-phy", "usb-suspend-override";
status = "disabled";
};
- usb_phy1: usb-phy {
+ usb_phy1: usb-phy1 {
compatible = "qca,qca9550-usb-phy", "qca,ar7200-usb-phy";
reset-names = "usb-phy", "usb-suspend-override";
#reset-cells = <1>;
interrupt-parent = <&cpuintc>;
- intc2: interrupt-controller@2 {
+ intc2: interrupt-controller2 {
compatible = "qca,ar9340-intc";
interrupt-parent = <&cpuintc>;
<0x1f0>; /* pcie rc 0 */
};
- intc3: interrupt-controller@3 {
+ intc3: interrupt-controller3 {
compatible = "qca,ar9340-intc";
interrupt-parent = <&cpuintc>;
keys {
compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
poll-interval = <100>;
- button@0 {
+ button0 {
label = "reset";
linux,code = <KEY_RESTART>;
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
num-cs = <1>;
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
gpio_keys: keys {
compatible = "gpio-keys";
- #address-cells = <1>;
- #size-cells = <0>;
reset {
label = "Reset button";
gpio-export {
compatible = "gpio-export";
- #size-cells = <0>;
gpio_usb1_power {
gpio-export,name = "tp-link:power:usb1";
};
&usb0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "okay";
hub_port0: port@1 {
};
&usb1 {
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "okay";
hub_port1: port@1 {
num-cs = <1>;
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
keys {
compatible = "gpio-keys";
- #address-cells = <1>;
- #size-cells = <0>;
reset {
label = "Reset button";
};
&usb0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "okay";
hub_port0: port@1 {
num-cs = <1>;
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
keys {
compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
poll-interval = <20>;
reset {
status = "okay";
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
keys {
compatible = "gpio-keys";
- #address-cells = <1>;
- #size-cells = <0>;
reset {
label = "Reset button";
num-cs = <1>;
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
keys {
compatible = "gpio-keys";
- #address-cells = <1>;
- #size-cells = <0>;
reset {
label = "Reset button";
num-cs = <1>;
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
};
&usb0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "okay";
hub_port0: port@1 {
keys {
compatible = "gpio-keys";
- #address-cells = <1>;
- #size-cells = <0>;
reset {
label = "Reset button";
num-cs = <1>;
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
#reset-cells = <1>;
interrupt-parent = <&cpuintc>;
- intc3: interrupt-controller@3 {
+ intc3: interrupt-controller {
compatible = "qca,ar9340-intc";
interrupt-parent = <&cpuintc>;
builtin_switch: switch0@1f {
compatible = "qca,ar8229-builtin";
- #address-cells = <1>;
- #size-cells = <0>;
-
reg = <0x1f>;
resets = <&rst 8>;
reset-names = "switch";
phy4-mii-enable;
mdio-bus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
swphy0: ethernet-phy@0 {
reg = <0>;
phy-mode = "mii";