1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca956x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 label-mac-device = ð0;
11 led-boot = &led_system;
12 led-failsafe = &led_system;
13 led-running = &led_system;
14 led-upgrade = &led_system;
18 compatible = "gpio-keys";
22 linux,code = <KEY_RESTART>;
23 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
24 debounce-interval = <60>;
29 compatible = "gpio-leds";
32 label = "green:system";
33 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
39 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
40 trigger-sources = <&hub_port0>;
41 linux,default-trigger = "usbport";
45 label = "green:wlan2g";
46 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
47 linux,default-trigger = "phy1tpt";
60 compatible = "jedec,spi-nor";
62 spi-max-frequency = <25000000>;
64 partitions: partitions {
65 compatible = "fixed-partitions";
71 reg = <0x000000 0x040000>;
77 reg = <0x040000 0x010000>;
81 pridata: partition@50000 {
83 reg = <0x050000 0x010000>;
87 compatible = "fixed-layout";
91 macaddr_pridata_400: macaddr@400 {
97 art: partition@60000 {
99 reg = <0x060000 0x010000>;
109 phy0: ethernet-phy@0 {
112 qca,mib-poll-interval = <500>;
114 qca,ar8327-initvals = <
115 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
116 0x7c 0x0000007e /* PORT0_STATUS */
124 pll-data = <0x03000101 0x00000101 0x00001919>;
127 phy-handle = <&phy0>;
129 nvmem-cells = <&macaddr_pridata_400>;
130 nvmem-cell-names = "mac-address";
152 mtd-cal-data = <&art 0x1000>;