1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca9531_alfa-network_r36a.dtsi"
6 model = "ALFA Network N2Q";
7 compatible = "alfa-network,n2q", "qca,qca9531";
11 led-failsafe = &led_usb;
12 led-upgrade = &led_usb;
16 compatible = "gpio-export";
20 gpio-export,name = "poe-passthrough";
21 gpio-export,output = <1>;
22 gpios = <&pcf8574 0 GPIO_ACTIVE_LOW>;
26 gpio-export,name = "usb-power";
27 gpio-export,output = <0>;
28 gpios = <&pcf8574 2 GPIO_ACTIVE_LOW>;
33 compatible = "i2c-gpio";
37 sda-gpios = <&gpio 11 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
38 scl-gpios = <&gpio 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
41 compatible = "nxp,pcf8574";
49 compatible = "gpio-leds";
51 pinctrl-names = "default";
52 pinctrl-0 = <&enable_gpio4 &enable_gpio16>;
55 label = "orange:lan1";
56 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
60 label = "orange:lan2";
61 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
66 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
67 linux,default-trigger = "usbport";
68 trigger-sources = <&hub_port0>;
72 label = "green:minipcie";
73 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
78 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
79 linux,default-trigger = "phy0tpt";
84 compatible = "gpio-leds";
87 label = "green:poe-passthrough";
88 gpios = <&pcf8574 1 GPIO_ACTIVE_LOW>;
92 label = "red:signal1";
93 gpios = <&pcf8574 3 GPIO_ACTIVE_LOW>;
97 label = "orange:signal2";
98 gpios = <&pcf8574 4 GPIO_ACTIVE_LOW>;
102 label = "green:signal3";
103 gpios = <&pcf8574 5 GPIO_ACTIVE_LOW>;
109 nvmem-cells = <&macaddr_art_1002 (-2)>;
110 nvmem-cell-names = "mac-address";
114 nvmem-cells = <&macaddr_art_1002 (-1)>;
115 nvmem-cell-names = "mac-address";