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 "qca9557.dtsi"
10 compatible = "buffalo,bhr-4grv2", "qca,qca9557";
11 model = "Buffalo BHR-4GRV2";
15 led-failsafe = &power;
21 bootargs = "console=ttyS0,115200n8";
25 compatible = "gpio-leds";
28 label = "bhr-4grv2:green:power";
29 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
34 label = "bhr-4grv2:orange:diag";
35 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
36 default-state = "off";
40 label = "bhr-4grv2:orange:vpn";
41 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
42 default-state = "off";
46 label = "bhr-4grv2:green:vpn";
47 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
48 default-state = "off";
53 compatible = "gpio-keys-polled";
58 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_RESTART>;
60 debounce-interval = <60>;
65 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
67 linux,input-type = <EV_SW>;
68 debounce-interval = <60>;
78 compatible = "jedec,spi-nor";
80 spi-max-frequency = <25000000>;
83 compatible = "fixed-partitions";
89 reg = <0x000000 0x040000>;
95 reg = <0x040000 0x010000>;
99 compatible = "denx,uimage";
101 reg = <0x050000 0xfa0000>;
104 art: partition@ff0000 {
106 reg = <0xff0000 0x010000>;
116 phy0: ethernet-phy@0 {
119 qca,ar8327-initvals = <
120 0x04 0x80080080 /* PORT0 PAD MODE CTRL */
121 0x0c 0x07600000 /* PORT6 PAD MODE CTRL */
122 0x7c 0x0000007e /* PORT0_STATUS */
123 0x94 0x0000007e /* PORT6 STATUS */
131 mtd-mac-address = <&art 0x0>;
132 phy-handle = <&phy0>;
133 pll-data = <0x56000000 0x00000101 0x00001616>;
139 mtd-mac-address = <&art 0x6>;
140 pll-data = <0x03000101 0x00000101 0x00001616>;