1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca9556_avm_fritz-repeater.dtsi"
6 compatible = "avm,fritzdvbc", "qca,qca9556";
7 model = "AVM FRITZ!WLAN Repeater DVB-C";
10 led-boot = &led_power;
11 led-failsafe = &led_power;
12 led-running = &led_power;
13 led-upgrade = &led_power;
17 compatible = "spi-gpio";
21 sck-gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
22 mosi-gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
23 num-chipselects = <0>;
25 spi_gpio: led_gpio@0 {
26 compatible = "fairchild,74hc595";
30 registers-number = <2>;
31 spi-max-frequency = <10000000>;
35 gpios = <16 GPIO_ACTIVE_HIGH>;
37 line-name = "gpio-latch-bit";
43 * GPIO pins 100 or greater in the vendor GPL dump are redirected
44 * to the shift register.
45 * So OEM source pin 100 becomes 0 on the SR and so forth.
48 compatible = "gpio-leds";
51 label = "green:power";
52 gpios = <&spi_gpio 6 GPIO_ACTIVE_LOW>;
57 gpios = <&spi_gpio 7 GPIO_ACTIVE_LOW>;
58 linux,default-trigger = "phy1tpt";
63 gpios = <&spi_gpio 5 GPIO_ACTIVE_LOW>;
67 label = "green:rssihigh";
68 gpios = <&spi_gpio 1 GPIO_ACTIVE_LOW>;
72 label = "green:rssimediumhigh";
73 gpios = <&spi_gpio 2 GPIO_ACTIVE_LOW>;
77 label = "green:rssimedium";
78 gpios = <&spi_gpio 3 GPIO_ACTIVE_LOW>;
82 label = "green:rssimediumlow";
83 gpios = <&spi_gpio 4 GPIO_ACTIVE_LOW>;
87 label = "green:rssilow";
88 gpios = <&spi_gpio 0 GPIO_ACTIVE_LOW>;
100 gpios = <109 GPIO_ACTIVE_HIGH>;
102 line-name = "PCIE EP reset";
107 gpios = <110 GPIO_ACTIVE_HIGH>;
109 line-name = "PCIE Bus reset";