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>
7 #include "qca956x.dtsi"
10 model = "ELECOM WRC-300GHBK2-I";
11 compatible = "elecom,wrc-300ghbk2-i", "qca,qca9563";
14 bootargs = "console=ttyS0,115200n8";
19 led-failsafe = &power;
25 compatible = "gpio-leds";
28 label = "wrc-300ghbk2-i:white:power";
29 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
34 label = "wrc-300ghbk2-i:white:wlan2g";
35 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
36 linux,default-trigger = "phy0tpt";
40 label = "wrc-300ghbk2-i:red:wps";
41 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
46 compatible = "gpio-keys";
50 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RESTART>;
52 debounce-interval = <60>;
57 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
58 linux,code = <KEY_WPS_BUTTON>;
59 debounce-interval = <60>;
64 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
66 linux,input-type = <EV_SW>;
67 debounce-interval = <60>;
77 compatible = "jedec,spi-nor";
79 spi-max-frequency = <25000000>;
82 compatible = "fixed-partitions";
88 reg = <0x000000 0x040000>;
94 reg = <0x040000 0x010000>;
100 reg = <0x050000 0x020000>;
105 compatible = "denx,uimage";
107 reg = <0x070000 0x770000>;
112 reg = <0x7e0000 0x010000>;
116 ART: partition@7f0000 {
118 reg = <0x7f0000 0x010000>;
128 phy0: ethernet-phy@0 {
132 qca,ar8327-initvals = <
133 0x04 0x00000080 /* PORT0 PAD MODE CTRL */
134 0x50 0xcf37cf37 /* LED_CTRL0 */
135 0x54 0x00000000 /* LED_CTRL1 */
136 0x58 0x00000000 /* LED_CTRL2 */
137 0x5c 0x03ffff00 /* LED_CTRL3 */
138 0x7c 0x0000007e /* PORT0_STATUS */
146 mtd-mac-address = <&ART 0x1002>;
147 mtd-mac-address-increment = <(-1)>;
149 phy-handle = <&phy0>;
158 mtd-cal-data = <&ART 0x1000>;