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 model = "jjPlus JA76PF2";
11 compatible = "jjplus,ja76pf2", "qca,ar7161";
14 device_type = "memory";
15 reg = <0x0 0x4000000>;
19 bootargs = "console=ttyS0,115200n8";
30 compatible = "fixed-clock";
32 clock-output-names = "ref";
33 clock-frequency = <40000000>;
37 compatible = "gpio-leds";
40 label = "ja76pf2:green:d2";
41 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
45 label = "ja76pf2:green:d3";
46 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
50 label = "ja76pf2:green:d4";
51 gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
56 compatible = "gpio-keys-polled";
61 linux,code = <KEY_RESTART>;
62 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
63 debounce-interval = <60>;
68 linux,code = <KEY_WPS_BUTTON>;
69 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
70 debounce-interval = <60>;
80 phy0: ethernet-phy@0 {
85 phy4: ethernet-phy@4 {
100 phy-handle = <&phy4>;
112 compatible = "jedec,spi-nor";
114 spi-max-frequency = <104000000>;
117 #address-cells = <1>;
119 compatible = "ecoscentric,redboot-fis-partitions";