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 = "fixed-clock";
32 clock-output-names = "ref";
33 clock-frequency = <40000000>;
37 compatible = "i2c-gpio";
38 sda-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
39 scl-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
44 compatible = "microchip,tcn75";
50 compatible = "gpio-leds";
54 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
59 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
64 gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
69 compatible = "gpio-keys";
73 linux,code = <KEY_RESTART>;
74 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
75 debounce-interval = <60>;
80 linux,code = <KEY_WPS_BUTTON>;
81 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
82 debounce-interval = <60>;
90 phy0: ethernet-phy@0 {
95 phy4: ethernet-phy@4 {
104 nvmem-cells = <&macaddr_lan>;
105 nvmem-cell-names = "mac-address";
106 phy-handle = <&phy0>;
112 nvmem-cells = <&macaddr_wan>;
113 nvmem-cell-names = "mac-address";
114 phy-handle = <&phy4>;
125 compatible = "jedec,spi-nor";
127 spi-max-frequency = <25000000>;
130 compatible = "fixed-partitions";
131 #address-cells = <1>;
136 reg = <0x000000 0x040000>;
142 reg = <0x040000 0x020000>;
147 reg = <0x060000 0xf80000>;
148 compatible = "openwrt,uimage", "denx,uimage";
149 openwrt,ih-magic = <IH_MAGIC_OKLI>;
153 label = "FIS directory";
154 reg = <0xfe0000 0x00f000>;
159 label = "RedBoot config";
160 reg = <0xfef000 0x001000>;
165 label = "Atheros Board Data";
166 reg = <0xff0000 0x10000>;
168 compatible = "nvmem-cells";
169 #address-cells = <1>;
172 macaddr_wan: macaddr@1000 {
176 macaddr_lan: macaddr@1006 {