1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7620a_iptime.dtsi"
6 compatible = "iptime,a1004ns", "ralink,mt7620a-soc";
7 model = "ipTIME A1004ns";
11 led-failsafe = &led_cpu;
12 led-running = &led_cpu;
13 led-upgrade = &led_cpu;
17 compatible = "gpio-leds";
21 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
26 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
27 trigger-sources = <&ohci_port1>, <&ehci_port1>;
28 linux,default-trigger = "usbport";
33 compatible = "gpio-keys";
37 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_RESTART>;
43 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_WPS_BUTTON>;
50 reg = <0x30000 0xfd0000>;
55 groups = "i2c", "uartf", "spi refclk";
61 pinctrl-names = "default";
62 pinctrl-0 = <&rgmii1_pins &mdio_pins>;
66 mediatek,fixed-link = <1000 1 1 1>;
106 mediatek,ephy-base = /bits/ 8 <12>;