3 #include "mt7620a.dtsi"
6 compatible = "ralink,mt7620a-soc";
7 model = "Planex MZK-EX300NP";
24 compatible = "jedec,spi-nor";
26 linux,modalias = "m25p80", "w25q64";
27 spi-max-frequency = <10000000>;
37 reg = <0x30000 0x10000>;
41 factory: partition@40000 {
43 reg = <0x40000 0x10000>;
49 reg = <0x50000 0x730000>;
54 reg = <0x780000 0x80000>;
61 state_default: pinctrl0 {
63 ralink,group = "i2c", "spi refclk", "rgmii1", "wled";
64 ralink,function = "gpio";
70 pinctrl-names = "default";
71 pinctrl-0 = <&ephy_pins>;
72 mtd-mac-address = <&factory 0x4>;
73 mediatek,portmap = "llllw";
77 ralink,mtd-eeprom = <&factory 0>;
81 compatible = "gpio-leds";
84 label = "mzk-ex300np:green:wifi";
89 label = "mzk-ex300np:green:wps";
94 label = "mzk-ex300np:blue:rep";
99 label = "mzk-ex300np:blue:wifi1";
100 gpios = <&gpio1 1 1>;
104 label = "mzk-ex300np:blue:wifi2";
105 gpios = <&gpio1 2 1>;
109 label = "mzk-ex300np:blue:wifi3";
110 gpios = <&gpio1 0 1>;
115 compatible = "gpio-keys-polled";
116 #address-cells = <1>;
118 poll-interval = <20>;
122 gpios = <&gpio0 1 1>;
123 linux,code = <0x198>;
128 gpios = <&gpio1 3 0>;
129 linux,code = <0x211>;