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 {
84 reg = <0x40000 0x10000>;
88 firmware: partition@50000 {
89 compatible = "denx,uimage";
91 /* reg property is set based on flash size in DTS files */
99 groups = "i2c", "rgmii1", "wled";
105 pinctrl-names = "default";
106 pinctrl-0 = <&ephy_pins>;
108 nvmem-cells = <&macaddr_factory_28>;
109 nvmem-cell-names = "mac-address";
111 mediatek,portmap = "llllw";
115 ralink,mtd-eeprom = <&factory 0x0>;
117 pinctrl-names = "default", "pa_gpio";
118 pinctrl-0 = <&pa_pins>;
119 pinctrl-1 = <&pa_gpio_pins>;
135 compatible = "nvmem-cells";
136 #address-cells = <1>;
139 macaddr_factory_28: macaddr@28 {