3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 model = "ZyXEL Keenetic Viva";
12 compatible = "gpio-leds";
15 label = "kng_rc:green:wan";
16 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
20 label = "kng_rc:green:usb";
21 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
25 label = "kng_rc:red:power";
26 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
30 label = "kng_rc:green:wifi";
31 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
35 label = "kng_rc:green:power";
36 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
41 compatible = "gpio-keys";
48 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_RESTART>;
54 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_WPS_BUTTON>;
60 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
66 compatible = "realtek,rtl8367b";
68 realtek,extif2 = <1 0 1 1 1 1 1 1 2>;
79 compatible = "jedec,spi-nor";
81 spi-max-frequency = <10000000>;
91 reg = <0x30000 0x10000>;
95 factory: partition@40000 {
97 reg = <0x40000 0x10000>;
103 reg = <0x50000 0xfb0000>;
109 state_default: pinctrl0 {
111 ralink,group = "i2c", "uartf";
112 ralink,function = "gpio";
119 pinctrl-names = "default";
120 pinctrl-0 = <&rgmii2_pins &mdio_pins>;
121 mtd-mac-address = <&factory 0x00004>;
125 mediatek,fixed-link = <1000 1 1 1>;
127 phy-handle = <&phy4>;
133 phy4: ethernet-phy@4 {
141 mediatek,port4 = "gmac";
145 ralink,mtd-eeprom = <&factory 0>;