1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca955x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "aruba,ap-115", "qca,qca9558";
10 model = "Aruba AP-115";
13 led-boot = &led_power_green;
14 led-failsafe = &led_power_red;
15 led-running = &led_power_green;
16 led-upgrade = &led_power_red;
17 label-mac-device = ð0;
21 bootargs = "console=ttyS0,9600n8";
25 * Currently unused GPIOs in OpenWrt:
29 * ETH-PHY-Interrupt: 11
32 * Power-PoE-8023af: 17
36 compatible = "gpio-leds";
38 led_power_green: power-green {
39 label = "green:power";
40 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
43 led_power_red: power-red {
45 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
49 label = "green:radio-24";
50 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
51 linux,default-trigger = "phy0tpt";
55 label = "amber:radio-24";
56 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
60 label = "green:radio-5";
61 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
62 linux,default-trigger = "phy1tpt";
66 label = "amber:radio-5";
67 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
72 compatible = "gpio-keys";
76 linux,code = <KEY_RESTART>;
77 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
82 compatible = "regulator-fixed";
83 regulator-name = "usb_vbus";
84 regulator-min-microvolt = <5000000>;
85 regulator-max-microvolt = <5000000>;
86 gpio = <&gpio 3 GPIO_ACTIVE_HIGH>;
96 compatible = "pci168c,0033";
97 reg = <0x0000 0 0 0 0>;
100 nvmem-cells = <&macaddr_oemdata_1d>;
101 nvmem-cell-names = "mac-address";
103 mac-address-increment = <1>;
111 * GPIO05: Bank1-CS / Bank2-CLK
112 * GPIO14: Bank1-CLK / Bank2-CS
114 * We can not support this with OpenWrt, as this
115 * would require us to influence the pinmux based on the CS.
117 * We force-select Bank 1. Remember to blame Aruba for that.
119 cs0_pin5: spi-cs0-pin5 {
120 pinctrl-single,bits = <0x4 0x900 0xff00>;
123 clk_pin14: spi-cs1-pin14 {
124 pinctrl-single,bits = <0xc 0x0a0000 0xff0000>;
129 pinctrl-names = "default";
130 pinctrl-0 = <&cs0_pin5 &clk_pin14>;
134 compatible = "jedec,spi-nor";
136 spi-max-frequency = <25000000>;
139 compatible = "fixed-partitions";
140 #address-cells = <1>;
144 label = "flash-full";
145 reg = <0x0 0x1000000>;
151 reg = <0x000000 0x040000>;
155 /* Here be dragons */
158 compatible = "denx,uimage";
160 reg = <0x100000 0xe00000>;
163 oemdata: partition@fe0000 {
165 reg = <0xfe0000 0x010000>;
170 label = "u-boot-env";
171 reg = <0xff0000 0x10000>;
181 nvmem-cells = <&macaddr_oemdata_1d>;
182 nvmem-cell-names = "mac-address";
188 phy0: ethernet-phy@0 {
191 reset-gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
192 reset-assert-us = <10000>;
193 reset-deassert-us = <10000>;
203 nvmem-cells = <&macaddr_oemdata_1d>;
204 nvmem-cell-names = "mac-address";
206 phy-handle = <&phy0>;
207 phy-mode = "rgmii-id";
209 pll-data = <0xa6000000 0xa0000101 0xa0001313>;
223 compatible = "nvmem-cells";
224 #address-cells = <1>;
227 macaddr_oemdata_1d: macaddr@1d {