1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca955x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "buffalo,bhr-4grv2", "qca,qca9557";
10 model = "Buffalo BHR-4GRV2";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-leds";
23 label = "bhr-4grv2:green:power";
24 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
29 label = "bhr-4grv2:orange:diag";
30 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
34 label = "bhr-4grv2:orange:vpn";
35 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
39 label = "bhr-4grv2:green:vpn";
40 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
45 compatible = "gpio-keys";
49 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_RESTART>;
51 debounce-interval = <60>;
56 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
58 linux,input-type = <EV_SW>;
59 debounce-interval = <60>;
70 compatible = "jedec,spi-nor";
72 spi-max-frequency = <25000000>;
75 compatible = "fixed-partitions";
81 reg = <0x000000 0x040000>;
87 reg = <0x040000 0x010000>;
91 compatible = "denx,uimage";
93 reg = <0x050000 0xfa0000>;
96 art: partition@ff0000 {
98 reg = <0xff0000 0x010000>;
108 phy0: ethernet-phy@0 {
111 qca,ar8327-initvals = <
112 0x04 0x80080080 /* PORT0 PAD MODE CTRL */
113 0x0c 0x07600000 /* PORT6 PAD MODE CTRL */
114 0x7c 0x0000007e /* PORT0_STATUS */
115 0x94 0x0000007e /* PORT6 STATUS */
123 mtd-mac-address = <&art 0x0>;
124 phy-handle = <&phy0>;
125 pll-data = <0x56000000 0x00000101 0x00001616>;
131 mtd-mac-address = <&art 0x6>;
132 pll-data = <0x03000101 0x00000101 0x00001616>;