1 // SPDX-License-Identifier: GPL-2.0-only
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 compatible = "gpio-keys";
20 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
21 linux,code = <KEY_WPS_BUTTON>;
26 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
27 linux,code = <KEY_RFKILL>;
32 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_RESTART>;
44 compatible = "mediatek,mt76";
46 mediatek,mtd-eeprom = <&factory 0x0>;
47 ieee80211-freq-limit = <2400000 2500000>;
53 compatible = "mediatek,mt76";
55 mediatek,mtd-eeprom = <&factory 0x8000>;
56 ieee80211-freq-limit = <5000000 6000000>;
61 mtd-mac-address = <&factory 0x4>;
89 mtd-mac-address = <&factory 0x4>;
90 mtd-mac-address-increment = <2>;
98 gpio_expander: i2c0gpio-expander@20{
100 #interrupt-cells = <2>;
101 compatible = "semtech,sx1503q";
112 compatible = "fixed-partitions";
113 #address-cells = <1>;
118 reg = <0x0 0x100000>;
123 label = "SC PART_MAP";
124 reg = <0x100000 0x100000>;
130 reg = <0x200000 0x400000>;
135 reg = <0x600000 0x2800000>;
140 reg = <0x2e00000 0x1800000>;
144 factory: partition@4600000 {
146 reg = <0x4600000 0x200000>;
152 reg = <0x4800000 0x3800000>;