1 // SPDX-License-Identifier: GPL-2.0-only
3 * Device Tree file for Ubiquiti Nanobeam NBE-5AC-19 (XC)
5 * Copyright (C) 2022 Daniel González Cabanelas <dgcbueu@gmail.com>
6 * based on device tree from qca9558_ubnt_powerbeam-5ac-500.dts
9 #include "qca955x_ubnt_xc.dtsi"
12 compatible = "ubnt,nanobeam-ac-xc", "ubnt,xc", "qca,qca9558";
13 model = "Ubiquiti NanoBeam AC Gen1 (XC)";
16 led-boot = &led_power;
17 led-failsafe = &led_power;
18 led-running = &led_power;
19 led-upgrade = &led_power;
23 compatible = "gpio-keys";
26 label = "Reset button";
27 linux,code = <KEY_RESTART>;
28 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
29 debounce-interval = <60>;
34 compatible = "spi-gpio";
38 sck-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
39 mosi-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
40 cs-gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
41 num-chipselects = <1>;
43 led_gpio: led_gpio@0 {
44 compatible = "fairchild,74hc595";
48 registers-number = <1>;
49 spi-max-frequency = <10000000>;
50 enable-gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
55 compatible = "gpio-leds";
59 gpios = <&led_gpio 0 GPIO_ACTIVE_LOW>;
63 gpios = <&led_gpio 1 GPIO_ACTIVE_LOW>;
67 gpios = <&led_gpio 2 GPIO_ACTIVE_LOW>;
71 gpios = <&led_gpio 3 GPIO_ACTIVE_LOW>;
75 gpios = <&led_gpio 4 GPIO_ACTIVE_LOW>;
84 phy4: ethernet-phy@4 {
87 at803x-override-sgmii-link-check;
95 pll-data = <0x03000000 0x00000101 0x00001313>;
96 nvmem-cells = <&macaddr_art_0>;
97 nvmem-cell-names = "mac-address";