1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
9 led-failsafe = &led_power;
10 led-running = &led_power;
11 led-upgrade = &led_power;
12 label-mac-device = ðernet;
16 compatible = "gpio-leds";
20 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
21 linux,default-trigger = "phy0tpt";
26 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
27 trigger-sources = <&ohci_port1>, <&ehci_port1>;
28 linux,default-trigger = "usbport";
33 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
38 compatible = "gpio-keys";
42 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RESTART>;
60 compatible = "jedec,spi-nor";
62 spi-max-frequency = <80000000>;
66 compatible = "fixed-partitions";
78 reg = <0x30000 0x10000>;
82 factory: partition@40000 {
83 compatible = "nvmem-cells";
85 reg = <0x40000 0x10000>;
90 eeprom_factory_0: eeprom@0 {
94 eeprom_factory_8000: eeprom@8000 {
98 macaddr_factory_28: macaddr@28 {
103 firmware: partition@50000 {
104 compatible = "openwrt,uimage", "denx,uimage";
106 openwrt,ih-magic = <0x12291000>;
107 /* reg property is set based on flash size in DTS files */
115 groups = "i2c", "rgmii1", "wled";
121 pinctrl-names = "default";
122 pinctrl-0 = <&ephy_pins>;
124 nvmem-cells = <&macaddr_factory_28>;
125 nvmem-cell-names = "mac-address";
127 mediatek,portmap = "llllw";
131 nvmem-cells = <&eeprom_factory_0>;
132 nvmem-cell-names = "eeprom";
133 pinctrl-names = "default", "pa_gpio";
134 pinctrl-0 = <&pa_pins>;
135 pinctrl-1 = <&pa_gpio_pins>;