1 // SPDX-License-Identifier: GPL-2.0
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "mediatek,mt7621-soc";
12 label-mac-device = &gmac0;
16 bootargs = "console=ttyS0,57600";
20 compatible = "gpio-keys";
24 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_WPS_BUTTON>;
30 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
31 linux,code = <KEY_RFKILL>;
36 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
48 compatible = "mediatek,mt76";
50 mediatek,mtd-eeprom = <&factory 0x0>;
51 ieee80211-freq-limit = <2400000 2500000>;
57 compatible = "mediatek,mt76";
59 mediatek,mtd-eeprom = <&factory 0x8000>;
60 ieee80211-freq-limit = <5000000 6000000>;
65 mtd-mac-address = <&factory 0x4>;
93 mtd-mac-address = <&factory 0x4>;
94 mtd-mac-address-increment = <2>;
102 gpio_expander: i2c0gpio-expander@20{
104 #interrupt-cells = <2>;
105 compatible = "semtech,sx1503q";
116 compatible = "fixed-partitions";
117 #address-cells = <1>;
122 reg = <0x0 0x100000>;
127 label = "SC PART_MAP";
128 reg = <0x100000 0x100000>;
134 reg = <0x200000 0x400000>;
139 reg = <0x600000 0x2800000>;
144 reg = <0x2e00000 0x1800000>;
148 factory: partition@4600000 {
150 reg = <0x4600000 0x200000>;
156 reg = <0x4800000 0x3800000>;