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>;
50 clock-frequency = <40000000>;
58 compatible = "jedec,spi-nor";
60 spi-max-frequency = <25000000>;
63 compatible = "fixed-partitions";
69 reg = <0x000000 0x040000>;
75 reg = <0x040000 0x010000>;
79 compatible = "denx,uimage";
81 reg = <0x050000 0x780000>;
86 reg = <0x07d0000 0x10000>;
92 reg = <0x07e0000 0x10000>;
98 reg = <0x7f0000 0x010000>;
108 phy0: ethernet-phy@0 {
112 qca,ar8327-initvals = <
113 0x04 0x07600000 /* PORT0 PAD MODE CTRL */
114 0x50 0xffb7ffb7 /* LED_CTRL0 */
115 0x54 0xffb7ffb7 /* LED_CTRL1 */
116 0x58 0xffb7ffb7 /* LED_CTRL2 */
117 0x5c 0x03ffff00 /* LED_CTRL3 */
118 0x7c 0x0000007e /* PORT0_STATUS */
126 pll-data = <0x0e000000 0x00000101 0x00001616>;
129 phy-handle = <&phy0>;