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 "qca955x.dtsi"
10 compatible = "buffalo,bhr-4grv2", "qca,qca9557";
11 model = "Buffalo BHR-4GRV2";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
21 compatible = "gpio-leds";
24 label = "bhr-4grv2:green:power";
25 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
30 label = "bhr-4grv2:orange:diag";
31 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
35 label = "bhr-4grv2:orange:vpn";
36 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
40 label = "bhr-4grv2:green:vpn";
41 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
46 compatible = "gpio-keys";
50 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RESTART>;
52 debounce-interval = <60>;
57 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
59 linux,input-type = <EV_SW>;
60 debounce-interval = <60>;
71 compatible = "jedec,spi-nor";
73 spi-max-frequency = <25000000>;
76 compatible = "fixed-partitions";
82 reg = <0x000000 0x040000>;
88 reg = <0x040000 0x010000>;
92 compatible = "denx,uimage";
94 reg = <0x050000 0xfa0000>;
97 art: partition@ff0000 {
99 reg = <0xff0000 0x010000>;
109 phy0: ethernet-phy@0 {
112 qca,ar8327-initvals = <
113 0x04 0x80080080 /* PORT0 PAD MODE CTRL */
114 0x0c 0x07600000 /* PORT6 PAD MODE CTRL */
115 0x7c 0x0000007e /* PORT0_STATUS */
116 0x94 0x0000007e /* PORT6 STATUS */
124 mtd-mac-address = <&art 0x0>;
125 phy-handle = <&phy0>;
126 pll-data = <0x56000000 0x00000101 0x00001616>;
132 mtd-mac-address = <&art 0x6>;
133 pll-data = <0x03000101 0x00000101 0x00001616>;