1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca953x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "alcatel,hh40v", "qca,qca9531";
10 model = "Alcatel HH40V";
13 label-mac-device = &wmac;
14 led-boot = &led_lan_link;
15 led-failsafe = &led_lan_link;
16 led-upgrade = &led_lan_link;
20 compatible = "gpio-keys";
24 linux,code = <KEY_RESTART>;
25 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_WPS_BUTTON>;
31 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
37 compatible = "gpio-leds";
39 pinctrl-names = "default";
40 pinctrl-0 = <&jtag_disable_pins>;
44 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
47 led_lan_link: lan_link {
49 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
54 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
59 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
64 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
65 linux,default-trigger = "phy0tpt";
83 /* Winbond W25Q256 SPI flash */
85 compatible = "jedec,spi-nor";
87 spi-max-frequency = <25000000>;
90 compatible = "fixed-partitions";
96 reg = <0x000000 0x040000>;
101 label = "u-boot-env";
102 reg = <0x040000 0x010000>;
107 reg = <0x050000 0x100000>;
112 compatible = "denx,uimage";
114 reg = <0x150000 0xea0000>;
117 art: partition@ff0000 {
119 reg = <0xff0000 0x010000>;
123 compatible = "fixed-layout";
124 #address-cells = <1>;
127 cal_art_1000: cal@1000 {
128 reg = <0x1000 0x440>;
131 macaddr_art_0: macaddr@0 {
135 macaddr_art_6: macaddr@6 {
139 macaddr_art_1002: macaddr@1002 {
156 nvmem-cells = <&macaddr_art_0>;
157 nvmem-cell-names = "mac-address";
159 phy-handle = <&swphy4>;
163 compatible = "qca,qca9530-eth", "syscon", "simple-mfd";
165 nvmem-cells = <&macaddr_art_6>;
166 nvmem-cell-names = "mac-address";
172 nvmem-cells = <&cal_art_1000>, <&macaddr_art_1002>;
173 nvmem-cell-names = "calibration", "mac-address";