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 bootargs = "console=ttyS0,57600";
16 compatible = "gpio-keys";
20 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
21 linux,code = <KEY_WPS_BUTTON>;
26 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
27 linux,code = <KEY_RFKILL>;
32 gpios = <&gpio0 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>;
67 gpio_expander: i2c0gpio-expander@20{
69 #interrupt-cells = <2>;
70 compatible = "semtech,sx1503q";
81 compatible = "fixed-partitions";
92 label = "SC PART_MAP";
93 reg = <0x100000 0x100000>;
99 reg = <0x200000 0x400000>;
104 reg = <0x600000 0x2800000>;
109 reg = <0x2e00000 0x1800000>;
113 factory: partition@4600000 {
115 reg = <0x4600000 0x200000>;
121 reg = <0x4800000 0x3800000>;