3 /include/ "mt7620n.dtsi"
6 compatible = "elecom,wrh-300cr", "ralink,mt7620n-soc";
7 model = "ELECOM WRH-300CR";
28 compatible = "jedec,spi-nor";
30 linux,modalias = "m25p80", "mx25l12805d";
31 spi-max-frequency = <10000000>;
41 reg = <0x30000 0x10000>;
44 factory: partition@40000 {
46 reg = <0x40000 0x10000>;
52 reg = <0x50000 0x1c0000>;
58 reg = <0x210000 0xdf0000>;
73 mtd-mac-address = <&factory 0x2e>;
74 mediatek,portmap = "llllw";
78 ralink,mtd-eeprom = <&factory 0>;
82 state_default: pinctrl0 {
84 ralink,group = "i2c", "ephy", "wled";
85 ralink,function = "gpio";
91 compatible = "gpio-leds";
94 label = "wrh-300cr:green:wps";
99 label = "wrh-300cr:green:ethernet";
100 gpios = <&gpio2 3 1>;
104 label = "wrh-300cr:green:wlan";
105 gpios = <&gpio3 0 1>;
110 compatible = "gpio-keys-polled";
111 #address-cells = <1>;
113 poll-interval = <20>;
117 gpios = <&gpio0 1 1>;
118 linux,code = <0x198>;
123 gpios = <&gpio0 2 1>;
124 linux,code = <0x211>;