1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/leds/common.h>
5 #include "mt7620a_iptime.dtsi"
8 compatible = "iptime,a1004ns", "ralink,mt7620a-soc";
9 model = "ipTIME A1004ns";
13 led-failsafe = &led_cpu;
14 led-running = &led_cpu;
15 led-upgrade = &led_cpu;
19 compatible = "gpio-leds";
22 function = LED_FUNCTION_CPU;
23 color = <LED_COLOR_ID_BLUE>;
24 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
28 function = LED_FUNCTION_USB;
29 color = <LED_COLOR_ID_BLUE>;
30 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
31 trigger-sources = <&ohci_port1>, <&ehci_port1>;
32 linux,default-trigger = "usbport";
37 compatible = "gpio-keys";
41 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_RESTART>;
47 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_WPS_BUTTON>;
54 reg = <0x30000 0xfd0000>;
59 groups = "i2c", "uartf", "spi refclk";
65 pinctrl-names = "default";
66 pinctrl-0 = <&rgmii1_pins &mdio_pins>;
70 mediatek,fixed-link = <1000 1 1 1>;
110 mediatek,ephy-base = /bits/ 8 <12>;