1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 compatible = "iodata,etg3-r", "qca,ar9344";
11 model = "I-O DATA ETG3-R";
15 led-failsafe = &power;
21 compatible = "gpio-leds";
24 label = "etg3-r:green:power";
25 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
30 label = "etg3-r:green:notification";
31 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
32 default-state = "off";
37 compatible = "gpio-keys-polled";
42 linux,code = <KEY_RESTART>;
43 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
44 debounce-interval = <60>;
54 compatible = "jedec,spi-nor";
56 spi-max-frequency = <25000000>;
59 compatible = "fixed-partitions";
65 reg = <0x000000 0x040000>;
71 reg = <0x040000 0x010000>;
76 reg = <0x050000 0x780000>;
81 reg = <0x07d0000 0x10000>;
87 reg = <0x07e0000 0x10000>;
93 reg = <0x7f0000 0x010000>;
103 phy0: ethernet-phy@0 {
107 qca,ar8327-initvals = <
108 0x04 0x07600000 /* PORT0 PAD MODE CTRL */
109 0x50 0xffb7ffb7 /* LED_CTRL0 */
110 0x54 0xffb7ffb7 /* LED_CTRL1 */
111 0x58 0xffb7ffb7 /* LED_CTRL2 */
112 0x5c 0x03ffff00 /* LED_CTRL3 */
113 0x7c 0x0000007e /* PORT0_STATUS */
121 pll-data = <0x06000000 0x00000101 0x00001616>;
124 phy-handle = <&phy0>;