1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/mtd/partitions/uimage.h>
10 model = "jjPlus JA76PF2";
11 compatible = "jjplus,ja76pf2", "qca,ar7161";
14 device_type = "memory";
15 reg = <0x0 0x4000000>;
19 bootargs = "console=ttyS0,115200n8";
24 led-failsafe = &led_d2;
25 led-running = &led_d2;
26 led-upgrade = &led_d2;
30 compatible = "i2c-gpio";
31 sda-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
32 scl-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
37 compatible = "microchip,tcn75";
43 compatible = "gpio-leds";
47 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
52 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
57 gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
62 compatible = "gpio-keys";
66 linux,code = <KEY_RESTART>;
67 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
68 debounce-interval = <60>;
73 linux,code = <KEY_WPS_BUTTON>;
74 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
75 debounce-interval = <60>;
83 phy0: ethernet-phy@0 {
88 phy4: ethernet-phy@4 {
97 nvmem-cells = <&macaddr_lan>;
98 nvmem-cell-names = "mac-address";
105 nvmem-cells = <&macaddr_wan>;
106 nvmem-cell-names = "mac-address";
107 phy-handle = <&phy4>;
118 compatible = "jedec,spi-nor";
120 spi-max-frequency = <25000000>;
123 compatible = "fixed-partitions";
124 #address-cells = <1>;
129 reg = <0x000000 0x040000>;
135 reg = <0x040000 0x020000>;
140 reg = <0x060000 0xf80000>;
141 compatible = "openwrt,uimage", "denx,uimage";
142 openwrt,ih-magic = <IH_MAGIC_OKLI>;
146 label = "FIS directory";
147 reg = <0xfe0000 0x00f000>;
152 label = "RedBoot config";
153 reg = <0xfef000 0x001000>;
158 label = "Atheros Board Data";
159 reg = <0xff0000 0x10000>;
163 compatible = "fixed-layout";
164 #address-cells = <1>;
167 macaddr_wan: macaddr@1000 {
171 macaddr_lan: macaddr@1006 {